From owner-freebsd-questions Thu Oct 18 9:49:13 2001 Delivered-To: freebsd-questions@freebsd.org Received: from post.mail.nl.demon.net (post-11.mail.nl.demon.net [194.159.73.21]) by hub.freebsd.org (Postfix) with ESMTP id 648A237B409 for ; Thu, 18 Oct 2001 09:48:29 -0700 (PDT) Received: from [212.238.77.116] (helo=buffy.raggedclown.net) by post.mail.nl.demon.net with esmtp (Exim 3.22 #1) id 15uGLL-0003ya-00 for freebsd-questions@freebsd.org; Thu, 18 Oct 2001 16:48:28 +0000 Received: by tanya.raggedclown.net (Ragged Clown Mailhost, from userid 500) id D037B111E; Thu, 18 Oct 2001 18:39:33 +0200 (CEST) Date: Thu, 18 Oct 2001 18:39:33 +0200 From: Cliff Sarginson To: freebsd-questions@freebsd.org Subject: Re: 0.00% CPU for all processes Message-ID: <20011018183933.F2096@raggedclown.net> References: <174272.1003179053903.JavaMail.imail@patti.excite.com> <20011017071724.A96520@diabolic-cow.chatgris.net> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit User-Agent: Mutt/1.3.16i In-Reply-To: <20011017071724.A96520@diabolic-cow.chatgris.net>; from rguyom@pobox.com on Wed, Oct 17, 2001 at 07:17:24AM +0200 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Wed, Oct 17, 2001 at 07:17:24AM +0200, Rémi Guyomarch wrote: > On Mon, Oct 15, 2001 at 01:50:51PM -0700, Matt Sykes wrote: > ... > > One thing which surprises me, though --- all other processes are zero. > > Is this normal? This is my first time seeing FreeBSD run. I have an > > identical box here running linux (and each box runs a minimum of > > services), where at least top will show nonzero CPU percentage in top, > > usually around 0.5%. Does linux have more fine-grained timing, or is > > it cheating, or does the margin of error render this test essentially > > meaningless anyway? > > Linux' top parse ascii strings from /proc > All *BSD tops use binary bits from sysctl() and thus are vastly faster > than Linux. With Linux on a slow sparc I've see top use between 5 and > 10% of the cpu used only for top... > > -- > Rmi This is interesting stuff. I use both FreeBSD and Linux, and am always bemused by seeing top at the top in Linux. I thought it might have been an ego thing by the author .. :). -- Regards Cliff To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message