Solved

Get number of physical CPU

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

Highfive + Dolby Voice = No More Audio Complaints!

Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

Join & Write a Comment

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…
For cloud, the “train has left the station” and in the Microsoft ERP & CRM world, that means the next generation of enterprise software from Microsoft is here: Dynamics 365 is Microsoft’s new integrated business solution that unifies CRM and ERP fun…
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…
You have products, that come in variants and want to set different prices for them? Watch this micro tutorial that describes how to configure prices for Magento super attributes. Assigning simple products to configurable: We assigned simple products…

759 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

17 Experts available now in Live!

Get 1:1 Help Now