Skip to content

Instantly share code, notes, and snippets.

@rtgibbons rtgibbons/ap.sh
Created Nov 24, 2014

Embed
What would you like to do?
Apache memory usage
ps -ylC apache2 | awk '{x += $8;y += 1} END {print "Apache Memory Usage (MB): "x/1024; print "Average Proccess Size (MB): "x/((y-1)*1024)}'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.