summaryrefslogtreecommitdiff
path: root/ctdb/tools/ctdb_diagnostics
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2008-10-16 12:58:25 +1100
committerAndrew Tridgell <tridge@samba.org>2008-10-16 12:58:25 +1100
commit371e6aa15511cbc836e2b0c3aff0452b316abffc (patch)
tree63ec8fea33a741aeeae913f8f892f4fe5f35a2f5 /ctdb/tools/ctdb_diagnostics
parentc5edaf7a6ec3afd9ce578521553434ccc1a41241 (diff)
parentf9beb55bf50faeda9a7fc04c43769c109e461986 (diff)
downloadsamba-371e6aa15511cbc836e2b0c3aff0452b316abffc.tar.gz
Merge commit 'ronnie/master'
(This used to be ctdb commit 5403ed6dcfdfc101b05b43f83002e720d81b4e38)
Diffstat (limited to 'ctdb/tools/ctdb_diagnostics')
-rwxr-xr-xctdb/tools/ctdb_diagnostics5
1 files changed, 5 insertions, 0 deletions
diff --git a/ctdb/tools/ctdb_diagnostics b/ctdb/tools/ctdb_diagnostics
index 12ccd091185..8304a68f5f2 100755
--- a/ctdb/tools/ctdb_diagnostics
+++ b/ctdb/tools/ctdb_diagnostics
@@ -93,6 +93,11 @@ show_all "uname -a"
[ -x /bin/rpm ] && {
show_all "rpm -qa | egrep 'samba|ctdb|gpfs'"
}
+[ -x /usr/bin/dpkg-query ] && {
+ show_all "/usr/bin/dpkg-query --show 'ctdb'"
+ show_all "/usr/bin/dpkg-query --show 'samba'"
+ #show_all "/usr/bin/dpkg-query --show 'gpfs'"
+}
cat <<EOF