Linux PS command sort by memory use

Do you want to the ps command sort with memory use.below is the command

smartproteam@smartpro:~$ ps aux –sort:rss

output :

USER       PID %CPU %MEM    VSZ   RSS TTY      STAT START   TIME COMMAND

mysql     5712  0.0  1.6 127768 17256 ?        Sl   Sep13   0:17 /usr/sbin/mysql
90171    13744  0.3  1.7  30228 17636 ?        S    19:51   0:05 gedit
90171    22557  0.0  2.1  86852 21852 ?        Sl   16:38   0:03 /opt/google/chr
90171    27073  0.0  2.5  88088 26884 ?        Sl   Sep13   0:39 gnome-panel –s
90171    19952  0.5  3.6 169368 37820 ?        Sl   16:35   1:16 /opt/google/chr
90171    28335  0.4  4.6  91248 47868 ?        S    19:32   0:12 gimp-2.4 file:/
90171     1807  5.2 15.3 346320 158796 ?       Sl   09:57  32:16 /usr/lib/firefo

Related Posts with Thumbnails

Leave a Reply

Your email address will not be published. Required fields are marked *

*


*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Comment moderation is enabled. Your comment may take some time to appear.