Command-line Apache Status

Here’s another thing I have to do once per year and can never remember how to do.

If you have Apache extended status activated thusly:

<IfModule mod_status.c>
ExtendedStatus On
<Location /server-status>
SetHandler server-status
Order deny,allow
Deny from all
Allow from localhost ip6-localhost 127.0.0.1
</Location>
</IfModule>

…then you can check in on what Apache is up to via Lynx from the command line:

$ wget -q -O - localhost/server-status | lynx -stdin

Quite handy.

One thought on “Command-line Apache Status

Leave a Reply

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