1752660 Members
5849 Online
108788 Solutions
New Discussion юеВ

Re: memory sort

 
Mumbai
New Member

memory sort


System - Compaq TRU64 V4.0 878 alpha
How to do sort on memory for the commands like ps , top?
4 REPLIES 4
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
New Member

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
New Member

Re: memory sort

Oh yeah. Thanks for your help.