Difference between revisions of "Apache/performance"

From Freephile Wiki
Jump to navigation Jump to search
(initial draft)
(No difference)

Revision as of 09:49, 13 August 2016

Get Stats[edit | edit source]

To get statistics, you'll need to potentially modify your Apache configuration. For Ubuntu, it's as easy as a2enmod status (and reload the server with service apache2 reload)

Cli[edit | edit source]

# Using wget isn't advised because you'll get html output 
wget http://localhost/server-status -O -
# Ubuntu
apache2ctl fullstatus
# Older/RedHat
apachectl fullstatus

Or you can edit /mods.enabled/status to get it from the browser. For a machine readable, condensed version, just append the auto querystring argument:

e.g. http://example.com/server-status?auto

Resources[edit | edit source]

  1. https://httpd.apache.org/docs/2.4/misc/perf-tuning.html
  2. https://www.linode.com/docs/websites/apache-tips-and-tricks/tuning-your-apache-server