how to sort mem process using ps command

Kaushal Shriyan kaushalshriyan at gmail.com
Thu Jul 13 07:59:12 UTC 2006


On 7/13/06, Roberto Ragusa <mail at robertoragusa.it> wrote:
> Kaushal Shriyan wrote:
>
> > how to sort mem process using ps command
> >
> > I am using ps auxw --sort %mem but its not helping me out
>
> 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.
>
> 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
>

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]#

Kaushal
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/fedora-list/attachments/20060713/4f4ff21b/attachment-0001.htm>


More information about the fedora-list mailing list