Skip to content

Instantly share code, notes, and snippets.

@codatory
Created December 6, 2012 17:09
Show Gist options
  • Save codatory/4226169 to your computer and use it in GitHub Desktop.
Save codatory/4226169 to your computer and use it in GitHub Desktop.
for pid in `ps aux | grep '[p]ool www' | awk '{print $2}'`; do
head /proc/$pid/smaps | grep 'Rss' | awk '{print $2 $3}'
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment