From owner-freebsd-current@FreeBSD.ORG Sun Sep 28 09:49:34 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 BB45C1065692; Sun, 28 Sep 2008 09:49:34 +0000 (UTC) (envelope-from edwin@mavetju.org) Received: from mail5out.barnet.com.au (mail5.barnet.com.au [202.83.178.78]) by mx1.freebsd.org (Postfix) with ESMTP id 7818B8FC17; Sun, 28 Sep 2008 09:49:34 +0000 (UTC) (envelope-from edwin@mavetju.org) Received: by mail5out.barnet.com.au (Postfix, from userid 1001) id 9C23B2218A41; Sun, 28 Sep 2008 19:49:33 +1000 (EST) X-Viruscan-Id: <48DF532D00014C7BFAA8D6@BarNet> Received: from mail5auth.barnet.com.au (mail5.barnet.com.au [202.83.178.78]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "mail5auth.barnet.com.au", Issuer "*.barnet.com.au" (verified OK)) by mail5.barnet.com.au (Postfix) with ESMTP id 55A2F21B5A17; Sun, 28 Sep 2008 19:49:33 +1000 (EST) Received: from k7.mavetju (ppp121-44-55-162.lns10.syd7.internode.on.net [121.44.55.162]) by mail5auth.barnet.com.au (Postfix) with ESMTP id EFB1C221882A; Sun, 28 Sep 2008 19:49:32 +1000 (EST) Received: by k7.mavetju (Postfix, from userid 1001) id C3F51798; Sun, 28 Sep 2008 19:49:03 +1000 (EST) Date: Sun, 28 Sep 2008 19:49:03 +1000 From: Edwin Groothuis To: Stefan `Sec` Zehl Message-ID: <20080928094903.GB13745@k7.mavetju> References: <20080928054620.GA80250@k7.mavetju> <20080928093357.GA71582@ice.42.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20080928093357.GA71582@ice.42.org> User-Agent: Mutt/1.4.2.3i Cc: 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 09:49:34 -0000 On Sun, Sep 28, 2008 at 11:33:57AM +0200, Stefan `Sec` Zehl wrote: > Hi, > > On Sun, Sep 28, 2008 at 15:46 +1000, Edwin Groothuis wrote: > > The new code can be found on > > http://www.mavetju.org/~edwin/freebsd-top-3.8b1-A.tar.gz > > Go to 3.8b1/usr.sbin/top and run "make" there to produce the binary, > > then run it via "./top". > > compiles and runs fine on my box: > > FreeBSD ice 7.1-PRERELEASE FreeBSD 7.1-PRERELEASE #17: Wed Sep 3 23:59:58 CEST 2008 root@ice:/usr/obj/usr/src/sys/ICE amd64 > > > Please report any issues with it (compile time, run time) and a way > > to reproduce it (if possible). Thanks for your help! > > The number of sleeping processes is much lower than system top: > > oldtop: 480 processes: 3 running, 450 sleeping, 2 stopped, 7 zombie, 18 waiting > newtop: 190 processes: 3 running, 160 sleeping, 2 stopped, 7 zombie, 18 waiting 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) - old top gives 240 processes. - old top + "S" (system processes) gives 292 processes. - old top + "H" (threads) gives 240 "processes" - old top + "S" (system processes) + "H" (threads) gives 292 "processes" - new top gives 260 processes - new top + "S" (system processes) gives 260 processes - new top + "H" (threads) gives 292 *threads* - new top + "S" (system processes) + "H" (threads) gives 292 *threads* This is only for the summary menu, not for the process list. Thanks for your feedback, it is surely something which needs to be written down in the official announcement. Edwin -- Edwin Groothuis | Personal website: http://www.mavetju.org edwin@mavetju.org | Weblog: http://www.mavetju.org/weblog/