how to sort mem process using ps command

Kaushal Shriyan kaushalshriyan at gmail.com
Fri Jul 14 06:50:57 UTC 2006


On 7/13/06, Kaushal Shriyan <kaushalshriyan at gmail.com> wrote:
>
> On 7/13/06, Kaushal Shriyan <kaushalshriyan at gmail.com> wrote:
> >
> >
> > 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
> >
>
> Hi Robert
>
> using this command "ps ww -e --sort -rss o
> pid,pmem,command,rss,size,vsz|head -20"
> I want to check which user is hogging more memory
>
> Thanks and Regards
>
> Kaushal

Hi Robert

I didnot hear from you on my query for

> using this command "ps ww -e --sort -rss o
> pid,pmem,command,rss,size,vsz|head -20"
> I want to check which user is hogging more memory

Thanks and Regards

Kaushal




More information about the fedora-list mailing list