From owner-cvs-src@FreeBSD.ORG Tue May 24 18:33:38 2005 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id EF53216A41C; Tue, 24 May 2005 18:33:38 +0000 (GMT) (envelope-from spoerlein@informatik.uni-wuerzburg.de) Received: from wrzx28.rz.uni-wuerzburg.de (wrzx28.rz.uni-wuerzburg.de [132.187.3.28]) by mx1.FreeBSD.org (Postfix) with ESMTP id 33E1943D53; Tue, 24 May 2005 18:33:37 +0000 (GMT) (envelope-from spoerlein@informatik.uni-wuerzburg.de) Received: from wrzx30.rz.uni-wuerzburg.de (wrzx30.rz.uni-wuerzburg.de [132.187.1.30]) by wrzx28.rz.uni-wuerzburg.de (Postfix) with ESMTP id ACDE9D9614; Tue, 24 May 2005 20:33:36 +0200 (CEST) Received: from virusscan (localhost [127.0.0.1]) by wrzx30.rz.uni-wuerzburg.de (Postfix) with ESMTP id 8FC9F8FB55; Tue, 24 May 2005 20:33:36 +0200 (CEST) Received: from wrzx28.rz.uni-wuerzburg.de (wrzx28.rz.uni-wuerzburg.de [132.187.3.28]) by wrzx30.rz.uni-wuerzburg.de (Postfix) with ESMTP id 7A22F7B21E; Tue, 24 May 2005 20:33:36 +0200 (CEST) Received: from frodo.galgenberg.net (wwsx14.win-screen.uni-wuerzburg.de [132.187.253.14]) by wrzx28.rz.uni-wuerzburg.de (Postfix) with ESMTP id F2C9BD9614; Tue, 24 May 2005 20:33:35 +0200 (CEST) Received: from coyote.q.local (gb-21-237.galgenberg.net [172.16.21.237]) by frodo.galgenberg.net (8.13.1/8.13.1) with ESMTP id j4OIXZaH018716; Tue, 24 May 2005 20:33:35 +0200 (CEST) (envelope-from spoerlein@informatik.uni-wuerzburg.de) Received: from roadrunner.q.local (roadrunner.q.local [192.168.0.148]) by coyote.q.local (8.13.3/8.13.1) with ESMTP id j4OIXZfm049130; Tue, 24 May 2005 20:33:35 +0200 (CEST) (envelope-from spoerlein@informatik.uni-wuerzburg.de) Received: from roadrunner.q.local (localhost [127.0.0.1]) by roadrunner.q.local (8.13.3/8.13.3) with ESMTP id j4OIXZZ3002160; Tue, 24 May 2005 20:33:35 +0200 (CEST) (envelope-from spoerlein@informatik.uni-wuerzburg.de) Received: (from q@localhost) by roadrunner.q.local (8.13.3/8.13.3/Submit) id j4OIXUP4002159; Tue, 24 May 2005 20:33:30 +0200 (CEST) (envelope-from spoerlein@informatik.uni-wuerzburg.de) Date: Tue, 24 May 2005 20:33:30 +0200 From: Ulrich Spoerlein To: Scott Long Message-ID: <20050524183330.GD796@galgenberg.net> References: <200505181330.j4IDU8FV035625@repoman.freebsd.org> <20050523073344.GA65484@dragon.NUXI.org> <20050523160424.GK1201@green.homeunix.org> <429200D1.4040602@samsco.org> <20050523165452.GA10581@toxic.magnesium.net> <42920B70.9040605@samsco.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <42920B70.9040605@samsco.org> User-Agent: Mutt/1.5.9i X-Virus-Scanned: by amavisd-new (Rechenzentrum Universitaet Wuerzburg) Cc: juli mallett , cvs-src@FreeBSD.org Subject: Re: cvs commit: src/contrib/top commands.c machine.h top.c src/usr.bin/top machine.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 24 May 2005 18:33:39 -0000 On Mon, 23.05.2005 at 10:57:20 -0600, Scott Long wrote: > >>[...] > >>WCPU, when displayed, is the weighted cpu percentage (this is the same > >>value that ps(1) displays as CPU), CPU is the raw percentage and is the > >>field that is sorted to determine the order of the processes > >>[...] > >> > >>I'm not sure which FreeBSD you've been using for years, but the numbers > >>are almost never the same for all of the machines that I have. > > > >I don't know what machines you're using, but on almost all the FreeBSD > >machines I use, most of the tasks are idle, and thus CPU and WCPU will > >be the same (0.00, 0.00). As for running tasks, yes, Brian must be > >thinking of something else. That said, the numbers are almost always > >the same, at least given my sample set. > > Sorry for not being explicit about idle processes. IFF WCPU is the averaged CPU time, then WCPU == CPU for all constant CPU loads, be that 0.00, 1.00 or 0.50, as long as it is constant. Sorry for nitpicking ... :) Ulrich Spoerlein -- PGP Key ID: F0DB9F44 Encrypted mail welcome! Fingerprint: F1CE D062 0CA9 ADE3 349B 2FE8 980A C6B5 F0DB 9F44 Ok, which part of "Ph'nglui mglw'nafh Cthulhu R'lyeh wgah'nagl fhtagn." didn't you understand?