You can obtain information on the
Central
Processing Unit (CPU) in a system
running a Microsoft Windows
operating system
(OS) using
Windows Management Instrumentation Command-line (WMIC) commands. To
see the value of all parameters,
open a command prompt window
and issue the command wmic /namespace:\\root\cimv2 path win32_processor
get /format:list
(using the /format option, you can see the information
in a more readable fashion).
C:\>wmic /namespace:\\root\cimv2 path win32_processor get /format:list AddressWidth=64 Architecture=9 AssetTag=UNKNOWN Availability=3 Caption=Intel64 Family 6 Model 85 Stepping 4 Characteristics=252 ConfigManagerErrorCode= ConfigManagerUserConfig= CpuStatus=1 CreationClassName=Win32_Processor CurrentClockSpeed=2195 CurrentVoltage=16 DataWidth=64 Description=Intel64 Family 6 Model 85 Stepping 4 DeviceID=CPU0 ErrorCleared= ErrorDescription= ExtClock=100 Family=179 InstallDate= L2CacheSize=14336 L2CacheSpeed= L3CacheSize=19712 L3CacheSpeed=0 LastErrorCode= Level=6 LoadPercentage=3 Manufacturer=GenuineIntel MaxClockSpeed=2195 Name=Intel(R) Xeon(R) Gold 5120 CPU @ 2.20GHz NumberOfCores=14 NumberOfEnabledCore=14 NumberOfLogicalProcessors=28 OtherFamilyDescription= PartNumber= PNPDeviceID= PowerManagementCapabilities= PowerManagementSupported=FALSE ProcessorId=BFEBFBFF00050654 ProcessorType=3 Revision=21764 Role=CPU SecondLevelAddressTranslationExtensions=TRUE SerialNumber= SocketDesignation=CPU0 Status=OK StatusInfo=3 Stepping= SystemCreationClassName=Win32_ComputerSystem SystemName=MUNICH ThreadCount=28 UniqueId= UpgradeMethod=1 Version= VirtualizationFirmwareEnabled=TRUE VMMonitorModeExtensions=TRUE VoltageCaps= C:\>
You can see other options for the output format using the command shown below.
C:\>wmic /namespace:\\root\cimv2 path win32_processor get /format /?
Keyword/XSL filename to process XML results.
USAGE:
/FORMAT:<format specifier>
NOTE: <formatspecifier> : ((<transformname>|<transformname> : <paramstring>)[,<formatspecifier>]).
where <paramstring>:((<parametername>=<value>)[:<paramstring>]).
NOTE: <transformname> is a <key word> or an <xsl file name>.
Keywords:
CSV
HFORM
HTABLE
LIST
MOF
RAWXML
TABLE
VALUE
top
htable-sortby
htable-sortby.xsl
texttablewsys
texttablewsys.xsl
wmiclimofformat
wmiclimofformat.xsl
wmiclitableformat
wmiclitableformat.xsl
wmiclitableformatnosys
wmiclitableformatnosys.xsl
wmiclivalueformat
wmiclivalueformat.xsl
C:\>
If you only want to see the values for specific parameters such as the CPU manufacturer or the CPU description, you can issue commands like those shown below.
C:\>wmic /namespace:\\root\cimv2 path win32_processor get manufacturer,name,status Manufacturer Name Status GenuineIntel Intel(R) Xeon(R) Gold 5120 CPU @ 2.20GHz OK C:\>wmic /namespace:\\root\cimv2 path win32_processor get caption Caption Intel64 Family 6 Model 85 Stepping 4 C:\>wmic /namespace:\\root\cimv2 path win32_processor get manufacturer,name,caption,status /format:list Caption=Intel64 Family 6 Model 85 Stepping 4 Manufacturer=GenuineIntel Name=Intel(R) Xeon(R) Gold 5120 CPU @ 2.20GHz Status=OK C:\>