Load script

[root@root ~]# cat scripts/minutely.sh

mailto=tom@tom.co.za

if [ `cat /proc/loadavg | cut -f1 -d.` -ge 2 ]

then

top -b -n1 | mutt -s "loadavg high on `hostname -s`" $mailto

fi

[root@root ~]# crontab -l

MAILTO=tom@tom.co.za

* * * * * ~/scripts/minutely.sh