how to sort mem process using ps command

Kaushal Shriyan kaushalshriyan at gmail.com
Thu Jul 13 10:22:37 UTC 2006


On 7/13/06, Roberto Ragusa <mail at robertoragusa.it> wrote:
>
> Kaushal Shriyan wrote:
> > On 7/13/06, Roberto Ragusa <mail at robertoragusa.it
> >
> >> I'm using this to detect memory consumers:
> >>
> >>  ps ww -e k -rss o pid,pmem,command,rss,size,vsz|head -20
> >>
> >> It could be useful as a starting point.
> >>
> > Hi Roberto
> >
> > [root at e root]# ps ww -e k -rss o pid,pmem,command,rss,size,vsz|head -20
> > ps: error: Obsolete k option not supported.
> > usage: ps -[Unix98 options]
> >        ps [BSD-style options]
> >        ps --[GNU-style long options]
> >        ps --help for a command summary
> > [root at e root]#
>
> It works here on FC5 and it is documented in the man page.
>
> $ rpm -qf `which ps`
> procps-3.2.6-3.4
>
> What about
>
> ps ww -e --sort -rss o pid,pmem,command,rss,size,vsz|head -20
>
> ?
>
> Best regards.
>
> --
>   Roberto Ragusa    mail at robertoragusa.it
>
> --
> fedora-list mailing list
> fedora-list at redhat.com
> To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
>


Thanks Robert
This #ps ww -e --sort -rss o pid,pmem,command,rss,size,vsz|head -20 worked
for me

Thanks Again

Kaushal
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.fedoraproject.org/pipermail/users/attachments/20060713/71d9eb35/attachment-0002.html 


More information about the users mailing list