TOP shows above 100% WCPU usage
Jiawei Ye
leafy7382 at gmail.com
Tue Aug 22 04:21:59 UTC 2006
On 8/16/06, Dan Nelson <dnelson at allantgroup.com> wrote:
> > How can mysql use 160%? Is this a reporting bug in top because mysql is
> > threaded?
>
> You have multiple CPUs, so a threaded process can theoretically reach
> 100*ncpus cpu usage.
>
> --
> Dan Nelson
> dnelson at allantgroup.com
I am seeing this on a UP system too.
last pid: 35355; load averages: 0.36, 0.08, 0.03 up 1+12:11:39 12:20:56
205 processes: 3 running, 202 sleeping
CPU states: 97.8% user, 0.0% nice, 1.5% system, 0.0% interrupt, 0.7% idle
Mem: 122M Active, 52M Inact, 59M Wired, 7808K Cache, 34M Buf, 524K Free
Swap: 1024M Total, 40M Used, 984M Free, 3% Inuse
PID USERNAME THR PRI NICE SIZE RES STATE TIME WCPU COMMAND
35343 www 22 4 0 275M 64620K accept 0:21 271.92% java
767 jabber 1 91 0 8836K 1284K select 7:07 0.00% perl5.8.8
875 pgsql 1 91 0 19880K 1748K select 0:20 0.00% postgres
840 vscan 1 4 0 22892K 18304K accept 0:17 0.00% clamd
4733 www 27 4 0 17428K 3268K kqread 0:10 0.00% httpd
--
"Without the userland, the kernel is useless."
--inspired by The Tao of Programming
More information about the freebsd-stable
mailing list