get list of memory consuming processes

the below two commands will provide you the processes which are consuming maximum memory on Linux machine.

#ps -A --sort -rss -o comm,pmem | head -10
#ps axu | awk '{print $2, $3, $4, $11}' | head -1 && ps axu | awk '{print $2, $3, $4, $11}' | sort -k3 -nr |head -10

Comments

Popular Posts