Contents
How do I find the top memory consuming process in Linux?
Press SHIFT+M —> This will give you a process which takes more memory in descending order. This will give the top 10 processes by memory usage. Also you can use vmstat utility to find the RAM usage at same time not for history.
How do you check Top 5 CPU consuming process in Linux?
2) How to Find High CPU Consumption Process in Linux Using the ps Command
- ps : This is a command.
- -e : Select all processes.
- -o : To customize a output format.
- –sort=-%cpu : Sort the ouput based on CPU usage.
- head : To display first 10 lines of the output.
- PID : Unique ID of the process.
10 дек. 2019 г.