Tag: sort

How to List Linux Processes by Memory Usage

Use this command to list Linux processes according to their memory usage in descending order (via Linux Questions): ps -e -orss=,args= | sort -b -k1,1nr | pr -TW$COLUMNS The output will look something like this: 181300 /usr/sbin/clamd 64144 amavisd (ch9-avail)...

/ March 25, 2013