How Do You List the Top Memory Consuming Process in Linux?
Contents

How do I find the top memory consuming process in Linux?

Check Top Processes sorted by RAM or CPU Usage in Linux

A favorite of mine is to show the processes’ PIDs (pid), PPIDs (pid), the name of the executable file associated with the process (cmd), and the RAM and CPU utilization ( %mem and %cpu , respectively).

How do I check my top memory usage?

If you want to make top a bit more memory-friendly, issue the command top -o %MEM, which will cause top to sort all processes by memory used (Figure 2). Figure 2: Sorting process by memory used in top. The top command also gives you a real-time update on how much of your swap space is being used.

Alexander Ross

Alexander Ross

Gaming, Esports & Interactive Media Writer

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

Share this article
Twitter Facebook Pinterest