Welcome to Server Circle. It's a friendly site and all levels of experience are welcome. Be aware that we use cookies for your login.
Server Circle - Ask questions about Servers and get answers from experts.
Beta (0.48 sec)
Listing top ten processes by memory use

How can I do this in a single command line ?
Asked by:
ubuntuhelp
814 points
 Report Abuse
 Share Page - Category: Linux Servers - Tags: Listing top ten processes by memory use
 Enter your response
Please use Pastie.org to paste lengthy code or to fix formatting issues with code
  • Responses in reverse (1)

Best Answer

You can use:

1) ps -alef | sort -n -r -k10 | head -10

or you can use top command

top -n 1 -b

then sort on memory usage

Response by:
jalal
3623 points


  • Related Questions
About Us : Contact Us : Etiquette : Terms : CDN Failover : ShorterURL : CDN Fallback : © 2013 Server Circle