toddvoros
asked on
Need WMI query to get ACCURATE number of cores, number of sockets, and status of HyperThreading
I need a WMI query to get an ACCURATE number of sockets, ACCURATE number of cores, and ACCURATE status if HyperThreading is on or off on a large set of servers. Any suggestions on how to implement this would be greatly appreciated. I need support for both AMD and Intel chipsets.
Note: Some tools I have found for this report INACCURATE info, such as Hyperthreading being
enabled on older AMD chips (impossible). Also, some tools report dual core chips as single core
chips and hyperthreading reporting as physical CPU cores.
Note: Some tools I have found for this report INACCURATE info, such as Hyperthreading being
enabled on older AMD chips (impossible). Also, some tools report dual core chips as single core
chips and hyperthreading reporting as physical CPU cores.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Any other suggestions?
You haven't explained why the suggestions already given won't work. You need to work with the experts if you want to get something out of this.
ASKER
Still looking for a commercial product that provide this info for W2000 and W2003 servers.
Intel had a nice free utility but it only works with W2008 and XP which doesn't help me.
No one has been able to provide be with anything that provide this info accurately so far.
Intel had a nice free utility but it only works with W2008 and XP which doesn't help me.
No one has been able to provide be with anything that provide this info accurately so far.
Intel had a utility called cpucount.exe https://www.experts-exchange.com/questions/22984160/How-to-determine-number-of-processers-on-a-box.html, but the link doesn't seem to work anymore. I have attached the file with a txt extension, but it should work if you rename it without the txt.
cpucount.exe.txt
cpucount.exe.txt
ASKER
That utility only works on W2008 and XP. I need W2000 and W2003.
I was in the middle of writing a replacement WMI provider to get that additional info... but I abandoned the project when Microsoft added this missing feature to WinXPSP3, WinS2003R2, and Vista. I got as far as a test harness application and a DLL file. Both work, but I haven't touch it since 2004.
I'd be willing to share my source code... do you have anyone who can work with C++ ?
I'd be willing to share my source code... do you have anyone who can work with C++ ?
toddvoros,
You haven't given feedback on http://www.codeproject.com/KB/system/countingprocessors.aspx or https://www.experts-exchange.com/questions/22072134/Determine-physical-CPU-count-for-a-computer-using-C.html.
You haven't given feedback on http://www.codeproject.com/KB/system/countingprocessors.aspx or https://www.experts-exchange.com/questions/22072134/Determine-physical-CPU-count-for-a-computer-using-C.html.
ASKER
Graye: Please send me your C++ code, it might give me what I need.
Okey Dokey.... I've placed the zip file on my web server http://www.emmet-gray.com/ temp/CPUID .zip
Remember, I haven't touched this since about 2004
Remember, I haven't touched this since about 2004
https://www.experts-exchange.com/questions/23820821/Detect-number-of-physical-processors-and-type-single-dual-hyper-etc.html
https://www.experts-exchange.com/questions/22072134/Determine-physical-CPU-count-for-a-computer-using-C.html