How can I cheack CPU load on LINUX like "Windows Task manager" on Windows?. Windows task manager shows CPU load (percentage) and etc, any tool in LINux?. I know "top" command which shows which process running at highest priority right?. thanks.
How can I cheack CPU load on LINUX like "Windows Task manager" on Windows?
Collapse
X
-
Apart from top, there's 'ps -aux', htop, gnome system monitor, conky,KDE system guard, ktask for KDE, atop, gkrellm etc.
To see running processes and kill them etc, use ps, kill, killall, pkill etc.
'top' is nice too.
I also like conky. In conky.conf, you can always add lines something like:
Code:${color grey}CPU Usage:$color $cpu% ${cpubar 4} -
I agree with Amber....top is excellent to see this. The top of the output gives you something like this:
Regards,Code:top - 12:07:13 up 2:29, 2 users, load average: 0.62, 0.40, 0.21 Tasks: 134 total, 2 running, 132 sleeping, 0 stopped, 0 zombie Cpu(s): 12.3%us, 3.3%sy, 0.0%ni, 84.1%id, 0.3%wa, 0.0%hi, 0.0%si, 0.0%st Mem: 1026428k total, 902172k used, 124256k free, 92464k buffers Swap: 996020k total, 0k used, 996020k free, 452440k cached
JeffComment
-
As far as I know, if ps -aux says 0.0, then CPU utilization should be zero. Let's see what other experts have to say about this.
Moreover, there are many different variants of ps out there. The BSD variant on my system has some notable points:
So look at your system's manpage of ps for more info.Code:..... CPU time: includes both user and system time ........... .......... keywords: .......... %cpu Alias: pcpu. The CPU utilization of the process; this is a decaying average over up to a minute of previous (real) time. Since the time base over which this is computed varies (since processes may be very young) it is possible for the sum of all %cpu fields to exceed 100%. ..........Comment
Comment