cancel
Showing results for 
Search instead for 
Did you mean: 

memory sort

Mumbai
Occasional Visitor

memory sort


System - Compaq TRU64 V4.0 878 alpha
How to do sort on memory for the commands like ps , top?
4 REPLIES
Dennis Handly
Acclaimed Contributor

Re: memory sort

Are you asking how to do it in the commands? Or to pipe the output to sort?
Mumbai
Occasional Visitor

Re: memory sort

Would like to know how to do it using commands like ps.
If is possible via TOP too then welcome.
Dennis Handly
Acclaimed Contributor

Re: memory sort

>Would like to know how to do it using commands like ps. If is possible via TOP too then welcome.

I see no Tru64 top man page? ps(1) doesn't have an option for sorting.

So you'll have to pipe the output to sort. Using -kN,N, where N is the column number.
Mumbai
Occasional Visitor

Re: memory sort

Oh yeah. Thanks for your help.