Skip to content

ps

Show processes (and Services)

Often used:

ps aux

ps aux | grep tomcat

List with memory usage:

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

List memory usage - list 20

ps -o pid,user,%mem,command ax | sort -b -k3 -r | head -n20 | sort -bnr -k3