Re: show individual cpu usage?

2005-12-16 Thread Hiten Pandya
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.

Re: show individual cpu usage?

2005-12-16 Thread Hiten Pandya
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

Re: show individual cpu usage?

2005-12-16 Thread Matthew Dillon
: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

show individual cpu usage?

2005-12-15 Thread Jeremy C. Reed
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