How Many Cpu Cores Do I Have Linux?
Contents

How do you check how many CPU cores you have Linux?

You can use one of the following command to find the number of physical CPU cores including all cores on Linux:

  1. lscpu command.
  2. cat /proc/cpuinfo.
  3. top or htop command.
  4. nproc command.
  5. hwinfo command.
  6. dmidecode -t processor command.
  7. getconf _NPROCESSORS_ONLN command.

How many CPU cores do I have?

Select Performance and the main pane will change to show the current state of the CPU. Beneath the graph you’ll see a listing for Cores: with the number included on your CPU displayed to the right.

Sarah Jenkins

Sarah Jenkins

Senior Technology Editor & AI Specialist

Sarah Jenkins is a veteran tech journalist with over 12 years of experience covering artificial intelligence, mobile innovations, and digital ethics. Her insights have appeared in leading technology publications worldwide.

Share this article
Twitter Facebook Pinterest