Re: how to sort mem process using ps command

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 7/13/06, Roberto Ragusa <mail@xxxxxxxxxxxxxxxx> wrote:
Kaushal Shriyan wrote:
> On 7/13/06, Roberto Ragusa <mail@xxxxxxxxxxxxxxxx
>
>> 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@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@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@xxxxxxxxxx
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
 

[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux