Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 12 Feb 2011 00:41:00 +0000
From:      Alexander Best <arundel@freebsd.org>
To:        Chuck Swiger <cswiger@mac.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: deciphering top(1) output
Message-ID:  <20110212004100.GA98882@freebsd.org>
In-Reply-To: <2F104DA0-9420-4E7A-9023-A7C6AC5EC173@mac.com>
References:  <20110212002129.GA95360@freebsd.org> <2F104DA0-9420-4E7A-9023-A7C6AC5EC173@mac.com>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help
On Fri Feb 11 11, Chuck Swiger wrote:
> On Feb 11, 2011, at 4:21 PM, Alexander Best wrote:
> > a) my system is 100% idle, since no processes except the idle process takes up
> >   up CPU time or
> > b) that a or some processes take up 2% CPU time which aren't being shown or
> > c) that each of my cpu core is only 86.6/89.4% idle?
> 
> It means (c).  Kernel activity, short-lived transient processes, and imperfections in sampling data are the other ~13 / 10 %....

thanks. it seems in some cases these imperfections have quite an impact:

last pid: 48135;  load averages:  5.11,  5.38,  5.02  up 0+03:15:20    19:31:52
271 processes: 15 running, 242 sleeping, 14 waiting
CPU 0: 76.4% user,  0.0% nice, 21.7% system,  2.0% interrupt,  0.0% idle
CPU 1: 85.0% user,  0.0% nice, 12.6% system,  2.4% interrupt,  0.0% idle
Mem: 1078M Active, 334M Inact, 403M Wired, 79M Cache, 212M Buf, 68M Free
Swap: 18G Total, 438M Used, 18G Free, 2% Inuse

  PID    UID    THR PRI NICE   SIZE    RES STATE   C   TIME   WCPU COMMAND
48131      0      1  77    0 92112K 67164K CPU1    1   0:02 17.77% cc1
48135      0      1  76    0 90992K 65712K RUN     0   0:01 15.87% cc1
 2222   1001      1  26    0  1150M 57000K select  1  14:13  7.28% npviewer.bin
 2210   1001      2  20    0   199M 45952K kqread  0   2:38  1.37% chrome
   10      0      2 155 ki31     0K    32K RUN     0  89:55  1.27% idle
 2249   1001      2  20    0   828M 82864K kqread  1   2:12  0.10% chrome
 2247   1001      2  20    0   846M 84424K kqread  0   0:25  0.10% chrome
48133      0      1  20    0 13916K  2380K CPU0    1   0:00  0.10% top
 2171   1001     23  20    0   327M   121M uwait   1  12:11  0.00% chrome
 2151   1001      1  20    0   881M 15400K select  0   6:35  0.00% Xorg
 2203   1001      2  20    0   889M   148M kqread  1   5:07  0.00% chrome
 2235   1001      2  20    0   855M   116M kqread  0   4:51  0.00% chrome
 2231   1001      2  20    0   847M 99464K kqread  0   4:47  0.00% chrome
 2208   1001      2  20    0   853M   103M kqread  0   4:38  0.00% chrome

cheers.
alex

> 
> Regards,
> -- 
> -Chuck
> 

-- 
a13x



Want to link to this message? Use this URL: <http://docs.FreeBSD.org/cgi/mid.cgi?20110212004100.GA98882>