If you're experiencing slowness on your server, you can see which processes are consuming the most CPU and memory using the ps command.
You can see all of the processes with the command:
Here are a few practical examples, to get the details you need to know which processes are using the most resources.
Sort processes by memory used and see the top 10 processes:
ps aux --sort -rss | head -10
Sort processes by CPU and see the top 10 processes:
ps aux --sort -%cpu | head -10
If you are having trouble finding the process causing the high load, it is recommended you reach out to your System Administrator or hire a qualified one. You can find many for hire on our website here: