What's using my system?
Kirk Strauser
kirk at strauser.com
Sun Jan 1 14:41:08 PST 2006
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 COMMAND
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% kdeinit
74061 kirk 1 96 0 40176K 27380K select 3:11 0.93% kdeinit
74030 kirk 1 96 0 34724K 25496K select 2:57 0.10% kdeinit
22 root 1 -80 -199 0K 8K WAIT 198:48 0.00% irq11: nvidia0 sym0
46 root 1 -8 -127 0K 8K pgzero 130:16 0.00% pagezero
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% syncer
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% mysqld
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% nagios
4 root 1 -8 0 0K 8K - 32:28 0.00% g_down
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% python2.3
1403 mailman 1 8 0 8532K 2712K nanslp 13:38 0.00% python2.3
54 root 1 -40 0 0K 8K - 12:55 0.00% schedcpu
30 root 1 -16 0 0K 8K - 12:52 0.00% yarrow
21 root 1 -64 -183 0K 8K WAIT 12:51 0.00% irq10: atapci1
1397 mailman 1 8 0 9016K 2676K nanslp 12:50 0.00% python2.3
1398 mailman 1 8 0 8792K 5136K nanslp 12:31 0.00% python2.3
1401 mailman 1 8 0 8360K 2276K nanslp 12:27 0.00% python2.3
1402 mailman 1 8 0 8996K 4820K nanslp 12:26 0.00% python2.3
13895 daapd 1 4 0 4592K 1996K select 12:15 0.00% mt-daapd
1399 mailman 1 8 0 8348K 2260K nanslp 12:03 0.00% python2.3
74151 kirk 5 20 0 85764K 71868K kserel 9:46 0.00% kontact
59092 jabber 1 96 0 10104K 3648K select 9:28 0.00% jabberd
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% syslogd
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% master
41 root 1 -8 0 0K 8K m:w2 4:52 0.00% g_mirror 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_mirror 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_event
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% irq12: psm0
1705 root 1 -8 0 4144K 2332K piperd 2:54 0.00% perl5.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% irq14: ata0
44 root 1 -16 0 0K 8K psleep 2:17 0.00% pagedaemon
13896 daapd 3 20 0 13916K 2064K kserel 1:53 0.00% mt-daapd
1461 postgrey 1 4 0 10572K 5548K select 1:51 0.00% perl5.8.7
866 root 1 4 0 3620K 1316K select 1:46 0.00% sendmail
>
> man top is helpful
--
Kirk Strauser
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20060101/e033eaf4/attachment.bin
More information about the freebsd-questions
mailing list