On Wed, May 24, 2000 at 12:48:44AM -0400, John Kacur wrote: > Is there any way to detect whether the computer is running an smp > kernel? I know you can parse /proc/cpuinfo, but I was looking more for > something like a system call. > Thanks #include <unistd.h> sysconf (_SC_NPROCESSORS_CONF) sysconf (_SC_NPROCESSORS_ONLN) H.J. - Linux SMP list: FIRST see FAQ at http://www.irisa.fr/prive/dmentre/smp-howto/ To Unsubscribe: send "unsubscribe linux-smp" to [EMAIL PROTECTED]
- detecting smp from user space John Kacur
- Re: detecting smp from user space H . J . Lu
- Re: detecting smp from user space Alan Cox
