Re: Monitoring CPU usage on multi-core system

2007-08-29 Thread Emanuel Marufo
May systat can help you.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Monitoring CPU usage on multi-core system

2007-08-27 Thread Josh Carroll
On 8/27/07, Paul Hoffman [EMAIL PROTECTED] 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
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Monitoring CPU usage on multi-core system

2007-08-27 Thread Wojciech Puchar


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

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Monitoring CPU usage on multi-core system

2007-08-27 Thread Bob Johnson
On 8/27/07, Paul Hoffman [EMAIL PROTECTED] 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?

Try:

top -S

or while you are running top, just press shift-S.

- Bob
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Monitoring CPU usage on multi-core system

2007-08-26 Thread Paul Hoffman
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?

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]