On Mon, 2006-03-27 at 23:22 -0600, K. Shantanu wrote:
> * Thaths <[EMAIL PROTECTED]> [060327 23:20]:
> > On 3/27/06, K. Shantanu <[EMAIL PROTECTED]> wrote:
> > > Is there any application which will allow me to execute any script (or 
> > > program) once the
> > > load average goes over say 10.0 and again run it say once it drops back  
> > > to say 5.0?
> > 
> > Nagios: http://www.nagios.org/ ?
> 
> I think it will be an overkill for the same.
> I am looking for something simpler.

You may have to roll your own script using top, grep, sed etc. and
invoking it thru cron.  If you know PERL, you could write a daemon that
polls the load average at regular intervals.
-- 
Arun Khan
Linux is like a wigwam - no gates, no windows, apache inside



-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
linux-india-help mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-india-help

Reply via email to