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 anything for them).

Would it be a good idea to add some text to these syctls?

kern.ccpu:
hw.acpi.cpu.cx_history:
machdep.hlt_cpus:

-- 
Craig Rodrigues        
http://crodrigues.org
[EMAIL PROTECTED]
_______________________________________________
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to