How Do You Check Top 5 Memory Consuming Process in Linux?

How Do You Check Top 5 Memory Consuming Process in Linux?
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

  1. ps : This is a command.
  2. -e : Select all processes.
  3. -o : To customize a output format.
  4. –sort=-%cpu : Sort the ouput based on CPU usage.
  5. head : To display first 10 lines of the output.
  6. PID : Unique ID of the process.

10 дек. 2019 г.

Alexander Ross
Author

Alexander Ross

Alexander Ross has covered the video game industry for a decade, writing deep dives on game design, esports tournaments, VR developments, and gaming culture.