Date: Mon, 29 Sep 2008 02:07:40 +0400 From: Sergey Matveychuk <sem@FreeBSD.org> To: Edwin Groothuis <edwin@freebsd.org> Cc: Stefan `Sec` Zehl <sec@42.org>, stable@freebsd.org, current@Freebsd.org Subject: Re: Request for testing - top 3.8b1 in the base system Message-ID: <48E0002C.2020803@FreeBSD.org> In-Reply-To: <20080928094903.GB13745@k7.mavetju> References: <20080928054620.GA80250@k7.mavetju> <20080928093357.GA71582@ice.42.org> <20080928094903.GB13745@k7.mavetju>
next in thread | previous in thread | raw e-mail | index | archive | help
Edwin Groothuis wrote: > Oh yes, I forgot about that: > > The old top(1) and new top(1) counts the processes different: > > - "ps xauw | wc" gives 265 > - "ps xauwH | wc" gives 295 (expand threads) But what about running processes? I have quad core processor with the summary lines: new top: 127 processes: 5 running, 104 sleeping, 18 waiting old top: 90 processes: 1 running, 89 sleeping Let's see what process is running: % ps axuwH | awk '{if(index($8,"R")) print}' root 12 100.0 0.0 0 8 ?? RL 14Sep08 20648:50.71 [idle: cpu2] root 13 100.0 0.0 0 8 ?? RL 14Sep08 20647:09.32 [idle: cpu1] root 14 100.0 0.0 0 8 ?? RL 14Sep08 20640:25.87 [idle: cpu0] root 11 86.1 0.0 0 8 ?? RL 14Sep08 20650:27.95 [idle: cpu3] sem 71228 0.0 0.0 3204 996 p7 R+ 1:59AM 0:00.00 ps axuwH Is it correct idle cpu pseudo processes are counted? Anyway new top looks much better. Thanks, Edwin! PS. 7.1-PRERELEASE from May 10. -- Dixi. Sem.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?48E0002C.2020803>