Multiple CPUs

Matthew Seaman m.seaman at infracaninophile.co.uk
Sat May 22 02:51:57 PDT 2004


On Fri, May 21, 2004 at 03:55:23PM -0700, Nicholas Bernstein wrote:
> How can one detect if a system is using multiple CPUs? 
> I'm running freebsd 4.9 and I was hoping that either uname or top would
> give some information as to whether or not the second cpu is being used.
> dmegs outputs the following:
> 
> 	CPU: Intel(R) Xeon(TM) CPU 2.40GHz (2399.33-MHz 686-class CPU)
> 
> but I want to make sure that this is not just showing it's been
> detected, as opposed to being used. 

    % sysctl hw.ncpu

	Cheers,

	Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.                       26 The Paddocks
                                                      Savill Way
PGP: http://www.infracaninophile.co.uk/pgpkey         Marlow
Tel: +44 1628 476614                                  Bucks., SL7 1TH UK
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20040522/a4e58cfd/attachment.bin


More information about the freebsd-questions mailing list