Apache Memory Consumption

One quick way to determine how much memory is being consumed by all apache processes is to use the following command:

ps -eo user,pid,pcpu,cmd,rss | egrep httpd | awk '{SUM += $5} END {print "Total memory used: " SUM}'

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *