How to check RAM usage on Linux Nov 28, 2017 Memory usage + total: free -mh List of processes and their memory consumption: ps aux | awk '{print $6/1024 " MB\t" $2 "\t" $11}' | sort -n Column 1: Memory consumption (MB) Column 2: PID Column 3: Command that ran the process