--- /dev/null
+
+SHELL=/bin/bash
+
+# m h dom mon dow command
+
+USER=fred
+
+# a crontab for periodically dumping the process state.
+* * * * * (source $HOME/feisty_meow/scripts/core/launch_feisty_meow.sh; bash $HOME/feisty_meow/scripts/processes/show_hot_ones.sh) &>>/home/$USER/zz_hot_processes.log
+
+
# iterate over the list of files and dump them to standard output.
-foreach $filename (&glob_list(@ARGV)) {
+foreach $filename (sort &glob_list(@ARGV)) {
&do_dump($filename);
}
--- /dev/null
+#!/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