minor tweaks.
[feisty_meow.git] / scripts / processes / show_hot_ones.sh
1 #!/bin/bash
2
3 # shows the current processes ordered by cpu usage.
4
5 # generate a nice separator.
6 for ((i=0; i<14; i++)); do line+='='; done
7
8 echo $line
9 echo "Process list by CPU usage for $(date)"
10 ps wuax --sort -%cpu | head -n 8
11 echo $line