You are not logged in.

#1 14 Apr 2008 19:46

markusfarkus
Member
Registered: 19 Dec 2006
Posts: 4

ps

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?

Offline

#2 28 Sep 2012 15:33

reservedeler
Member
Registered: 28 Sep 2012
Posts: 1

Re: ps

Im not sure if this is what you want

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

Offline

#3 09 Jun 2013 04:03

salj
Member
Registered: 24 May 2013
Posts: 4

Re: ps

you can run top then type 'M'

Offline

Board footer

Powered by