Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

So I look at avaliable to me servers load

enter image description here

and see that some other user has created some really ram intensive app that kills my server hosting abileties. I wonder what is bash command to get top 5 most ram using applications n my server. How would such command look like?

share|improve this question
up vote 7 down vote accepted

You can use ps:

ps axo pid,args,pmem,rss,vsz --sort -pmem,-rss,-vsz | head -n 5
share|improve this answer

Run top. Press O to change the sort order, and Q for RESident memory.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.