diff options
| author | Andrew Tridgell <tridge@samba.org> | 2008-09-17 21:00:04 +1000 |
|---|---|---|
| committer | Andrew Tridgell <tridge@samba.org> | 2008-09-17 21:00:04 +1000 |
| commit | 6cf004e98fda55d1fbb3b5d15ed9ab96cbcc8c6f (patch) | |
| tree | 2ff3584c032d29287b1cd1cb7667c5cac8b97474 /ctdb/tools/ctdb_diagnostics | |
| parent | 3e274e5f8ca92dce368b5e179fd02894ada3bcd4 (diff) | |
| download | samba-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-x | ctdb/tools/ctdb_diagnostics | 11 |
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" |
