<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Hi everyone,<br>
<br>
I know it's been a while but I thought I would close the loop on this.&nbsp;
I was asking if anyone knew a good and easy bandwidth tracking utility
that we could use to make sure our cell phone modems don't exceed the
data plan allotment.<br>
<br>
I figured out an easy way to do this with vnstat.&nbsp; Vnstat provides
command line utility, a daemon, and a back-end tracking database.&nbsp; I
had to wrap it with scripts protecting it from PPP interfaces that go
up &amp; down a lot.&nbsp; One nice thing about vnstat is that it lets you
specify the total maximum bandwidth an interface SHOULD have, that
helps to avoid bad data causing massive apparent bandwidth spikes that
didn't actually happen.<br>
<br>
Just for the record,<br>
Jim<br>
-- <br>
Jim Ockers, P.Eng. (<a class="moz-txt-link-abbreviated" href="mailto:ockers@ockers.net">ockers@ockers.net</a>)<br>
Contact info: <a class="moz-txt-link-freetext" href="http://www.ockers.net/msi.html">http://www.ockers.net/msi.html</a><br>
<br>
<br>
Charles W Downing wrote:
<blockquote cite="mid:4DF276D1.70306@earthlink.net" type="cite">
  <meta content="text/html; charset=ISO-8859-1"
 http-equiv="Content-Type">
  <title></title>
  <br>
  <br>
On 06/10/2011 12:06 PM, Jim Ockers wrote:
  <blockquote cite="mid:4DF25D12.7050100@ockers.net" type="cite"> <font
 size="+1"><tt>Hi CLUEbies,<br>
    <br>
Well as you know I send an e-mail to this list whenever I'm kind of
stumped.&nbsp; I have an OpenWRT based Linux system with a 3G phone
interface.&nbsp; Due to the marketecture of 3G data plans, I need to try to
make sure this device does not exceed its monthly bandwidth allotment
per our data plan, so we don't get a $60,000 bill, or something.&nbsp; What
I was thinking was, since we are allowed 5GB in a month, that I would
figure out the total bandwidth used in the last 3 weeks, and if the
total bandwidth was 3/4 * 5GB then I would start throttling down the
available bandwidth on the interface using tc and traffic shaping.<br>
    <br>
This seems like it should not be too hard to do.<br>
    </tt></font></blockquote>
Just an off the wall thought.&nbsp; Does your provider keep a running total
of your usage during a billing period?&nbsp; If so, it seems that you could
make a cron job to do the searching, leaving you to script the local
stuff.&nbsp; BTW, I just checked and Verizon Wireless keeps a running total
of my/our usage to the nearest kB.<br>
  <br>
  <blockquote cite="mid:4DF25D12.7050100@ockers.net" type="cite"><font
 size="+1"><tt>Thanks for any CLUEs,<br>
Jim<br>
    </tt></font>
    <pre class="moz-signature" cols="72">-- 
Jim Ockers, P.Eng. (<a moz-do-not-send="true"
 class="moz-txt-link-abbreviated" href="mailto:ockers@ockers.net">ockers@ockers.net</a>)
Contact info: <a moz-do-not-send="true" class="moz-txt-link-freetext"
 href="http://www.ockers.net/msi.html">http://www.ockers.net/msi.htm</a>

    </pre>
    <pre wrap=""><fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
clue mailing list: <a moz-do-not-send="true"
 class="moz-txt-link-abbreviated" href="mailto:clue@cluedenver.org">clue@cluedenver.org</a>
For information, account preferences, or to unsubscribe see:
<a moz-do-not-send="true" class="moz-txt-link-freetext"
 href="http://cluedenver.org/mailman/listinfo/clue">http://cluedenver.org/mailman/listinfo/clue</a></pre>
  </blockquote>
  <br>
  <pre class="moz-signature" cols="72">-- 
Chuck Downing
Highlands Ranch, Colorado USA 
  </pre>
  <pre wrap="">
<hr size="4" width="90%">
_______________________________________________
clue mailing list: <a class="moz-txt-link-abbreviated" href="mailto:clue@cluedenver.org">clue@cluedenver.org</a>
For information, account preferences, or to unsubscribe see:
<a class="moz-txt-link-freetext" href="http://cluedenver.org/mailman/listinfo/clue">http://cluedenver.org/mailman/listinfo/clue</a></pre>
</blockquote>
<br>
</body>
</html>