Date: Sun, 1 Jan 2006 13:33:00 -0600 From: Kirk Strauser <kirk@strauser.com> To: freebsd-questions@freebsd.org Subject: What's using my system? Message-ID: <200601011334.18506.kirk@strauser.com>
next in thread | raw e-mail | index | archive | help
--nextPart2348950.Hm5rVoqemm Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline I'm staring at "top" running on my 6.0-STABLE system. It's my desktop machine, and also serves a light web/mail load (including a few jails). Basically, the system should be idle about 99% of the time when I'm not actively doing something on it. And yet it's not. The CPU never gets above about 75% idle, but top never shows any processes doing much of anything. The "last pid" field only rarely increases, so I'm relatively sure there's no processing forking off children that die too quickly for top to notice them. So, what could be using my CPU? And other than top and tailing various logfiles, what tools could help me find out? Example top output: last pid: 72475; load averages: 0.26, 0.80, 1.69 = up 28+21:59:16 13:26:30 214 processes: 4 running, 210 sleeping CPU states: 14.7% user, 0.0% nice, 10.5% system, 3.9% interrupt, 70.9% id= le Mem: 752M Active, 186M Inact, 219M Wired, 63M Cache, 112M Buf, 23M Free Swap: 4096M Total, 161M Used, 3934M Free, 3% Inuse PID USERNAME THR PRI NICE SIZE RES STATE TIME WCPU COMM= AND 61660 root 1 96 0 89288K 74624K select 37:50 1.71% Xorg 61791 kirk 1 96 0 34704K 25600K select 12:17 1.12% kdei= nit 61822 kirk 1 96 0 40616K 28980K select 14:55 1.03% kdei= nit 68111 kirk 1 96 0 33584K 23292K select 0:16 0.15% kdei= nit 1525 ldap 3 20 0 134M 7136K kserel 80:59 0.00% slapd 61811 kirk 3 20 -76 16516K 10860K kserel 76:40 0.00% artsd 1442 mysql 5 20 0 59576K 2752K kserel 44:14 0.00% mysq= ld 1449 nagios 3 20 0 3900K 1228K kserel 37:36 0.00% nagi= os 61864 kirk 3 96 0 78260K 61128K RUN 25:34 0.00% amar= okapp 83630 bind 1 4 0 12024K 8704K select 14:49 0.00% named 1400 mailman 1 8 0 8828K 2716K nanslp 14:15 0.00% pyth= on2.3 1403 mailman 1 8 0 8532K 4088K nanslp 13:35 0.00% pyth= on2.3 1397 mailman 1 8 0 9016K 2700K nanslp 12:47 0.00% pyth= on2.3 1398 mailman 1 8 0 8792K 5216K nanslp 12:26 0.00% pyth= on2.3 =2D-=20 Kirk Strauser --nextPart2348950.Hm5rVoqemm Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (FreeBSD) iD8DBQBDuC655sRg+Y0CpvERAlgOAJ9CcfNqbEkNiZiAa4KM5TAuveNxyACfdl5D 9tT3pdMyq/pShPz10zlHaRc= =5sYL -----END PGP SIGNATURE----- --nextPart2348950.Hm5rVoqemm--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200601011334.18506.kirk>