pmap -x $(ps ax \
| grep php-cgi \
| grep -v grep \
| awk '{ print $1 }' \
| awk -v RS='' '{ gsub("\n", " "); print; }'\
) | grep -E '^(Address|total)'
Last active
September 25, 2018 09:59
-
-
Save jdeathe/28b2c59ea4c8de0da6d33ca57820691a to your computer and use it in GitHub Desktop.
Identify PHP FastCGI Process Memory Usage
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment