Created
March 17, 2012 04:18
-
-
Save epicserve/2054901 to your computer and use it in GitHub Desktop.
Bash command to determine how much memory all gunicorn processes are taking
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ps ax -o rss,cmd --sort -rss | grep gunicorn | awk '{ SUM += $1} END { printf "%.2f MB\n", SUM/1000 }' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment