Monitoring CPU usage on multi-core system

Josh Carroll josh.carroll at gmail.com
Sun Aug 26 23:32:41 PDT 2007


On 8/27/07, Paul Hoffman <phoffman at 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


More information about the freebsd-questions mailing list