Want to know what process are consuming the most cpu resources on ubuntu system?. well, this time I will give you tips how to know 10 processes consuming most cpu resources through a terminal or command line interface
By knowing the process of consuming too many CPU resources, you can minimize or kill unneeded programs on the system. so, It would be helpful for you to give stability for the system that you are using
typing the following command in terminal to start monitoring in real-time processes:
watch -n 1 'ps aux | sort -nrk 4 | head'
The command will showing 10 processes that use resources most cpu every 1 second,