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!
To check available memory too, see how much RAM memory is on your server, and which processes use the most CPU.
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!