Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 27 Aug 2007 02:32:37 -0400
From:      "Josh Carroll" <josh.carroll@gmail.com>
To:        "Paul Hoffman" <phoffman@proper.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Monitoring CPU usage on multi-core system
Message-ID:  <8cb6106e0708262332xbf9aaaah8cb2a3452f0e21bb@mail.gmail.com>
In-Reply-To: <p06240802c2f80089e7f0@10.20.30.108>
References:  <p06240802c2f80089e7f0@10.20.30.108>

next in thread | previous in thread | raw e-mail | index | archive | help
On 8/27/07, Paul Hoffman <phoffman@proper.com> 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?8cb6106e0708262332xbf9aaaah8cb2a3452f0e21bb>