Craig Rodrigues <[EMAIL PROTECTED]> 27 lines of wisdom included:
> What is the difference between these two sysctls?
>
> kern.smp.cpus: Number of CPUs online
> hw.ncpu: Number of active CPUs
These two are exactly the same thing from the little SMP I have done
with FreeBSD. I would use hw.ncpu, as
Hi,
I want to write some C code to get a count of the number of
CPU's on a running system.
What is the difference between these two sysctls?
kern.smp.cpus: Number of CPUs online
hw.ncpu: Number of active CPUs
Also, can someone give a brief description of these sysctls (sysctl -d
doesn't show an
2 matches
Mail list logo