summaryrefslogtreecommitdiffstats
path: root/ctdb/tools/ctdb_diagnostics
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2008-09-17 21:00:04 +1000
committerAndrew Tridgell <tridge@samba.org>2008-09-17 21:00:04 +1000
commit6cf004e98fda55d1fbb3b5d15ed9ab96cbcc8c6f (patch)
tree2ff3584c032d29287b1cd1cb7667c5cac8b97474 /ctdb/tools/ctdb_diagnostics
parent3e274e5f8ca92dce368b5e179fd02894ada3bcd4 (diff)
downloadsamba-6cf004e98fda55d1fbb3b5d15ed9ab96cbcc8c6f.tar.gz
samba-6cf004e98fda55d1fbb3b5d15ed9ab96cbcc8c6f.tar.xz
samba-6cf004e98fda55d1fbb3b5d15ed9ab96cbcc8c6f.zip
expanded ctdb_diagnostics based on recent experience
(This used to be ctdb commit a06abf6bff6c4d379453e5063d8de1a6542c982a)
Diffstat (limited to 'ctdb/tools/ctdb_diagnostics')
-rwxr-xr-xctdb/tools/ctdb_diagnostics11
1 files changed, 10 insertions, 1 deletions
diff --git a/ctdb/tools/ctdb_diagnostics b/ctdb/tools/ctdb_diagnostics
index 9cabca1efe..437580f7e0 100755
--- a/ctdb/tools/ctdb_diagnostics
+++ b/ctdb/tools/ctdb_diagnostics
@@ -101,6 +101,7 @@ Showing ctdb status and recent log entries
EOF
show_all "ctdb status; ctdb ip"
show_all "ctdb statistics"
+show_all "ctdb uptime"
echo "Showing log.ctdb"
show_all "tail -100 /var/log/log.ctdb"
@@ -108,6 +109,11 @@ show_all "tail -100 /var/log/log.ctdb"
echo "Showing log.ctdb"
show_all "tail -100 /var/log/log.ctdb"
+show_all "tail -200 /var/log/messages"
+show_all "tail -200 /etc/ctdb/state/vacuum.log"
+show_all "ls -lRs /var/ctdb"
+show_all "ls -lRs /etc/ctdb"
+
cat <<EOF
--------------------------------------------------------------------
@@ -117,13 +123,15 @@ show_all "df"
show_all "df -i"
show_all "mount"
show_all "w"
-show_all "ps axfw"
+show_all "ps axfwu"
show_all "dmesg"
show_all "/sbin/lspci"
+show_all "dmidecode"
show_all "cat /proc/partitions"
show_all "cat /proc/cpuinfo"
show_all "cat /proc/scsi/scsi"
show_all "/sbin/ifconfig -a"
+show_all "/sbin/ifconfig -a"
show_all "/sbin/ip addr list"
show_all "/sbin/route -n"
show_all "netstat -s"
@@ -182,6 +190,7 @@ EOF
show_all "smbstatus -n -B"
show_all "net ads testjoin"
show_all "lsof -n | grep smbd"
+show_all "lsof -n | grep ctdbd"
show_all "netstat -tan"
show_all "net ads info"
show_all "date"