Display CPU usage separately (without root privileges)

Posted by synaptik on Super User See other posts from Super User or by synaptik
Published on 2012-11-07T15:47:24Z Indexed on 2012/11/07 17:04 UTC
Read the original article Hit count: 199

Filed under:
|
|

I need to display the CPU usage for each processing core on a single shared-memory 12-core (SMP) machine. I don't have access to install htop, else I would simply use that. I don't need fancy graphs or meters, though they would be nice.

For example, simply displaying:

X   X   X   X   X   X   X   X   X   X   X   X

where each X is the percentage utilization of 1 of the 12 processing cores on my machine.

FYI: I know I can simply look at the utilization in "top" and divide that number by the number of cores on my machine, but I prefer a solution that shows each core separately.

© Super User or respective owner

Related posts about linux

Related posts about unix