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

Total Bandwidth last 72 hours?

Discussion in 'Tomato Firmware' started by duckrank, Apr 10, 2007.

  1. duckrank

    duckrank LI Guru Member

    My school network only allows a maximum of 2 GB per 72 hours. So I'm trying to make a script (copy and modify one of the existing scripts) to find out how much bandwidth has been used in the last 72 hours.

    I figured that the best asp page to modify was `bwm-daily.asp` but I'm not sure what script it calls to do
    //      <% bandwidth("daily"); %>
    I figure I could probably make an hourly call and limit it to the last 'x' hours. (Not sure if I'd even be capable of doing this before looking at the code.. I don't know ASP)
    Something like:
    //      <% bandwidth("hourly", 72); %>
    Then it's just a matter of some addition and I'll have the last 72 hours total.

    Any help to do this would be greatly appreciated.
  2. dolly_oops

    dolly_oops Network Guru Member

    I e-mailed Jon asking if he could add a "24 hour" bandwidth graph (I would prefer a graph over time rather than just a summary of how much had been transferred on that day).

    His response:
    Your needs might be slightly different (you might not want a graph), but I get the impression that it's not a straight-forward change either.
  3. dolly_oops

    dolly_oops Network Guru Member

    Oh, and another thing - the "bandwidth" thing is not ASP specific, it's a call which maps to something external - though I've no idea where "bandwidth" is defined - anyone know?

Share This Page