From owner-freebsd-current@FreeBSD.ORG Sun Sep 28 22:33:49 2008 Return-Path: Delivered-To: current@Freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 58B071065686; Sun, 28 Sep 2008 22:33:49 +0000 (UTC) (envelope-from sem@FreeBSD.org) Received: from mail.ciam.ru (mail.ciam.ru [213.247.195.75]) by mx1.freebsd.org (Postfix) with ESMTP id 1400C8FC16; Sun, 28 Sep 2008 22:33:48 +0000 (UTC) (envelope-from sem@FreeBSD.org) Received: from [77.41.76.79] (helo=[172.16.100.4]) by mail.ciam.ru with esmtpa (Exim 4.x) id 1Kk4So-000POA-77; Mon, 29 Sep 2008 02:10:02 +0400 Message-ID: <48E0002C.2020803@FreeBSD.org> Date: Mon, 29 Sep 2008 02:07:40 +0400 From: Sergey Matveychuk User-Agent: Thunderbird 2.0.0.17 (Windows/20080914) MIME-Version: 1.0 To: Edwin Groothuis References: <20080928054620.GA80250@k7.mavetju> <20080928093357.GA71582@ice.42.org> <20080928094903.GB13745@k7.mavetju> In-Reply-To: <20080928094903.GB13745@k7.mavetju> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Stefan `Sec` Zehl , stable@freebsd.org, current@Freebsd.org Subject: Re: Request for testing - top 3.8b1 in the base system X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 28 Sep 2008 22:33:49 -0000 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.