simple script that maybe will become useful in tracking down why some boots of a...
authorChris Koeritz <fred@gruntose.com>
Mon, 2 Feb 2015 02:53:59 +0000 (21:53 -0500)
committerChris Koeritz <fred@gruntose.com>
Mon, 2 Feb 2015 02:53:59 +0000 (21:53 -0500)
scripts/system/show_diagnostics.sh [new file with mode: 0644]

diff --git a/scripts/system/show_diagnostics.sh b/scripts/system/show_diagnostics.sh
new file mode 100644 (file)
index 0000000..0eee3b7
--- /dev/null
@@ -0,0 +1,29 @@
+#!/bin/bash
+
+source "$FEISTY_MEOW_SCRIPTS/core/functions.sh"
+
+echo '=============='
+echo $(date_stringer | sed -e 's/_/ /g' | sed -e 's/\([0-9][0-9]\) \([0-9][0-9]\)$/:\1:\2/')
+echo '=============='
+echo
+echo "Simple iostat:"
+echo
+iostat
+echo
+echo '=============='
+echo
+echo "Simple mpstat:"
+echo
+mpstat
+echo
+echo '=============='
+echo
+echo "Simple vmstat:"
+echo
+vmstat
+echo
+echo '=============='
+echo
+echo '=============='
+echo
+