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
 
-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux