1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

AWSTATS massive compared to CPanel Bandwidth?!

Discussion in 'Web Hosting' started by gangsta1, Oct 29, 2012.

  1. gangsta1

    gangsta1 Regular Member

    Joined:
    Oct 12, 2009
    Messages:
    229
    Likes Received:
    20
    In cpanel my monthly transfer is 3tb.
    In Cpanel bandwidth section it states 3tb.
    However, in AWSTATS it says bandwidth is more like 30tb?!
    11,000 unique vistors and 65,000,000 hits!! WTF - hotlinking dot com or what.
    Any idea why the difference in stats?
    I want to buy a server so I need to know why bandwidth is so messed up!
     
  2. cgimaster

    cgimaster Power Member

    Joined:
    Jun 30, 2012
    Messages:
    525
    Likes Received:
    311
    Gender:
    Male
    If you have ssh/shell access on your account you could run the following command to read the access_log file and count the MB used:

    Code:
    awk '{SUM+=$10}END{print SUM/1024/1024}' /path/to/your/access_log
    Aside from that you could ask your hosting company to regenerate your graphs, they have access to a command that will recreate your site stats from the access_log information

    Additional this may be worth reading http://docs1.cpanel.net/twiki/bin/v...thDiscrepancies#LogProcessingBandwidthMeasure
     
    Last edited: Oct 29, 2012
  3. Elitepinki

    Elitepinki Power Member

    Joined:
    Dec 3, 2009
    Messages:
    517
    Likes Received:
    52
    i had this problem when using netfirms awstats, it was using so much data they ended up closing my account without my permission and then said they couldnt restore any of my files