Useful Linux Commands Memory To see what processes are running on your machine, sorted by their memory usage, run the following command: ps aux | awk '{print $2, $4, $11}' | sort -k2rn | head -n 15