?
Solved

Get number of physical CPU

Posted on 2006-11-16
5
Medium Priority
?
345 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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 2000 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

Want to be a Web Developer? Get Certified Today!

Enroll in the Certified Web Development Professional course package to learn HTML, Javascript, and PHP. Build a solid foundation to work toward your dream job!

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…
In the absence of a fully-fledged GPO Management product like AGPM, the script in this article will provide you with a simple way to watch the domain (or a select OU) for GPOs changes and automatically take backups when policies are added, removed o…
In this video, Percona Director of Solution Engineering Jon Tobin discusses the function and features of Percona Server for MongoDB. How Percona can help Percona can help you determine if Percona Server for MongoDB is the right solution for …
How to fix incompatible JVM issue while installing Eclipse While installing Eclipse in windows, got one error like above and unable to proceed with the installation. This video describes how to successfully install Eclipse. How to solve incompa…
Suggested Courses

777 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