Knowledge
How to get processes with highest memory usage
#Performance
This command shows you which processes are eating all of your server memory.
Published on August 12, 2022 · 1 minute read
Run this command to show the top 10 processes that are using the most memory (RAM) on your server:
ps -eo cmd,%mem --sort=-%mem | 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!
Related articles
How to get processes with highest CPU usage
This command shows you which processes are eating all of your server memory.