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?
Thanks..James
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
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
I'll second that. In the past a developer mentioned running into a race condition which caused hundreds of zombies. It would be great to have a zombie threshold to catch that before it is out of control.
Jones, Jason (Altrincham) wrote:
Could it also be possible to alert on zombie processes? Just a thought.
On 1/24/07, Henrik Stoerner <henrik at hswn.dk> wrote:
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).
That would be awesome. Almost all our systems are solaris and if there is a quick patch for solaris 7 to solaris 10 for sparc and x86 I would implement it right away
Henrik
To unsubscribe from the hobbit list, send an e-mail to hobbit-unsubscribe at hswn.dk
-- Asif Iqbal PGP Key: 0xE62693C5 KeyServer: pgp.mit.edu
participants (5)
-
henrik@hswn.dk
-
JasonAS_Jones@mentor.com
-
jkwade@futurefrontiers.com
-
johng@idttechnology.com
-
vadud3@gmail.com