Date: Sat, 27 Feb 1999 21:37:02 +0000 (GMT) From: Terry Lambert <tlambert@primenet.com> To: mturpin@saturn.spel.com (Mark Turpin) Cc: smp@FreeBSD.ORG Subject: Re: Determining the number of processors? Message-ID: <199902272137.OAA16255@usr09.primenet.com> In-Reply-To: <Pine.BSF.4.05.9902271625180.61883-100000@saturn.spel.com> from "Mark Turpin" at Feb 27, 99 04:27:39 pm
next in thread | previous in thread | raw e-mail | index | archive | help
> Is there any way, in a program, to find out how many processors > a machine has? man 3 sysctlbyname You are looking for the oid "hw.ncpu". Terry Lambert terry@lambert.org --- Any opinions in this posting are my own and not those of my present or previous employers. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-smp" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199902272137.OAA16255>