How to get top processes with highest CPU usage - Rocketeers app

  [ Rocketeers ](/)   

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

 On this page

 Knowledge
---------

How to get top processes with highest CPU usage
===============================================

### [\#Hosting](https://rocketeersapp.com/knowledge/hosting)

Want to know what's causing your server to slow down or what's keeping all these resources for itself. This command shows you which processes take it all.

 Published by [Mark van Eijk](https://rocketeersapp.com/author/mark-van-eijk) on August 12, 2022 · 1 minute read

Run this commando to show top 10 processes that are using the most CPU on your server:

 ```
ps -eo cmd,%cpu --sort=-%cpu | head -n 11

```

### 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://rocketeersapp.com/knowledge/hosting)

- [How to get top processes with highest memory usage](https://rocketeersapp.com/knowledge/top-processes-memory)
- [How to add Swap Space on Ubuntu servers](https://rocketeersapp.com/knowledge/add-swap-space-on-ubuntu)
- [Disable unnecessary and unused PHP versions (FPM pools)](https://rocketeersapp.com/knowledge/disable-unused-php-fpm-pools)
- [Reclaim disk space on Ubuntu server](https://rocketeersapp.com/knowledge/reclaim-diskspace-on-ubuntu)
- [How to check Ubuntu version](https://rocketeersapp.com/knowledge/ubuntu-version)
- [Zero downtime deployments using PHP-FPM and nginx](https://rocketeersapp.com/knowledge/zero-downtime-php-deployments)

 [View all 16 articles →](https://rocketeersapp.com/knowledge/hosting)
