From owner-freebsd-questions@FreeBSD.ORG Mon Oct 18 20:06:40 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 35644106566B for ; Mon, 18 Oct 2010 20:06:40 +0000 (UTC) (envelope-from freebsd@optiksecurite.com) Received: from relais.videotron.ca (relais.videotron.ca [24.201.245.36]) by mx1.freebsd.org (Postfix) with ESMTP id 0CF968FC0C for ; Mon, 18 Oct 2010 20:06:39 +0000 (UTC) MIME-version: 1.0 Content-transfer-encoding: 8BIT Content-type: text/plain; charset=ISO-8859-1; format=flowed Received: from [69.69.69.193] ([69.70.93.206]) by vl-mh-mrz21.ip.videotron.ca (Sun Java(tm) System Messaging Server 6.3-8.01 (built Dec 16 2008; 32bit)) with ESMTP id <0LAI00AKN56VDM40@vl-mh-mrz21.ip.videotron.ca> for freebsd-questions@freebsd.org; Mon, 18 Oct 2010 16:06:32 -0400 (EDT) Message-id: <4CBCA8D1.5040005@optiksecurite.com> Date: Mon, 18 Oct 2010 16:06:41 -0400 From: Martin Turgeon User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; fr; rv:1.9.2.9) Gecko/20100915 Thunderbird/3.1.4 To: Adam Vande More References: <20101015071719.1536f19e@mail.ose.nl> <4CBC97CB.80604@optiksecurite.com> In-reply-to: Cc: Bas Smeelen , freebsd-questions@freebsd.org Subject: Re: How is CPU usage calculated? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 18 Oct 2010 20:06:40 -0000 Le 2010-10-18 15:12, Adam Vande More a écrit : > On Mon, Oct 18, 2010 at 1:54 PM, Martin Turgeon > wrote: > >> I didn't knew about -H to show individual threads, but my problem isn't >> there. My problem is that the summary printed in the first lines doesn't >> match the total of the process detailled under the summary. For example, I >> have a user CPU usage est 83.1% in the summary, but the only process worth >> mentionning in the list is mysqld that is taking 255.52% WCPU. That's far >> less than half the "CPU power" but 83% is far more. It's that difference >> that I don't understand. >> >> How is this possible? >> > man 1 top > > 83.1% doesn't mean what you think it does. > I just reread it and it isn't clearer what is using the CPU so much. Can you please give me a little more explanation?