e Learning

How Many Cores Does My CPU Have?

In this tutorial, you will learn how to find out how many cores your computer has (In Windows, Linux, and macOS).

If you are working on a Windows PC, do the following steps to check how many CPU cores you have.

  1. Open the Task Manager by pressing Ctrl+Shift+Esc.
  2. Click More details if you don’t see the Performance tab.
  3. Go to the Performance tab and click CPU in the left pane.
  4. CPU details appear below the utilization graph, including Core count, Thread count (Logical processors), and Clock speed.
How Many Cores Does My CPU Have?

On Windows, you can also use the following CMD command to find out how many cores your CPU has:

wmic cpu get NumberOfCores

In Linux, you can run the lscpu command in the command prompt to get CPU information. Look at the Core(s) per socket directive for CPU Core count.

Lscpu Cores per socket
lscpu command

To get the Core count only, run the lscpu command as follows:

lscpu | grep "Core(s)"

On Mac, run the following command at the terminal:

sysctl hw.ncpu