Skip to content

Instantly share code, notes, and snippets.

@epicserve
Created March 17, 2012 04:18
Show Gist options
  • Select an option

  • Save epicserve/2054901 to your computer and use it in GitHub Desktop.

Select an option

Save epicserve/2054901 to your computer and use it in GitHub Desktop.
Bash command to determine how much memory all gunicorn processes are taking
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