How do I find the top 5 processes in Linux?

How do I find the top 5 processes in Linux?
Answer
Find Top 10 CPU Consuming Process
  1. –e : Select all the process.
  2. –o : User defined format, ps allows to specify the output format.
  3. –pid : Process ID list.
  4. –ppid : Parent process ID.
  5. –sort : Specify sorting order.
  6. cmd : Command’
  7. %cpu : CPU utilization of the process in “##.
 

Tìm kiếm

Back
Top