How Do You Find Which Process Is Taking How Much Cpu in Linux?
Contents How Do You Find Which Process Is Taking How Much Cpu? the Ps Command Command Displays Every Process ( -E ) with a User-Defined Format ( -O Pcpu )...
Contents
How do you find which process is taking how much CPU?
The ps command command displays every process ( -e ) with a user-defined format ( -o pcpu ). First field is pcpu (cpu utilization). It is sorted in reverse order to display top 10 CPU eating process.
Which process is taking high CPU 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.