Bandwidth measurement accuracy

2009-10-01
2013-03-18
  • Flavio Vettori
    Flavio Vettori
    2009-10-01

    Hello.

    We found that sometimes apache acces_log ain't so reliable to guess how much
    "traffic" has been moved to serve a client's request. It seems that
    when a client requests, for instance, to GET a 30 MBytes large .flv video the
    final result about this (in awstat counts) is "30 MBytes of bandwitdh (?)
    gone" even if the client stopped transfer at 100 KBytes moved because
    user dislikes video.
    We found this using 6.4 (build 1.814).

    Wondering if someone else has noticed this or if we went totally wrong.
    Hope not to have posted a faq..then sorry

    Flavio

     
  • Jean-Luc
    Jean-Luc
    2009-10-01

    Hi Flavio,

    Quote from the (http://httpd.apache.org/docs/2.0/mod/mod_log_config.html) :

    Note that in httpd 2.0, unlike 1.3, the %b and %B format strings do not
    represent the number of bytes sent to the client, but simply the size in
    bytes of the HTTP response (which will differ, for instance, if the connection
    is aborted, or if SSL is used). The %O format provided by mod
    _logio will
    log the actual number of bytes sent over the network.

    In other words, if you configure Apache to generate log files with %O in place
    of %b, AWStats will show you the actual values.

    Jean-Luc, InternetOfficer - (http://www.internetofficer.com/awstats/)

     
  • Steven Stern
    Steven Stern
    2009-10-01

    So, just by changing the log type from "combined" to
    "combinedio", AWSTATS will automatically start using %O? That is,
    will leaving the log format as "LogFormat=1" work?

     
  • Jean-Luc
    Jean-Luc
    2009-10-01

    Yep, you do not need to change anything in the AWStats config file if you
    replace %b by %O.

    Jean-Luc, InternetOfficer - (http://www.internetofficer.com/awstats/)

     
  • Flavio Vettori
    Flavio Vettori
    2009-10-02

    Thanks for the prompt and precise answer.
    Flavio

     
  • xiaodou
    xiaodou
    2013-03-18

    xiaodouzi 318Nike basketball shoes "planets created fictitious Nike Space Programme (NSP) NSP LJ6 was born in the mantle volcanic soil, the advantage of LeBron -. James, Nike introduced" Rumors trip to Earth meteor galaxies hardest substance - black diamond.
    KOBE SYSTEM - "origin of the Wholesale Jordan Shoes marked, ice Mamba circled the five rings of the volatile surface guardians Rooted in a planet that smart veteran move, allowing his opponent to freeze.".
    KD V - "biology and molecular degradation (Durant) dark matter, scientists still a mystery Early origin, Nike basketball shoes reading conflicting messages sent back a planet at the same time solid., Liquid, gas - properties, for him to adjust to any situation in the game. "
    Nike has become a household name around the world. A mere mention of the word springs to mind the Nike brand shoes. The symbol of the Greek goddess of victory, NikeAir Jordan 13, is the most comprehensive in the world, one of the characteristics of a well-known company. The six continents Authentic Air Jordansand other products sold throughout the country in more than 160 countries and regions. Nike Air Jordan Retro 1currently has a global market share of 37%. Witness the popularity of the Wholesale Jordan 3 Shoes brand all these facts, know Authentic Jordans in addition to the rest of what to read.
    As a high-quality shoe manufacturer Air Jordan Retro 23, the needs of athletes of all sports meet. Authentic Jordans Sites, football, basketball, football, golf, skateboarding, snowboarding, skiing, tennis, baseball and many other sports. Nike Air Jordan Shoesare custom tailored to the nature of the game, playing style, playing field, and the needs of the athletes, helping athletes achieve a high level of performance.
    Custom Nike basketball shoes running training and exercises. Wholesale Jordans is the ideal exercise, because their purpose is to record the valuable information, including calories burned, long distance walking meetings and other similar information to an iPod or iPadhttp://www.nikeairjordanoutletonline.com.