Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

What live server traffic visualisation tools are available for Apache (on Ubuntu Hardy LTS)?

It's for one site, rather than a full hosting environment, so I'm leaning towards ease of use and prettiness, rather than a long feature list :)

UPDATE: I'm mostly after after unique users/I.P.'s and server load (in order of preference)

share|improve this question

6 Answers 6

up vote 0 down vote accepted

If you're after network stats, ntop provides a very nice interface for charting throughput, host connections, per-host network traffic, etc. I use it on a few routers and it introduces little load. It uses libpcap, so you can even tailor the filter if you want.

It doesn't monitor CPU usage, just network usage, but otherwise it sounds like it would fit most of your needs.

If you're looking for something you can install as an end-user, more akin to an AWstats type of setup, that's going to be a little more difficult as you'd have to constantly churn through logs. I do recall some PHP scripts that worked in conjunction with configuring Apache to pipe its access logs to a Perl or Python script that wrote them into a MySQL database at one point, but that might be more work than you're wanting and/or overkill.

share|improve this answer

If you're just after live bytes in/out statistics, have a look at iptraf.

share|improve this answer

If you are looking for command-line tools try one of these:

jnettop
bmon
iftop
iptraf -i all
trafshow
dstat -N eth0,eth1,total
ifstatus
share|improve this answer

What sort of stats are you looking to capture? Bytes per second? Number of 200/300/400/500 responses per second? Unique IPs per second?

This link to the Apache traffic stats can help you capture some of that data and get it into ganglia. Assuming you have ganglia installed (and you should.) I'm sure you can figure out how to modify this setup for many other things you'd like to capture.

share|improve this answer
    
Added more detail to OP. –  Jon Hadley Dec 8 '09 at 20:55

Have you considered just using mod_status with ExtendedStatus On? It's surprisingly informative.

share|improve this answer

You might find something of interest here (no sense just reposting it in case I edit)

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.