I've been delving a little deeper into this and certianly have a saner
implementation for both Linux and users of Cygwin.
A couple of notes in that regard:
1. The 'ht' flag indicates that the processor has that ability, not that
it allows you to turn it on (or that it is turned on). It's not us
cpu count : 2
> apic id : 1
> cpu MHz : 2793
> fpu : yes
> flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge
> mca cmov pat pse36 clfl dtes acpi mmx fxsr sse
> e2 ss htt tmi pbe cid
>
> -Original Message--
Point taken on the configurability.
I think a strong argument can be made for the number of cores as being the
default for cpu_num.
However, it's also quite sensible to have the other two measures: number
of physical CPUs,
and number of virtual CPUs (what gmond currently reports).
How about, i
I want to bring attention to Bugzilla item 84 -- a patch submitted to fix
improper reporting
of cpu_num on hyperthreaded Intel processors.
The patch causes it to report the number of CPU cores rather than the
number of virtual
CPUs.