unix

How do I find the processes consuming the most memory on my Linux server?

To sort the processes by memory consumption, you can use the following ps command:

ps -eo pmem,pcpu,rss,vsize,args | sort -k 1 -r | more

Click to comment

Leave a Reply

Your email address will not be published. Required fields are marked *

To Top