Re: how to find the process that uses the most memory on hp-ux (topdoes not do it) On Apr 1, 4:31*am, Dennis Handly <dhan...@convex.hp.com> wrote:
> newa wrote:
> > But hp-ux top does not do that. So what can you do on hp-ux to
> > find the process that uses the most memory?
>
> You can send the output to a file and then sort it. *You would have
> problems with the M and K suffix though.
>
> $ top -f top.out -n 10000 -d 1
> $ sort -n -k7,7 top.out
Thanks, Dennis. That really helps. |