Page 1 of 1


Posted: 2021-Jul-25, 12:25 pm
by MigrationUser
14 Apr 2008 19:46

Okay I am trying to find a way to sort the processes by memory usage largest to smallest. I know if I piped the output into a file I could run a sort command or two, but is there a simpler way?


#2 28 Sep 2012 15:33

Im not sure if this is what you want

Code: Select all

ps -eo pmem,pid,user  --sort -pmem

#3 09 Jun 2013 04:03

you can run top then type 'M'