|
From: | Martin Pala |
Subject: | Re: Process Resource Update |
Date: | Wed, 04 Aug 2004 23:06:51 +0200 |
User-agent: | Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.1) Gecko/20040726 Debian/1.7.1-4 |
Christian Hopp wrote:
On Wed, 4 Aug 2004, Christian Hopp wrote:Where ever I can, I can implement a sysdep version where I try to peek the values directly from the system (like /proc/memory for linux).I have done an implementation for LINUX and SOLARIS, all other use the processtree code as a fallback for the total system memory. Christian
I have tested it little bit again, works good :)I have added presentation of the values to the cervlet - see 'System' row in the attached snapshot + extension patch (incremental)
Could be possible to add yet percentage of time spent in 'system' (kernel space)? It seems that current CPU percentage is related to userspace.
Another value which could be useful is number of blocked processes (which usualy means serious i/o problems). loadavg shows runnable (ready) processes already - could be possible to add something like:
loadavg_r[3] (formerly loadavg array) loadavg_b[3] Martin
monit_proc_update_040804_cervlet_extension.diff
Description: application/unknown
[Prev in Thread] | Current Thread | [Next in Thread] |