10

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?

4 Answers 4

11

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

watch apache2ctl status
3
6

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.

7
  • How did this guy do it then?
    – James
    May 10, 2011 at 17:24
  • I'm pretty sure it is with ?refresh=1 - if you look at the video, it updates once a second.
    – dialt0ne
    May 10, 2011 at 17:25
  • The video shows a text browser in use, and none of the text browsers I've tried support auto-refresh, so the solution likely will require other methods to refresh the page.
    – EEAA
    May 10, 2011 at 17:30
  • It works just fine with elinks elinks.or.cz on CentOS/RHEL 5.x
    – dialt0ne
    May 10, 2011 at 17:34
  • Ahh, I didn't try elinks, only links and lynx.
    – EEAA
    May 10, 2011 at 17:36
2

Probably something like:

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

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

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .