Knowledge

How many CPU cores on Ubuntu

#Hosting

This command for Ubuntu shows how many CPU cores are available on your machine.

Published by Mark van Eijk on September 2, 2024 · 1 minute read

Simple little command to get all the CPU cores active on your machine running on Ubuntu:

nproc --all

That's it!

Subscribe to our newsletter

Do you want to receive regular updates with fresh and exclusive content to learn more about web development, hosting, security and performance? Subscribe now!

Related articles

How to get top processes with highest memory usage

This command for Ubuntu shows how many CPU cores are available on your machine.

Read more →

How to get top processes with highest CPU usage

This command for Ubuntu shows how many CPU cores are available on your machine.

Read more →