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

…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.