Top 5 memory consume process

$ ps -eo pmem,pcpu,vsize,pid,cmd | sort -k 1 -nr | head -5

You can also check top command, then -F and select “n” to see process memory usage.

Advertisements