On Thu, 2011-03-24 at 11:21 -0400, Sean Dague wrote:
> On 03/24/2011 11:12 AM, Mark Wallace wrote:
> > Verizon tells me that they do not monitor how much individual accounts
> > are using in gigabytes. I am moving to Canada where unlimited internet
> > access is not available and there are penalties if you don't manage your
> > usage properly.
> >
> > Is there a way that I can keep track? I don't see a package in Synaptic
> > that measures it within the system.
>
> The best approach is probably to use a wireless router that has
> accounting in it. If you install dd-wrt on any of the supported
> routers, you'll get nice pretty graphs showing your usage.
>
A quickie approach, during a single log-on session, at any time during
the session if you issue the command "ifconfig eth0" you get a report of
bytes sent and received during the session.
[aweiner@localhost ~]$ ifconfig eth0
eth0 Link encap:Ethernet HWaddr 00:30:67:83:AC:D2
inet addr:192.168.1.150 Bcast:192.168.1.255
Mask:255.255.255.0
inet6 addr: fe80::230:67ff:fe83:acd2/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:27068 errors:0 dropped:0 overruns:0 frame:0
TX packets:18422 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:28674519 (27.3 MiB) TX bytes:1860764 (1.7 MiB)
Interrupt:44
_______________________________________________
Mid-Hudson Valley Linux Users Group http://mhvlug.org
http://mhvlug.org/cgi-bin/mailman/listinfo/mhvlug
Upcoming Meetings (6pm - 8pm) MHVLS Auditorium
Apr 6 - Introduction to IPv6
May 4 - Inkscape
Jun 1 - Zimbra