0

In this tip we will see how to use the terminal to monitor system processes to find out which one of them is using much CPU resources. This will allow you to kill any unnecessary process to render stability to your system.

The tip is tested under Ubuntu and may work in other Linux-based distributions. So, open the terminal and run this command to start monitoring in real-time processes:

watch -n 1 'ps -aux | sort -nrk 4 | head'

The command will sort processes by cpu usage.

That's it!

Post a Comment

 
Top