Linux – How to Sort Processes by Memory Usage

linuxmemory

I am able to see the list of all the processes and the memory via

ps aux 

and going through the VSZ and RSS

Is there a way to sort down the output of this command by the descending order on RSS value?

Best Answer

Use the following command:

ps aux --sort -rss

Check here for more Linux process memory usage

Related Question