Re: number of CPUs

peeterj@ca.ibm.com
Fri, 16 Apr 1999 23:52:09 -0400


Hi Albert,

sysconf(_SC_NPROCESSORS_CONF) works nicely.

Peeter

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/