From owner-freebsd-questions@FreeBSD.ORG Mon Oct 18 19:12:52 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 C280C1065673 for ; Mon, 18 Oct 2010 19:12:52 +0000 (UTC) (envelope-from amvandemore@gmail.com) Received: from mail-yx0-f182.google.com (mail-yx0-f182.google.com [209.85.213.182]) by mx1.freebsd.org (Postfix) with ESMTP id 7A3198FC18 for ; Mon, 18 Oct 2010 19:12:52 +0000 (UTC) Received: by yxe42 with SMTP id 42so158136yxe.13 for ; Mon, 18 Oct 2010 12:12:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type; bh=pQtbbO2vFZzbBKIQ2pO+zPcFn/W3Rf+mhf0aKCmalrc=; b=J6WJviJkygKkz9McrZ8WtL7sGpnLfpEV4UBcz9iC7ZFvgSd+BC8WC9IfIdlRjNvLvf JFI+Js+XIqCqFDqJYOE/Xd59PbcdpS9RgMxuhbalY5Fxw3LBs6t6s2RC+SxkTfec9w1y MhBRVUaEAUhEXQ2zyHwTkC040KmG8nokl4pIY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=QILlErYq5yVBUGsUlsUPkoA+kNq/eTyEjkLR7BXQyRbIMDHR2qPA2O3i7XGZrSoPDX AVPTAbfZmn3xADXzxGnO8Hvm60Dr6aL8lys/I/gPHAHefqoN9JW5JkD2svQ1aWUdL7i6 4aA0aSg17wtptwG9upigddMW/MHAltPrpUuq8= MIME-Version: 1.0 Received: by 10.103.8.17 with SMTP id l17mr2932949mui.122.1287429171002; Mon, 18 Oct 2010 12:12:51 -0700 (PDT) Received: by 10.223.104.200 with HTTP; Mon, 18 Oct 2010 12:12:50 -0700 (PDT) In-Reply-To: <4CBC97CB.80604@optiksecurite.com> References: <20101015071719.1536f19e@mail.ose.nl> <4CBC97CB.80604@optiksecurite.com> Date: Mon, 18 Oct 2010 14:12:50 -0500 Message-ID: From: Adam Vande More To: Martin Turgeon Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 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 19:12:52 -0000 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. -- Adam Vande More