Sorting the first 20 processes by ram in a linux system is often useful when you want to narrow down and find which processes are eating up your server’s RAM
1 |
ps aux | awk '{print $2, $4, $11}' | sort -k2nr | head -n 20 |
Sorting the first 20 processes by ram in a linux system is often useful when you want to narrow down and find which processes are eating up your server’s RAM
1 |
ps aux | awk '{print $2, $4, $11}' | sort -k2nr | head -n 20 |