Seeing processors induvidually on an SMP system dmesg

Siju George sgeorge.ml at gmail.com
Tue Aug 23 23:19:51 PDT 2011


On Wed, Aug 24, 2011 at 11:25 AM, Peter Avalos <peter at theshell.com> wrote:
> On Wed, Aug 24, 2011 at 10:15:25AM +0530, Siju George wrote:
>> On Tue, Aug 23, 2011 at 7:27 PM, Sascha Wildner <saw at online.de> wrote:
>> >
>> > What does 'sysctl hw.ncpu' say?
>> >
>>
>> blk-build# sysctl hw.ncpu
>> hw.ncpu: 4
>>
>
> Try top -M.
>

Yes it works  :-)

load averages:  0.54,  0.57,  0.41;               up 0+01:56:36

  06:15:39
52 processes: 1 running, 51 active, 1 zombie
CPU states:  1.5% user,  0.0% nice,  9.0% system,  0.8% interrupt, 88.7% idle
CPU states:  2.3% user,  0.0% nice, 14.0% system,  0.0% interrupt, 83.7% idle
CPU states:  2.3% user,  0.0% nice, 10.1% system,  0.0% interrupt, 87.6% idle
CPU states:  9.3% user,  0.0% nice,  8.6% system,  0.0% interrupt, 82.1% idle
Memory: 1115M Active, 1644M Inact, 959M Wired, 145M Cache, 407M Buf, 48M Free
Swap: 64G Total, 832K Used, 64G Free

What about the dmesg?

Thanks

--Siju





More information about the Users mailing list