cpu usage in 7.0

Hugo Silva hugo at barafranca.com
Sat Feb 23 03:25:43 UTC 2008


Kris Kennaway wrote:
> Barney Cordoba wrote:
>> I have a dual core system running 7.0 and I can't get
>> top to show more than 100% usage no matter how I
>> hammer it. My MAC shows over 100% often, but its not
>> clear if top is averaging the 2 cpus or just not going
>> over 100, or just showing 1 of the cpus.
>
> 100% in FreeBSD means "all of your CPUs are completely active".  It is 
> hard to exceed this amount :-)

You should see my production mysql going over 458% on service startup, 
on a quad core server :-)

>
>> Is there any way to show the per-cpu usage to get an
>> idea of the overall efficiency of sharing? Are there
>> any tools that can be used to monitor this? What
>> exactly is top showing?
>
> Not in 7.0.  8.0 supports top -P and vmstat -P
>
> Kris

   11 root        1 171 ki31     0K    16K CPU3   3  81.1H 100.00% idle: 
cpu3
   12 root        1 171 ki31     0K    16K CPU2   2  81.0H 100.00% idle: 
cpu2
   13 root        1 171 ki31     0K    16K CPU1   1  80.9H 100.00% idle: 
cpu1
   14 root        1 171 ki31     0K    16K RUN    0  80.3H 100.00% idle: 
cpu0

top -S (7.0-RC2)

>
> _______________________________________________
> freebsd-current at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-current
> To unsubscribe, send any mail to 
> "freebsd-current-unsubscribe at freebsd.org"



More information about the freebsd-current mailing list