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

Re: Number of processors



> 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?

open /proc/cpuinfo and look how many processor entries it has.

mfg
  Mischel S aus P



Homepage: http://fsinfo.cs.uni-sb.de/~waldi

E-Mail:   sauer@studcs.uni-sb.de
          misa0000@stud.uni-sb.de
          AlfonTZ@web.de

ICQ:      #27995885



Reply to: