[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Number of processors



On Tue, Dec 05, 2000 at 02:01:05PM -0500, Christopher W. Aiken wrote:
> A little off topic...
> 
> Does anyone know how to get the number of CPU's
> that a machine has using the "C" programming 
> language?    Any URL's on the subject?
> 
> Thanks you...
> 
What about parsing /proc/cpuinfo? (this requires you to have /proc filesystem).
				Miso&Frankie
-- 
Nietzche is dead.

Attachment: pgpjMg_qDigMT.pgp
Description: PGP signature


Reply to: