From owner-freebsd-stable@FreeBSD.ORG Thu Aug 17 19:26:06 2006 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1739E16A4DE for ; Thu, 17 Aug 2006 19:26:06 +0000 (UTC) (envelope-from dan@dan.emsphone.com) Received: from dan.emsphone.com (dan.emsphone.com [199.67.51.101]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7C00643D8A for ; Thu, 17 Aug 2006 19:26:02 +0000 (GMT) (envelope-from dan@dan.emsphone.com) Received: (from dan@localhost) by dan.emsphone.com (8.13.6/8.13.6) id k7HJQ1bx064833; Thu, 17 Aug 2006 14:26:01 -0500 (CDT) (envelope-from dan) Date: Thu, 17 Aug 2006 14:26:01 -0500 From: Dan Nelson To: Brent Casavant Message-ID: <20060817192601.GB30450@dan.emsphone.com> References: <44E1F796.5070105@rogers.com> <20060815172728.GB88051@dan.emsphone.com> <44E204C0.60806@rogers.com> <44E3FE61.6060800@lefebvre.org> <5C8C1B11-DE0B-4FE2-9A3D-5472650B9FA8@mac.com> <20060817120221.D20436@pkunk.americas.sgi.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20060817120221.D20436@pkunk.americas.sgi.com> X-OS: FreeBSD 6.1-STABLE X-message-flag: Outlook Error User-Agent: Mutt/1.5.12-2006-07-14 Cc: Bill LeFebvre , freebsd-stable@freebsd.org Subject: Re: TOP shows above 100% WCPU usage X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 17 Aug 2006 19:26:06 -0000 In the last episode (Aug 17), Brent Casavant said: > Note that IRIX's top does not bias for availabile CPUs -- I've seen > well-threaded programs using in excess of 2400% CPU. > > What it comes down to is that depending on the nature of the > information you're trying to glean from WCPU, you may want either > view of the data. Some versions of top on Linux allow you to switch > between IRIX and Solaris views. From the help screen for top from > procps 3.2.6 on Linux: > > 1,I Toggle SMP view: '1' single/separate states; 'I' Irix/Solaris mode > > There's really not a clear cut right and wrong here, particularly if > your version of top is able to display per-thread instead of > per-process data. Sometimes you want to break out individual threads > and see their level of CPU utilization (the IRIX view is most > useful), sometimes you want to get a handle on which processes are > loading down a machine (the Solaris view is most useful). Is this similar to FreeBSD top's 'H' option? -- Dan Nelson dnelson@allantgroup.com