Jump to content

Command Crate ¿about?

Display the top 10 memory-consuming processes (ps, awk, sort, head)

ps aux | awk '{print $1, $2, $3, $4, $11}' | sort -k 4 -r | head -n 10

Lists the top 10 processes currently using the most memory, showing user, PID, %CPU, %MEM, and command.

performance monitoring [kb:280]