From owner-freebsd-questions@FreeBSD.ORG Mon Aug 27 06:32:41 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 13A6A16A418 for ; Mon, 27 Aug 2007 06:32:41 +0000 (UTC) (envelope-from josh.carroll@gmail.com) Received: from py-out-1112.google.com (py-out-1112.google.com [64.233.166.179]) by mx1.freebsd.org (Postfix) with ESMTP id 97A3F13C45A for ; Mon, 27 Aug 2007 06:32:39 +0000 (UTC) (envelope-from josh.carroll@gmail.com) Received: by py-out-1112.google.com with SMTP id u77so754653pyb for ; Sun, 26 Aug 2007 23:32:38 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=PYnLaGKa3rZCv7KsPVMXZ+R0Op734Q5XQ3oX2LhKDfm2JXtsDmdcSHDAe5uN59eQT3IZwfuaZM1IEaoOAX1irjXud/7mN0wO/7enDIzpR1kzvm5RmMxQ7ovfXEjDY2n8hKGdTL5hKcHY8XZioxp88ji55y+MbV4Bo1ZK4TpgDfY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=ON0Sr9QDBDBvK/VG6+XJaRS2MiKomI4yvlPywt6U0GqwcPvgNUWO2G1qI1PDeQf7TQ/GB514FNbpLvrtVqDuHB/sQYkijO8O8kIlDbmJfmhWGI8Q9gMnwTkEnOEN6ew8IFZ5IK4QswIOwP4av+XA+fN4z/Jdx8DoyBX0IwVXw5E= Received: by 10.35.41.8 with SMTP id t8mr7180178pyj.1188196357804; Sun, 26 Aug 2007 23:32:37 -0700 (PDT) Received: by 10.35.128.7 with HTTP; Sun, 26 Aug 2007 23:32:37 -0700 (PDT) Message-ID: <8cb6106e0708262332xbf9aaaah8cb2a3452f0e21bb@mail.gmail.com> Date: Mon, 27 Aug 2007 02:32:37 -0400 From: "Josh Carroll" To: "Paul Hoffman" In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: 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 Reply-To: josh.carroll@gmail.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 27 Aug 2007 06:32:41 -0000 On 8/27/07, Paul Hoffman wrote: > 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 there something in ports (that works without X...) that > will give good info? The CPU states line in top is for all processors combined. That is, if you see 100% user, it's using all cores/processors. You will see individual processes in state CPU1 or RUN. If a processes is multi-threaded, you may see CPU % > 100%. Josh