Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

How to find the no of PROC CORES in a Windows Server

Posted on 2010-09-08
9
1,193 Views
Last Modified: 2013-12-13
I want to find the no of cores available on the server. Is tehre a way to do this without 3rd party tools?

System info gives only the processor information as below
Processor      x86 Family 15 Model 4 Stepping 3 GenuineIntel ~2793 Mhz
Processor      x86 Family 15 Model 4 Stepping 3 GenuineIntel ~2793 Mhz
Processor      x86 Family 15 Model 4 Stepping 3 GenuineIntel ~2793 Mhz
Processor      x86 Family 15 Model 4 Stepping 3 GenuineIntel ~2793 Mhz
0
Comment
Question by:JaveedShaik
  • 3
  • 3
  • 3
9 Comments
 
LVL 28

Accepted Solution

by:
sunnyc7 earned 500 total points
ID: 33631676
Download belarc advisor
Run the tool
http://www.belarc.com/free_download.html

That gives you the number of cores
0
 
LVL 70

Expert Comment

by:KCTS
ID: 33631682
do a CTRL-ALT-DEL and go to task manager. Select the Performace tab, In CPU Usage History you should see one or more little graphs one for each processor
0
 

Author Comment

by:JaveedShaik
ID: 33631873
Task Manager gives the no of processors and I cant install any 3rd party tools.
Does anyone know the parameter in WMI to find the no of cores?
0
Optimizing Cloud Backup for Low Bandwidth

With cloud storage prices going down a growing number of SMBs start to use it for backup storage. Unfortunately, business data volume rarely fits the average Internet speed. This article provides an overview of main Internet speed challenges and reveals backup best practices.

 
LVL 28

Expert Comment

by:sunnyc7
ID: 33631887
start > run > cmd

wmic cpu get NumberOfCores

thanks
0
 
LVL 28

Assisted Solution

by:sunnyc7
sunnyc7 earned 500 total points
ID: 33631911
tested it > it works with a simple answer

---

C:\Users\Administrator>wmic cpu get NumberOfCores
NumberOfCores
2
0
 
LVL 70

Expert Comment

by:KCTS
ID: 33631958
Task manager actually shows one graph for each processor core
0
 
LVL 70

Expert Comment

by:KCTS
ID: 33631987
... see this - from my single processor 2 core machine


cores.jpg
0
 

Author Comment

by:JaveedShaik
ID: 33632068
KCTS: The task manager shows the hyper threaded CPU's.
My laptop has 1 Processof and two cores and the attached is what it shows

The attached code works on my laptop (win 7 x64)  but not on the server. Aaarrrgg
SunnyC7 thanks for the code. It works on my laptop too but not on the server (win2k3 Std SP2)...
 Oh boy why is this so frustrating?
 

strComputer = "."
Set objWMIService = GetObject("winmgmts:" _
    & "{impersonationLevel=impersonate}!\\" _
    & strComputer & "\root\cimv2")
Set colSettings = objWMIService.ExecQuery _
    ("Select * from Win32_ComputerSystem")
For Each objComputer in colSettings 
    Wscript.Echo "System Name: " & objComputer.Name
    Wscript.Echo "Number of Processors: " & _
        objComputer.NumberOfProcessors
Next


Set colItems = objWMIService.ExecQuery(_
    "Select * from Win32_Processor")
For Each objItem in colItems
    Wscript.Echo "No of Cores: " _
        & objItem.NumberOfCores
Next

Open in new window

TM.jpg
0
 

Author Closing Comment

by:JaveedShaik
ID: 33632753
Provides partial answer
0

Featured Post

The Eight Noble Truths of Backup and Recovery

How can IT departments tackle the challenges of a Big Data world? This white paper provides a roadmap to success and helps companies ensure that all their data is safe and secure, no matter if it resides on-premise with physical or virtual machines or in the cloud.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Learn to move / copy / export exchange contacts to iPhone without using any software. Also see the issues in configuration of exchange with iPhone to migrate contacts.
This article explains how to install and use the NTBackup utility that comes with Windows Server.
The video tutorial explains the basics of the Exchange server Database Availability groups. The components of this video include: 1. Automatic Failover 2. Failover Clustering 3. Active Manager
In this fifth video of the Xpdf series, we discuss and demonstrate the PDFdetach utility, which is able to list and, more importantly, extract attachments that are embedded in PDF files. It does this via a command line interface, making it suitable …

856 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question