Questions about CPU related sysctls
From: Craig Rodrigues (rodrigc_at_crodrigues.org)
Date: 02/25/04
- Previous message: John Baldwin: "Re: Local APIC on FreeBSD/i386"
- Next in thread: Philip Reynolds: "Re: Questions about CPU related sysctls"
- Reply: Philip Reynolds: "Re: Questions about CPU related sysctls"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Wed, 25 Feb 2004 16:46:18 -0500 To: freebsd-hackers@freebsd.org
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 rodrigc@crodrigues.org _______________________________________________ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org"
- Previous message: John Baldwin: "Re: Local APIC on FreeBSD/i386"
- Next in thread: Philip Reynolds: "Re: Questions about CPU related sysctls"
- Reply: Philip Reynolds: "Re: Questions about CPU related sysctls"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
|