FYI: A load average watch script.

Hey Guys,

First of all, unsure as to whether this is the most appropriate forum, so moderators, feel free to move it if you think it is more appropriate elsewhere.

For those of you who have multiple servers and like to keep an eye on the load average's I have written a quick script to dump in your crontask.

The 5, 10 and 15 minute load average trip level can be defined as needed. The script will also stop emailing you once all 3 of these levels have been exceeded (starting again after one of the three has dropped below it's limit).

Grab it from: http://www.perlboy.org/quickies/loadcheck.txt

Rename to a .pl (although not neccessary) and have it run by cron at your determined time (I'd probably run it every 3 - 5 minutes personally).

Cheers,

Stuart

 

 

 

 

Top