0

find overall Apache usage

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

Apache Add a comment
charmi
asked Sep 19 2018

Answer

0

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
gokulravichandran2
asked Sep 19 2018
edited Oct 30 2018
Post your Answer