How many CPU cores on Ubuntu - Prador

  [ Rocketeers ](/)   

[Login](https://app.rocketeersapp.com) 

 On this page

 Knowledge
---------

How many CPU cores on Ubuntu
============================

### [\#Hosting](https://3c80d338-d724-4b4e-9f6d-145bb1e3d26e.rocketeers.cloud/hosting)

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

 Published by [Mark van Eijk](https://3c80d338-d724-4b4e-9f6d-145bb1e3d26e.rocketeers.cloud/author/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](/how-much-memory-on-ubuntu), and [which processes use the most CPU](/top-processes-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!

  Fill in your email address to receive updates  Subscribe 

#### More in [\#Hosting](https://3c80d338-d724-4b4e-9f6d-145bb1e3d26e.rocketeers.cloud/hosting)

- [How to get top processes with highest CPU usage](https://3c80d338-d724-4b4e-9f6d-145bb1e3d26e.rocketeers.cloud/top-processes-cpu)
- [How to get top processes with highest memory usage](https://3c80d338-d724-4b4e-9f6d-145bb1e3d26e.rocketeers.cloud/top-processes-memory)
- [How to add Swap Space on Ubuntu servers](https://3c80d338-d724-4b4e-9f6d-145bb1e3d26e.rocketeers.cloud/add-swap-space-on-ubuntu)
- [Reclaim disk space on Ubuntu server](https://3c80d338-d724-4b4e-9f6d-145bb1e3d26e.rocketeers.cloud/reclaim-diskspace-on-ubuntu)
- [Disable unnecessary and unused PHP versions (FPM pools)](https://3c80d338-d724-4b4e-9f6d-145bb1e3d26e.rocketeers.cloud/disable-unused-php-fpm-pools)
- [How to check Ubuntu version](https://3c80d338-d724-4b4e-9f6d-145bb1e3d26e.rocketeers.cloud/ubuntu-version)

 [View all 16 articles →](https://3c80d338-d724-4b4e-9f6d-145bb1e3d26e.rocketeers.cloud/hosting)
