Date: Thu, 27 Nov 2008 16:51:18 -0800 From: Kris Kennaway <kris@FreeBSD.org> To: =?ISO-8859-1?Q?Ott_K=F6stner?= <OttK@zzz.ee> Cc: freebsd-questions@freebsd.org Subject: Re: top incorrectly reporting process time Message-ID: <492F4086.7040403@FreeBSD.org> In-Reply-To: <492034B8.9020903@zzz.ee> References: <49202F59.7050802@zzz.ee> <20081116144057.GA3864@icarus.home.lan> <492034B8.9020903@zzz.ee>
next in thread | previous in thread | raw e-mail | index | archive | help
Ott Köstner wrote: > Jeremy Chadwick wrote: >> On Sun, Nov 16, 2008 at 04:34:01PM +0200, Ott Köstner wrote: >> >>> On several FreeBSD machines I have the following problem: >>> >> >> What FreeBSD version? (It matters) >> > 7.1-PRERELEASE FreeBSD > > But I can experience it also on a 7.0 machine. Seems that top reports > incorrectly processes with multiple threads. > > $ top -bUbind > last pid: 21635; load averages: 0.73, 0.46, 0.29 up 1+00:17:18 > 16:48:10 > 54 processes: 1 running, 53 sleeping > > Mem: 66M Active, 1174M Inact, 204M Wired, 36K Cache, 112M Buf, 555M Free > Swap: 2048M Total, 2048M Free > > PID USERNAME THR PRI NICE SIZE RES STATE C TIME WCPU COMMAND > 979 bind 8 44 0 40288K 32916K select 0 0:16 0.00% named > > $ ps -ax|grep 979 > 979 ?? Ss 1:11.26 /usr/sbin/named -n 5 -t /var/named -u bind Check top -H to display the statistics for individual threads. Kris
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?492F4086.7040403>