Jeremy C. Reed wrote:
procps top(1) used on Linux can show individual CPUs like:
Tasks: 74 total, 3 running, 71 sleeping, 0 stopped, 0 zombie
Cpu0 : 95.5% user, 4.2% system, 0.0% nice, 0.3% idle, 0.0%
IO-wait
Cpu1 : 95.5% user, 3.2% system, 0.0% nice, 1.3% idle, 0.
Matthew Dillon wrote:
The statistics are collected by statclock(), which is run from a
systimer on each cpu
The data is available on a per-cpu basis via the cputime_percpu[]
array and a sysctl aggregates it all together. It would not be
difficult to add a sysctl that return
:procps top(1) used on Linux can show individual CPUs like:
:
:Tasks: 74 total, 3 running, 71 sleeping, 0 stopped, 0 zombie
: Cpu0 : 95.5% user, 4.2% system, 0.0% nice, 0.3% idle, 0.0% IO-wait
: Cpu1 : 95.5% user, 3.2% system, 0.0% nice, 1.3% idle, 0.0% IO-wait
:
:I d
procps top(1) used on Linux can show individual CPUs like:
Tasks: 74 total, 3 running, 71 sleeping, 0 stopped, 0 zombie
Cpu0 : 95.5% user, 4.2% system, 0.0% nice, 0.3% idle, 0.0% IO-wait
Cpu1 : 95.5% user, 3.2% system, 0.0% nice, 1.3% idle, 0.0% IO-wait
I didn't see