Solved

Get number of physical CPU

Posted on 2006-11-16
5
341 Views
Last Modified: 2010-04-13
We need to get the number of physical CPU of each our server.

The "problem" here that hyperthreaded CPU are given as two CPU by any script (vb or other) we could find.

Is there a way to get the number of CPU in a different way ?

Example of an output :

Number of Physical CPU : 1
Hyperthreads on CPU : 2
Number of "virtual CPU : 2

Same with Dual Core .. although dual core are two CPU of course, but it would be good to get something like :

Number of Physical CPU : 1 (Dualcore)

Is there anything known we could use ? Even better would be a way to use it over the network ....
0
Comment
Question by:Cassavatech
  • 2
5 Comments
 
LVL 63

Expert Comment

by:SysExpert
ID: 17957349
I would try to get the output of winmsd and then run it throug a script to pull the info you need.

I hope this helps !
0
 
LVL 2

Author Comment

by:Cassavatech
ID: 17965359
Tried that already - the results are not clear enough :(
0
 
LVL 63

Accepted Solution

by:
SysExpert earned 500 total points
ID: 17967129
If you get the CPU type via the processor line

Processor      x86 Family 15 Model 1 Stepping 2 GenuineIntel ~1694 Mhz

That should give you enough info to determine exaactly what is in the machine.

You may have to get a table of all the different processors, but that single line will niquely determine the exact CPU type.

do a google search for a complete list or maybe MS or Intel will have one.

I hope this helps !
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

NTFS file system has been developed by Microsoft that is widely used by Windows NT operating system and its advanced versions. It is the mostly used over FAT file system as it provides superior features like reliability, security, storage, efficienc…
Many businesses neglect disaster recovery and treat it as an after-thought. I can tell you first hand that data will be lost, hard drives die, servers will be hacked, and careless (or malicious) employees can ruin your data.
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

790 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question