Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 1 Jan 2006 16:40:49 -0600
From:      Kirk Strauser <kirk@strauser.com>
To:        freebsd-questions@freebsd.org
Subject:   Re: What's using my system?
Message-ID:  <200601011640.54187.kirk@strauser.com>
In-Reply-To: <43B84751.6030203@makeworld.com>
References:  <200601011334.18506.kirk@strauser.com> <43B84751.6030203@makeworld.com>

next in thread | previous in thread | raw e-mail | index | archive | help
--nextPart4637023.ONbIiPz5xe
Content-Type: text/plain;
  charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline

On Sunday 01 January 2006 03:19 pm, Chris wrote:

> Try this:
>
> top -S -n 50

Here it is.  Note that the WCPU fields don't come anywhere near adding up
to the "missing" 42% (100 - ~58%).  Also, the change in "last pid" is only
about 13000 over the course of 11000 seconds, and that included a Google
spider run a couple of hours ago; the median number of forks-per-second is
much less than 1.



last pid: 85931;  load averages:  1.29,  0.95,  0.78  up 29+01:08:13    16:=
35:27
306 processes: 5 running, 277 sleeping, 23 waiting, 1 lock

Mem: 872M Active, 88M Inact, 222M Wired, 45M Cache, 112M Buf, 17M Free
Swap: 4096M Total, 205M Used, 3891M Free, 4% Inuse


  PID USERNAME         THR PRI NICE   SIZE    RES STATE    TIME   WCPU COMM=
AND
   11 root               1 171   52     0K     8K RUN    523.5H 57.86% idle
73955 root               1  98    0   162M   144M RUN     12:21  7.57% Xorg
74153 kirk               1  96    0   113M   103M select   5:29  4.30% kdei=
nit
74061 kirk               1  96    0 40176K 27380K select   3:11  0.93% kdei=
nit
74030 kirk               1  96    0 34724K 25496K select   2:57  0.10% kdei=
nit
   22 root               1 -80 -199     0K     8K WAIT   198:48  0.00% irq1=
1: nvidia0 sym0
   46 root               1  -8 -127     0K     8K pgzero 130:16  0.00% page=
zero
   16 root               1 -80 -199     0K     8K WAIT   109:42  0.00% irq5=
: pcm0
   27 root               1 -32 -151     0K     8K *Giant  98:53  0.00% swi4=
: clock sio
   48 root               1  20    0     0K     8K syncer  83:28  0.00% sync=
er
 1525 ldap               3  20    0   134M  7336K kserel  81:22  0.00% slapd
   29 root               1 -44 -163     0K     8K WAIT    52:01  0.00% swi1=
: net
 1442 mysql              5  20    0 59576K  2628K kserel  44:26  0.00% mysq=
ld
    3 root               1  -8    0     0K     8K -       43:34  0.00% g_up
 1449 nagios             3  20    0  3900K  1228K kserel  37:46  0.00% nagi=
os
    4 root               1  -8    0     0K     8K -       32:28  0.00% g_do=
wn
   20 root               1 -68 -187     0K     8K WAIT    21:12  0.00% irq9=
: fxp0 uhci0++
83630 bind               1  96    0 12024K  8868K select  14:57  0.00% named
 1400 mailman            1   8    0  8828K  2696K nanslp  14:19  0.00% pyth=
on2.3
 1403 mailman            1   8    0  8532K  2712K nanslp  13:38  0.00% pyth=
on2.3
   54 root               1 -40    0     0K     8K -       12:55  0.00% sche=
dcpu
   30 root               1 -16    0     0K     8K -       12:52  0.00% yarr=
ow
   21 root               1 -64 -183     0K     8K WAIT    12:51  0.00% irq1=
0: atapci1
 1397 mailman            1   8    0  9016K  2676K nanslp  12:50  0.00% pyth=
on2.3
 1398 mailman            1   8    0  8792K  5136K nanslp  12:31  0.00% pyth=
on2.3
 1401 mailman            1   8    0  8360K  2276K nanslp  12:27  0.00% pyth=
on2.3
 1402 mailman            1   8    0  8996K  4820K nanslp  12:26  0.00% pyth=
on2.3
13895 daapd              1   4    0  4592K  1996K select  12:15  0.00% mt-d=
aapd
 1399 mailman            1   8    0  8348K  2260K nanslp  12:03  0.00% pyth=
on2.3
74151 kirk               5  20    0 85764K 71868K kserel   9:46  0.00% kont=
act
59092 jabber             1  96    0 10104K  3648K select   9:28  0.00% jabb=
erd
 1567 squid              1  96    0 28580K  5588K select   7:41  0.00% squid
20522 root               1   4    0  3196K  1444K select   6:56  0.00% sysl=
ogd
  598 root               1  96    0  3832K  1688K select   6:43  0.00% ntpd
44916 root               1   4    0  4760K  1604K select   6:39  0.00% mast=
er
   41 root               1  -8    0     0K     8K m:w2     4:52  0.00% g_mi=
rror usr
80973   1200             4  20   10   425M 87884K kserel   4:30  0.00% java
   42 root               1  -8    0     0K     8K m:w1     4:24  0.00% g_mi=
rror var
  530 root               1   4    0  1300K   604K -        3:47  0.00% nfsd
    2 root               1  -8    0     0K     8K -        3:41  0.00% g_ev=
ent
69511 kirk               1   4    0  3260K   884K select   3:31  0.00% gpg-=
agent
 1549 root               1   4    0  7016K  2048K select   3:18  0.00% snmpd
   23 root               1 -60 -179     0K     8K WAIT     2:59  0.00% irq1=
2: psm0
 1705 root               1  -8    0  4144K  2332K piperd   2:54  0.00% perl=
5.8.7
 1295 clamav             3  20    0 17108K 13448K kserel   2:29  0.00% clamd
   25 root               1 -64 -183     0K     8K WAIT     2:25  0.00% irq1=
4: ata0
   44 root               1 -16    0     0K     8K psleep   2:17  0.00% page=
daemon
13896 daapd              3  20    0 13916K  2064K kserel   1:53  0.00% mt-d=
aapd
 1461 postgrey           1   4    0 10572K  5548K select   1:51  0.00% perl=
5.8.7
  866 root               1   4    0  3620K  1316K select   1:46  0.00% send=
mail


>
> man top is helpful

=2D-=20
Kirk Strauser

--nextPart4637023.ONbIiPz5xe
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (FreeBSD)

iD8DBQBDuFp25sRg+Y0CpvERAp6fAJ9xIAjNSRzlafJxj5pz95g+7pWvVwCdF6YH
kY9a6bBj/PiPF4Jevs4w2g0=
=oVl+
-----END PGP SIGNATURE-----

--nextPart4637023.ONbIiPz5xe--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200601011640.54187.kirk>