View Windows CPU of the server More Information
Let's take a look at several key properties of the Win32_Processor class:
Addresswidth On a 32-bit operating system, the value is a 64-bit operating system it is 64.
Architecture Processor architecture used by the platform.
Value |
Meaning |
0 (0x0) |
x86 |
1 (0x1) |
Mips |
2 (0x2) |
Alpha |
3 (0x3) |
Powerpc |
5 (0x5) |
Arm |
6 (0x6) |
itanium-based Systems |
9 (0x9) |
x64 |
NumberOfCores Number of cores for the current instance of the processor. A core is a physical processor on the integrated circuit. For example, in a Dual-core processor the property has a value of 2.
numberoflogicalprocessors Number of logical processors for the current instance of the processor. For processors capable of hyperthreading, this value includes only the processors which has hyperthreading enabled.
DOS command view
C:\users\xucy>wmic CPU Get Addresswidth,architecture,deviceid,name,numberofcores,numberoflogicalprocessors
Addresswidth Architecture DeviceID Name numberofcores numberoflogicalprocessors
9 CPU0 Intel (R) Xeon (r) CPU e5-2620 0 @ 2.00GHz 6 12
9 CPU1 Intel (R) Xeon (r) CPU e5-2620 0 @ 2.00GHz 6 12
PowerShell view
PS c:\users\xucy> Get-wmiobject-class Win32_Processor | Format-table-autosize addresswidth,architecture,deviceid,name,numberofcores,numberoflogicalprocessors
Addresswidth Architecture DeviceID Name numberofcores numberoflogicalprocessors
9 CPU0 Intel (R) Xeon (r) CPU e5-2620 0 @ 2.00GHz 6 12
9 CPU1 Intel (R) Xeon (r) CPU e5-2620 0 @ 2.00GHz 6 12
In summary, my CPU is dual six-core open Hyper-Threading.
Reference:
Win32_Processor class Https://msdn.microsoft.com/en-us/library/aa394373%28VS.85%29.aspx
This article is from the SQL Server deep dives blog, so be sure to keep this source http://ultrasql.blog.51cto.com/9591438/1629622
View CPU details for Windows servers