From owner-freebsd-questions@FreeBSD.ORG Mon Aug 27 06:46:10 2007 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 430C016A417 for ; Mon, 27 Aug 2007 06:46:10 +0000 (UTC) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from wojtek.tensor.gdynia.pl (wojtek.tensor.gdynia.pl [IPv6:2001:4070:101:2::1]) by mx1.freebsd.org (Postfix) with ESMTP id 72B0A13C45A for ; Mon, 27 Aug 2007 06:46:08 +0000 (UTC) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from wojtek.tensor.gdynia.pl (localhost [IPv6:::1]) by wojtek.tensor.gdynia.pl (8.13.8/8.13.8) with ESMTP id l7R6k3wq010584; Mon, 27 Aug 2007 08:46:03 +0200 (CEST) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from localhost (wojtek@localhost) by wojtek.tensor.gdynia.pl (8.13.8/8.13.8/Submit) with ESMTP id l7R6k3fS010581; Mon, 27 Aug 2007 08:46:03 +0200 (CEST) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Date: Mon, 27 Aug 2007 08:46:03 +0200 (CEST) From: Wojciech Puchar To: Paul Hoffman In-Reply-To: Message-ID: <20070827084502.J10574@wojtek.tensor.gdynia.pl> References: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: freebsd-questions@freebsd.org Subject: Re: Monitoring CPU usage on multi-core system 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, 27 Aug 2007 06:46:10 -0000 > Hi again. On a dual-core system, how do I tell how much of each of the CPU > cores are in use? Is the CPU usage in 'top' for the two CPUs at once? Is top in first line sums all CPUs, while at process line gives usage of single CPU. so for example running one CPU-hungry program you will see near 100% CPU at this process and 50% user at top line+50% idle