[hobbit] TOP & Memory Test

Jones, Jason (Altrincham) JasonAS_Jones at mentor.com
Thu Jan 25 10:14:23 CET 2007


Could it also be possible to alert on zombie processes? Just a thought.

-----Original Message-----
From: Henrik Stoerner [mailto:henrik at hswn.dk] 
Sent: 24 January 2007 22:28
To: hobbit at hswn.dk
Subject: Re: [hobbit] TOP & Memory Test

On Tue, Jan 23, 2007 at 02:09:55PM -0600, James Wade wrote:
> When you look at the cpu test, it shows top output
> for the processes taking up the most cpu.
> 
> Can the same be done for the Memory Test, but
> showing top information of the processes taking
> up the most memory?

I think it's a great idea. It would take some coding in the memory
handling module, but the hobbit clients do report enough data from most
Unix systems that it should be possible to parse out the memory 
utilisation and generate a listing like the "top" display on the cpu 
column.

A quick grep on the hobbitclient-*.sh scripts indicate that we do get
the "%memory" used from AIX, Darwin, FreeBSD, Linux, NetBSD, OpenBSD and
SunOS/Solaris, but not from HP-UX, Irix, OSF/1 and SCO. 

When we have this info, we should also make it possible to trigger
alerts for processes that gobble up too much memory, or too much CPU
time. So I would probably use this as an opportunity to actually grab
some more info from the "ps" listing than what we do today, and hook up
a couple of new threshold settings for it. I've already had requests for
this type of alerting.

Tracking CPU/Memory utilisation by process in a graph would probably
also be interesting in some cases (eg to see when processes are leaking
memory).


Henrik


To unsubscribe from the hobbit list, send an e-mail to
hobbit-unsubscribe at hswn.dk





More information about the Xymon mailing list