Page 1 of 1

CPU Utilization

Posted: Thu Apr 22, 2010 5:24 am
by grogi
If I type top in the console, I get a CPU usage ~50% (~46% sys, 2% nice, 2% user).

The Gargoyle GUI only shows 0-2% CPU utilization in last minutes (1/5/15). Does it only count the user processes? If so, this does not make much sense, because all connection tracking happens in the kernel.
---
Edit: found it...

The CPU Load Averages shows not the CPU Utilization in 0-100%, but the average length of the queue of processes waiting for execution...

Re: CPU Utilization

Posted: Sat Apr 24, 2010 9:25 am
by pbix
Gargoyle reports the contents of /proc/loadavg in the display you reference. Myself I am not sure of the precise meaning of this standard Linux file relative to the 'top' utility.

Since this is a Linux issue and not a Gargoyle issue you will have to research the difference between these two using Linux sources.

Re: CPU Utilization

Posted: Tue Apr 27, 2010 5:19 pm
by grogi
I have added the brief CPU Utilization monitor to the overview screen. It uses Ajax to dynamically update the current load.

I could supply the patch... If you want it of course :-) In what format?

Re: CPU Utilization

Posted: Tue Apr 27, 2010 5:22 pm
by Eric
Can you please send a diff to eric@gargoyle-router.com ?

Thanks!