[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 282
  • Last Modified:

physical server processor details

Where within a physical (not VM) window server could you obtain a list of processor information, i.e. number of physical processors, number of logical processors, number of cores etc. Without installing a tool. Or any lightweight tools which can do this, ideally something built into the OS though.
2 Solutions
Chad FranksCommented:
Here is what you need.  You can download third party tools if you need to be more granular...

With this built-in OS command you can get the Processor information:
wmic cpu get NumberOfLogicalProcessors,NumberOfCores,MaxClockSpeed

Open in new window

Every line of data indicates a CPU. So by counting the lines you can get the number of CPU's.

The following command gets all processor information, formatted as list or csv.
wmic cpu list /format:list
wmic cpu list /format:csv

Open in new window

For options:
wmic cpu list /?

You can also specify the wmic commands in this format:
wmic path Win32_Processor get NumberOfLogicalProcessors,NumberOfCores,MaxClockSpeed
wmic path Win32_Processor get /format:list
wmic path Win32_Processor get /format:csv

Open in new window

There are several other format and output options with wmic.

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Tackle projects and never again get stuck behind a technical roadblock.
Join Now