How to display the Apache Server Status module in realtime?

Solution 1:

You can use the watch command to run apache2ctl status repeatedly eg:

watch apache2ctl status

Solution 2:

Once you enable server status as per http://httpd.apache.org/docs/2.2/mod/mod_status.html just add ?refresh=1 to the end of your server-status URL.

I believe it is as close to real-time as you're going to get.

Solution 3:

Probably something like:

$ watch -n 1 links -dump http://localhost/server-status

Solution 4:

lynx http://localhost/server-status

As you can see from the video, that's a view of the scoreboard. Doing some quick googling showed me the above link from this one:

http://articles.slicehost.com/2010/3/26/enabling-and-using-apache-s-mod_status-on-debian