Rocketeers
Features Providers Pricing Knowledge Docs Tools
Log in Start building
Features Providers Pricing Knowledge Docs Tools Log in

How many CPU cores on Ubuntu

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

MV Mark van Eijk 2 September 2024 · 1 minute read · Hosting

On this page

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.

Hosting gets messy when servers live at three providers and nobody has the full picture.

Rocketeers is the control panel for your own cloud. See how it handles this with Manage multiple cloud providers from one place.

Start building How it works

Get the next guide in your inbox.

Fresh, practical articles on web development, hosting, security and performance.

No spam. You confirm by email first.

More in Hosting.

All Hosting articles
  • How to get top processes with highest memory usage 1 minute read
  • How to get top processes with highest CPU usage 1 minute read
  • How to add Swap Space on Ubuntu servers 1 minute read
  • Disable unnecessary and unused PHP versions (FPM pools) 1 minute read
  • Reclaim disk space on Ubuntu server 1 minute read
  • How to check Ubuntu version 1 minute read
Rocketeers

Explore Mars. Be Rocketeer. The control panel for your own cloud, for developers, teams and agencies.

Product

  • Features
  • Providers
  • Pricing
  • Docs
  • Our story

Knowledge

  • AI
  • Command Line
  • Databases
  • Development
  • Email
  • Errors
  • Git
  • Hosting
  • Laravel
  • Nginx
  • PHP
  • Performance
  • Security

Tools

  • SSL checker
  • DNS lookup
  • DMARC checker
  • SPF checker
  • Security headers scanner
  • AI website scan
  • All tools
© 2026 Rocketeers
Contact Privacy Terms GitHub