I’m trying to figure out how properties of all my “Windows” servers. What I need to know is processor type, speed, single/dual/quad core and hyper threading enabled? This is what I have so far:
(significant digits 2 of (speed of main processor / mhz)) as string & " MHz " & family name of main processor as string & (if it > 1 then " x" & it as string else “”) of ( if ( exists true whose ( if true then ( exists physical processor count ) else false ) ) then physical processor count else number of processors )
This returns the following “example”
2800 MHz Intel® Xeon® CPU X5560 @ 2.80GHz
2800 MHz Intel® Xeon® CPU X5560 @ 2.80GHz x2
How do I know if it is single, dual ro quad core and if hyperthreading is enabled?
In 8.2, there is an object called cpuproperty where you can get this information. For example, I ran the following on my machine which has an i5 with hyperthreading enabled:
Q: smt enabled of cpupackage
A: True
Q: core of cpupackage
A: 2
Q: number of processors
A: 4
You can see the traditional way of using the processors object gives a different answer. Hope this helps!