Re: monitoring load average
On Wed, Jan 08, 2003 at 08:45:58AM +0100, Javier wrote:
> I think that "vmstat 5 2" and getting the last line could give you a
> good result.
BTW: I started to keep a
vmstat 5 | logger -t vmstat:
while true; do ps faxu|logger -t ps: ; sleep 15; done
running and log the output with everything else to a seperate host who
has logcheck and some other monitoring stuff installed.
The ps line is quite interesting if the server crashes, if e.g. a server
starts eating up all memory no minutely (cron granularity) run check is
able to detect it.
Christian Hammers WESTEND GmbH - Aachen und Dueren Tel 0241/701333-0
firstname.lastname@example.org Internet & Security for Professionals Fax 0241/911879
WESTEND ist CISCO Systems Partner - Authorized Reseller