XP is just a number | |
PerlMonks |
comment on |
( [id://3333]=superdoc: print w/replies, xml ) | Need Help?? |
Correct me if I'm wrong, but shouldn't you be checking $loads[0] rather than $loads[1]? Nothing else immediately stands out as being wrong :-)
HTH, Tim Update: Okay, there are a few other problems. Most of them have been discussed below, so I won't reiterate (or is that preiterate?). Note however that you set $config{alert} but actually check $config{notify}. (Insert usual spiel about use strict here :-P) I also rewrote the /proc/loadavg access thusly: Do all that and it seems to work, on a one check per run basis. In reply to Re: Load Monitor
by tfrayner
|
|