/ Published in: Bash
![](/img/icon_sav.png?v3)
Shows the current Apache memory usage and average process size.
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
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)}'
Comments
![RSS Feed for Comments RSS Icon](/images/rss.png?v3)