Download size, Counter

Bruno Wolff III bruno at wolff.to
Tue Nov 11 15:56:42 UTC 2008


On Mon, Nov 10, 2008 at 17:56:10 -0500,
  Jim <mickeyboa at sbcglobal.net> wrote:
> Comcast.com and AT&T is going to start charging extra for Downloading of  
> files,packages, video.
> Is there a App for Linux that will keep count of Downloads(Gbytes), like  
> on a monthly basis, so one can keep track of size of downloads for a  
> given month ??

iptables can be used. You can look at the count of packets/bytes that match
rules. This allows you to not count local traffic if needed. Where as looking
at the bytes sent out through a device would not (in cases where there
is a mix of local and remote destined traffic).

You can capture, save and reset the counts from time to time to protect against
losing them in a reboot or crash.




More information about the fedora-list mailing list