From owner-freebsd-questions Tue Oct 16 22:17:13 2001 Delivered-To: freebsd-questions@freebsd.org Received: from smtp2.cluster.oleane.net (smtp2.cluster.oleane.net [195.25.12.17]) by hub.freebsd.org (Postfix) with ESMTP id 6854F37B409; Tue, 16 Oct 2001 22:17:06 -0700 (PDT) Received: from diabolic-cow.chatgris.net (d96df47b.fsp.oleane.fr [217.109.244.123]) by smtp2.cluster.oleane.net with ESMTP id f9H5H3l41176; Wed, 17 Oct 2001 07:17:04 +0200 (CEST) Received: by diabolic-cow.chatgris.net (Postfix, from userid 1000) id 87CA47AA; Wed, 17 Oct 2001 07:17:25 +0200 (CEST) Date: Wed, 17 Oct 2001 07:17:24 +0200 From: =?iso-8859-1?Q?R=E9mi_Guyomarch?= To: freebsd-questions@freebsd.org, freebsd-stable@freebsd.org Subject: Re: 0.00% CPU for all processes Message-ID: <20011017071724.A96520@diabolic-cow.chatgris.net> References: <174272.1003179053903.JavaMail.imail@patti.excite.com> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit User-Agent: Mutt/1.2.5i In-Reply-To: <174272.1003179053903.JavaMail.imail@patti.excite.com>; from matt-sykes@excite.com on Mon, Oct 15, 2001 at 01:50:51PM -0700 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 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... -- Rémi To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message