Created
October 11, 2012 14:25
-
-
Save tuupola/3872711 to your computer and use it in GitHub Desktop.
Average Apache memory usage
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 aux | grep httpd | grep -v pts | awk '{ tot += $6; procs += 1; print $2,$6,$11 } END { print "TOTAL:",tot,"/",procs,"=",tot/procs }' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment