To sort the processes by memory consumption, you can use the following ps command:
ps -eo pmem,pcpu,rss,vsize,args | sort -k 1 -r | more
To sort the processes by memory consumption, you can use the following ps command:
ps -eo pmem,pcpu,rss,vsize,args | sort -k 1 -r | more