The VMware Knowledge Base provides support solutions, error messages and troubleshooting guides
Determining the number of cores per socket in a Windows virtual machine (1030067)
- VMware does not endorse or recommend any particular third-party utility, nor is this list meant to be exhaustive.
- The links provided here were correct as of October 19, 2012. If you find a link is broken, provide feedback and a VMware employee will update the link.
To check the number of cores for a CPU in a virtual machine, you can use one of these utilities:
Coreinfo is a Microsoft command-line utility, developed by Mark Russinovich. It displays the mapping between logical processors and the physical processor, NUMA node, and socket on which they reside. It also provides information on the cache assigned to each logical processor.
To check the distribution of cores across a socket, use the
coreinfo -c -scommand. To download and install Coreinfo, click here.
- CPU-Z utility
CPU-Z is a freeware application for Microsoft Windows operating systems which provides information about CPU, processor, cache, memory, system board, graphics, and other hardware features. To download and install CPU-Z, see http://www.cpuid.com/.
In the figure below, the
cpuid.coresPerSocketis set to 4, therefore the number of cores per CPU is 4:
Note: For information about setting the number of cores per socket in a virtual machine, see Setting the number of cores per CPU in a virtual machine (1010184).
- Microsoft System Information (MSINFO32)
MSINFO32 displays a comprehensive view of your hardware, system components, and software environment. For information on the list of switches that can be used with the MSINFO32 command in Windows 7, Windows Vista, and Windows XP, see the Microsoft Knowledge Base article 300887.
On Windows XP and 2008, you can use the
wmiccommand. At a Windows command prompt, run the command:
wmic cpu get NumberOfCores
Note: For more information on the
wmiccommand, see the Microsoft TechNet article WMIC - Take Command-line Control over WMI.
- CPU: The part of a computer system that performs the instructions of a computer program. It is the primary element that carries out the computer's functions.
- Core: A logical execution unit containing an L1 cache and functional units needed to execute programs. Cores can independently execute programs or threads.
- Socket: A physical connector on a computer motherboard that accepts a single physical chip.
Request a Product Feature
To request a new product feature or to provide feedback on a VMware product, please visit the Request a Product Feature page.