Hello Martin,

Monday, 20 May 2002, you wrote:

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

MM> Perhaps something like:

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

Ta very much.  Something remarkably similar to above has been cronned
on the server for every minute of the day!

Now lets see what the culprit is...

 Mark

--------------------------------------------------------------------
http://www.lug.org.uk                   http://www.linuxportal.co.uk
http://www.linuxjob.co.uk               http://www.linuxshop.co.uk
--------------------------------------------------------------------

Reply via email to