Open main menu

Changes

805 bytes added ,  09:49, 13 August 2016
initial draft
== Get Stats ==
To get statistics, you'll need to potentially modify your Apache configuration. For Ubuntu, it's as easy as <code>a2enmod status</code> (and reload the server with <code>service apache2 reload</code>)
=== Cli ===
<source lang='bash'>
# Using wget isn't advised because you'll get html output
wget http://localhost/server-status -O -
# Ubuntu
apache2ctl fullstatus
# Older/RedHat
apachectl fullstatus
</source>

Or you can edit <code>/mods.enabled/status</code> 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 ==
# https://httpd.apache.org/docs/2.4/misc/perf-tuning.html
# https://www.linode.com/docs/websites/apache-tips-and-tricks/tuning-your-apache-server
4,558

edits