Wednesday, June 29, 2011

How many cores in CPU?

Running around with your hardware requirements for SharePoint 2010? And one of them that the server should have 4 cores? Wondering how do you know how many cores your server has?

The easiest way - run the PowerShell
((get-counter "\Processor(*)\% idle time").countersamples | select instancename).length -1

The easy way is to click on Computer-> Properties:

The neat way is to run task manager and look at the Performance tab under the CPU Usage History.
You have as many cores as many windows under the CPU Usage History!
Here is an example with one:

Here is an example with two: