How to find the usage of Individual cpu core usage

How to find the usage of individual cpu core usage in FreeBsd server.

What command is used to find the individual cpu core usage ?
 
Thanks for your valuable replay

But when i executed "top -P" command in my server it shows "illegal option" like that.

Is this only supported in latest version?

My FreeBsd server version is 6.0. Can you Please clarify my doubt?

Thanks,
Maruthu
 
The top(1) and vmstat(8) now support -P flag which displays per-CPU statistics.
this from 7.1 Release Notes. you have to update your system in order to use this.
 
To make top(1) output really useful, consider adding the following to your shell config file:
Code:
[b]csh-based shells:[/b]
setenv TOP -CHP

[b]sh-based shells:[/b]
export TOP="-CHP"

That will start top with -CHP automatically, everytime.

See the man page for a description of what each option does. ;)
 
Hi,

After very long time, my system admin upgrade the freebsd machine to 7.2 Release.

I gave the command top -P in terminal. But it is showing the overall usage only. Not giving the usage of each core.

Is it possible to get the usage of each core using top -P? or

Is any other command is available to get the usage of each core?

~Thanks
 
Did you look at the third and consecutive lines?

top-P.png
 
mk said:
The top(1) and vmstat(8) now support -P flag which displays per-CPU statistics.
this from 7.1 Release Notes. you have to update your system in order to use this.

haha, weird, this has worked on my server for awhile now... Well, as long as I can remember...6 point release was installed in 06 or 07 if I recall correctly. I follow release, not stable.

FreeBSD 6.4-RELEASE-p10

top:
Code:
CPU 0:  0.7% user,  0.0% nice,  1.5% system,  0.7% interrupt, 97.0% idle
CPU 1:  0.0% user,  0.0% nice,  0.0% system,  0.4% interrupt, 99.6% idle

I don't know. Maybe they back ported it into one of the 6.x versions.
 
Back
Top