Hi,
Some times we need to know the most memory consuming process. In Linux you can do this with the help of following command.
[root@server2~]#ps axo %mem,command,pid | sort -nr | head -n 5
24.2 /usr/java/jdk1.6.0_24/bin/j 2223
9.4 /usr/sbin/mysqld --basedir= 2855
1.9 /usr/java/jdk1.6.0_24/bin/j 2065
0.8 /usr/libexec/gdmgreeter 3847
0.2 /usr/libexec/gdm-rh-securit 3798
Here option "axo" allow us to see Every Process in User-Defined format.
!!Enjoy Linux
Kuldeep
Some times we need to know the most memory consuming process. In Linux you can do this with the help of following command.
[root@server2~]#ps axo %mem,command,pid | sort -nr | head -n 5
24.2 /usr/java/jdk1.6.0_24/bin/j 2223
9.4 /usr/sbin/mysqld --basedir= 2855
1.9 /usr/java/jdk1.6.0_24/bin/j 2065
0.8 /usr/libexec/gdmgreeter 3847
0.2 /usr/libexec/gdm-rh-securit 3798
Here option "axo" allow us to see Every Process in User-Defined format.
!!Enjoy Linux
Kuldeep
No comments:
Post a Comment