Solved

Get number of physical CPU

Posted on 2006-11-16
5
337 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Migrate Windows NT to Windows 2003 2 502
Repair old Windows 2000 boot 15 208
Running Baan iV on VMware 3 117
Automate postgres backups on windows and move it to linux box 15 88
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…
Some code to ensure data integrity when using macros within Excel. Also included code that helps secure your data within an Excel workbook.
This Micro Tutorial demonstrates using Microsoft Excel pivot tables, how to reverse engineer competitors' marketing strategies through backlinks.
Video by: Mark
This lesson goes over how to construct ordered and unordered lists and how to create hyperlinks.

920 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

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now