Sort unix processes by memory usage

Below is a most simple command for Sorting Unix processes by highest memory usage:

ps -eo pmem,pid,pcpu,rss,vsz,time,args | sort -k 1 -r

1 comment:

  1. I’m glad I come across this column I found little good stuff and enjoyed reading them. It’s very informative and useful.