From owner-freebsd-questions@FreeBSD.ORG Sat Feb 12 00:21:29 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 1233) id 61EB7106566B; Sat, 12 Feb 2011 00:21:29 +0000 (UTC) Date: Sat, 12 Feb 2011 00:21:29 +0000 From: Alexander Best To: freebsd-questions@freebsd.org Message-ID: <20110212002129.GA95360@freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Subject: deciphering top(1) output X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 12 Feb 2011 00:21:29 -0000 hi there, i'm trying to decipher the following top(1) output: otaku% top -PSHb -d2 last pid: 14206; load averages: 0.02, 0.04, 0.00 up 1+02:08:58 01:13:21 256 processes: 3 running, 238 sleeping, 15 waiting Mem: 1356M Active, 141M Inact, 342M Wired, 79M Cache, 212M Buf, 44M Free Swap: 18G Total, 692M Used, 17G Free, 3% Inuse PID USERNAME PRI NICE SIZE RES STATE C TIME WCPU COMMAND 10 root 155 ki31 0K 32K RUN 1 21.9H 100.00% {idle: cpu1} 10 root 155 ki31 0K 32K CPU0 0 21.6H 97.85% {idle: cpu0} 4451 arundel 21 0 913M 179M uwait 0 28:35 0.00% {chrome} 4446 arundel 20 0 836M 60040K uwait 0 26:26 0.00% {chrome} 4476 arundel 21 0 854M 100M uwait 0 24:52 0.00% {chrome} 4448 arundel 22 0 866M 109M uwait 0 23:57 0.00% {chrome} 4474 arundel 21 0 840M 70796K uwait 0 23:29 0.00% {chrome} 4475 arundel 20 0 827M 81872K uwait 0 22:37 0.00% {chrome} 4471 arundel 20 0 822M 61652K uwait 0 21:55 0.00% {chrome} 4442 arundel 21 0 824M 62872K uwait 0 21:46 0.00% {chrome} 4447 arundel 21 0 815M 61420K uwait 0 21:32 0.00% {chrome} 4450 arundel 21 0 809M 60240K uwait 0 21:21 0.00% {chrome} 2007 arundel 20 0 880M 12780K select 1 20:39 0.00% Xorg 4452 arundel 20 0 205M 30016K select 0 12:58 0.00% {initial thread} 4414 arundel 20 0 334M 96560K kqread 1 11:00 0.00% {chrome} 4414 arundel 20 0 334M 96560K select 1 9:40 0.00% {initial thread} 4472 arundel 20 0 1111M 530M futex 1 8:21 0.00% npviewer.bin 11 root -96 - 0K 240K WAIT 0 7:57 0.00% {irq16: vgapci0+} last pid: 14206; load averages: 0.02, 0.04, 0.00 up 1+02:09:00 01:13:23 256 processes: 4 running, 238 sleeping, 14 waiting CPU 0: 8.7% user, 0.0% nice, 4.3% system, 0.4% interrupt, 86.6% idle CPU 1: 7.1% user, 0.0% nice, 3.5% system, 0.0% interrupt, 89.4% idle Mem: 1358M Active, 141M Inact, 342M Wired, 79M Cache, 212M Buf, 42M Free Swap: 18G Total, 692M Used, 17G Free, 3% Inuse PID USERNAME PRI NICE SIZE RES STATE C TIME WCPU COMMAND 10 root 155 ki31 0K 32K RUN 1 21.9H 100.00% {idle: cpu1} 10 root 155 ki31 0K 32K CPU0 0 21.6H 98.00% {idle: cpu0} 4451 arundel 21 0 913M 179M uwait 0 28:35 0.00% {chrome} 4446 arundel 20 0 836M 60292K uwait 0 26:26 0.00% {chrome} 4476 arundel 21 0 854M 101M uwait 0 24:52 0.00% {chrome} 4448 arundel 21 0 866M 109M uwait 0 23:57 0.00% {chrome} 4474 arundel 20 0 840M 71492K uwait 1 23:29 0.00% {chrome} 4475 arundel 20 0 827M 81876K uwait 1 22:38 0.00% {chrome} 4471 arundel 21 0 822M 61652K uwait 0 21:55 0.00% {chrome} 4442 arundel 21 0 824M 62872K uwait 0 21:46 0.00% {chrome} 4447 arundel 21 0 815M 61420K uwait 1 21:32 0.00% {chrome} 4450 arundel 21 0 809M 60240K uwait 0 21:21 0.00% {chrome} 2007 arundel 20 0 880M 12780K select 1 20:39 0.00% Xorg 4452 arundel 20 0 205M 30016K select 0 12:58 0.00% {initial thread} 4414 arundel 20 0 334M 96560K kqread 0 11:00 0.00% {chrome} 4414 arundel 20 0 334M 96560K select 0 9:40 0.00% {initial thread} 4472 arundel 20 0 1111M 530M futex 1 8:21 0.00% npviewer.bin 11 root -96 - 0K 240K WAIT 0 7:57 0.00% {irq16: vgapci0+} does this mean that 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? cheers. alex -- a13x