AMP AMP
AMP
0
AMP

find overall Apache usage

How to find overall Apache usage along with its child process?

Apache Add a comment
a sample image
charmi
asked Sep 19 2018

Answer

AMP
0
AMP

Use the below command for Apache Memory Usage and Average Process Size

ps -ylC httpd | awk '{x += $8;y += 1} END {print "Apache Memory Usage (MB): "x/1024; print "Average Proccess Size (MB): "x/((y-1)*1024)}'
Add a comment
a sample image
gokulravichandran2
asked Sep 19 2018
edited Oct 30 2018
Post your Answer