Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 22 May 2004 10:51:31 +0100
From:      Matthew Seaman <m.seaman@infracaninophile.co.uk>
To:        Nicholas Bernstein <nick@docmagic.com>
Cc:        freebsd-questions <freebsd-questions@freebsd.org>
Subject:   Re: Multiple CPUs
Message-ID:  <20040522095131.GA3286@happy-idiot-talk.infracaninophile.co.uk>
In-Reply-To: <1085180123.14842.24.camel@nick.docmagic.com>
References:  <1085180123.14842.24.camel@nick.docmagic.com>

next in thread | previous in thread | raw e-mail | index | archive | help

--y0ulUmNC+osPPQO6
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Fri, May 21, 2004 at 03:55:23PM -0700, Nicholas Bernstein wrote:
> How can one detect if a system is using multiple CPUs?=20
> 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:
>=20
> 	CPU: Intel(R) Xeon(TM) CPU 2.40GHz (2399.33-MHz 686-class CPU)
>=20
> but I want to make sure that this is not just showing it's been
> detected, as opposed to being used.=20

    % sysctl hw.ncpu

	Cheers,

	Matthew

--=20
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

--y0ulUmNC+osPPQO6
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (FreeBSD)

iD8DBQFAryKjiD657aJF7eIRAsiVAKCYl9ntVowmjl6WCN9RBEkz189sygCfeJ0l
e9saslseWFpEFGmTvr/lI/U=
=rua8
-----END PGP SIGNATURE-----

--y0ulUmNC+osPPQO6--



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