g-viet / til

Today I learned
6 stars 0 forks source link

Linux: process with memory usage info #82

Open g-viet opened 5 years ago

g-viet commented 5 years ago

Bash:

ps -o pid,user,%mem,%cpu,command ax | sort -b -k3 -r