Skip to main content

Process

Sort process by memory usage

ps aux --sort=-%mem | head -n 30

Sor process by CPU usage

ps aux --sort=-%cpu | head -n 30