Thursday, January 27, 2011

How to measure up/download speed from my apache web server?

I wish to see who has accessed my server and what speed they have downloaded the website at. How can this be done?

  • If by "who", you mean "what IP addresses", then yes, that information should be in your apache access_log. Also in that log, you'll find information as far as how much data was tranferred.

    From ErikA
  • 'Who' can be seen in your access logs, the location of which is configurable but defaults (in debian) to /var/log/apache2/access.log

    'What speed' can be garnered by using the Custom Log module and dividing %B (bytes sent) by %T (time to serve the request).

    ErikA : +1 on the speed calculation - I hadn't thought of that.
    From pjz

0 comments:

Post a Comment