Getting CPU usage
Hi, Does anyone know how to get the CPU usage by the entire system? May be it is written in /proc.
Thanks in advance. |
Try running 'gkrellm'
|
HI,
$> xosview +cpu & This is for RedHat Linux 9 |
I meant a C function or something similar, not a program, because i want to call it in my program. Thanks
|
something like in /proc/loadavg ?
Cheers, Tink |
Thanks, but i mean the percent CPU usage, like top does. The load average is useful too.
|
All times are GMT -5. The time now is 10:32 AM. |