ps

Bash shell questions
Post Reply
User avatar
MigrationUser
Posts: 336
Joined: 2021-Jul-12, 1:37 pm
Contact:

ps

Post by MigrationUser »

14 Apr 2008 19:46
markusfarkus



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
reservedeler


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
salj


you can run top then type 'M'
Post Reply