For example on the top part of this video:
http://www.youtube.com/watch?v=BLcL61iLNT0
He is running the server status is realtime, how can you do this?
For example on the top part of this video:
http://www.youtube.com/watch?v=BLcL61iLNT0
He is running the server status is realtime, how can you do this?
You can use the watch command to run apache2ctl status repeatedly eg:
watch apache2ctl status
watch
command will run apache2ctl status
every N seconds. apache2ctl status
will show the output of mod_status status as shown in the video. Read the watch(1) manpage, and see httpd.apache.org/docs/2.0/mod/mod_status.html#autoupdate & httpd.apache.org/docs/2.0/programs/apachectl.html
May 10, 2011 at 17:33
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.
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