moved to nicer name, or so we think.
authorChris Koeritz <fred@gruntose.com>
Thu, 18 Apr 2013 00:15:55 +0000 (20:15 -0400)
committerChris Koeritz <fred@gruntose.com>
Thu, 18 Apr 2013 00:15:55 +0000 (20:15 -0400)
scripts/processes/show_hot_ones.sh [new file with mode: 0644]
scripts/processes/show_hot_processes.sh [deleted file]

diff --git a/scripts/processes/show_hot_ones.sh b/scripts/processes/show_hot_ones.sh
new file mode 100644 (file)
index 0000000..2e1fac6
--- /dev/null
@@ -0,0 +1,11 @@
+#!/bin/bash
+
+# shows the current processes ordered by cpu usage.
+
+# generate a nice separator.
+for ((i=0; i<14; i++)); do line+='='; done
+
+echo $line
+echo "Process list by CPU usage for $(date)"
+ps wuax --sort -%cpu | head -n 8
+echo $line
diff --git a/scripts/processes/show_hot_processes.sh b/scripts/processes/show_hot_processes.sh
deleted file mode 100644 (file)
index e9f0388..0000000
+++ /dev/null
@@ -1,11 +0,0 @@
-#!/bin/bash
-
-# shows the current processes ordered by cpu usage.
-
-# generate a nice separator.
-for ((i=0; i<14; i++)); do line+='='; done
-
-echo $line
-echo "Process list by CPU usage for $(date)"
-ps wuax --sort -%cpu  
-echo $line