On Friday, November 12, 2010 17:43:56 Marko Vojinovic wrote:
Is there a way to list all processes, sorted by memory usage?
top -n1 -b
will print all processes and exit. (See top(1).) I don't know how to
get it to sort by memory usage, though. If you really wanted to, you
could pipe that to awk or perl and normalize one of the memory
columns' values and then pipe that to sort.
Garry T. Williams