sort ps output : decending of % memory use.

Mike McCarty Mike.McCarty at sbcglobal.net
Mon Nov 27 21:13:06 UTC 2006


Mike McCarty wrote:
> thomas wrote:
> 
>> May anyone write additional switches to "ps aux" so that output acn
>> get is decending order of % memory use.
>>
>> What will be the option for getting output in decending % cpu use?
>>
> 
> $ man ps
> 
> Look for "--sort".

Sorry, I see that you want a change to the sort order, not an option
to sort.

Looks like you'll have to pipe it through sort for the present.

Mike
-- 
p="p=%c%s%c;main(){printf(p,34,p,34);}";main(){printf(p,34,p,34);}
This message made from 100% recycled bits.
You have found the bank of Larn.
I can explain it for you, but I can't understand it for you.
I speak only for myself, and I am unanimous in that!




More information about the users mailing list