Return to Snippet

Revision: 67233
at August 29, 2014 05:36 by bluecap


Initial Code
ps -ylC apache2 | awk '{x += $8;y += 1} END {print "Apache Memory Usage (MB): "x/1024; print "Average Process Size (MB): "x/((y-1)*1024)}'

Initial URL


Initial Description
Shows the current Apache memory usage and average process size.

Initial Title
Show Apache Memory Usage and Average Process Size

Initial Tags


Initial Language
Bash