[E-devel] Re: cpu usage reporting patch for monitor module

2005-10-18 Thread Martin Geisler
Randy Robertson <[EMAIL PROTECTED]> writes: > I'm somewhat new to this, Me too! :-) > Thus we get, from the kernel (via /proc/stat) something like user > and system for time0, but nice from time1, because this file is > dynamically being modified in the time between some of the values > are read

Re: [E-devel] Re: cpu usage reporting patch for monitor module

2005-10-18 Thread Randy Robertson
I'm somewhat new to this, but my guess would be that the reason this occurs is because we are sampling user system and nice percentages asynchronously.  Thus we get, from the kernel (via /proc/stat) something like user and system for time0, but nice from time1, because this file is dynamically bein

[E-devel] Re: cpu usage reporting patch for monitor module

2005-10-18 Thread Martin Geisler
Randy Robertson <[EMAIL PROTECTED]> writes: > I've been using the monitor module, and annoyingly it reports >100% cpu > usage. Here's a simple patch to hide this. I have just looked at the patch, and as you say it hides the >100% load, but itsn't this an indication of a more fundamental problem?