> *thinks*
> cron script running every minute that mails me output of top if load avg > 10

Perhaps something like:

[ `cut -d '.' -f 1 </proc/loadavg` -ge 10 ] && top -n 1 -b | mail -s 'High load' 
me@here

M
-- 
Martin McCarthy                 /</                  PGP key available
[EMAIL PROTECTED]    \>\  http://www.ancient-scotland.co.uk
                                /</    http://www.ehabitat.demon.co.uk
--------------------------------------------------------------------
http://www.lug.org.uk                   http://www.linuxportal.co.uk
http://www.linuxjob.co.uk               http://www.linuxshop.co.uk
--------------------------------------------------------------------

Reply via email to