On 2008-09-17, Joe S <[EMAIL PROTECTED]> wrote: > Now that my ISP is imposing bandwidth caps, I need to start measuring > my usage. Graphs are nice, but I've found that graphs are not really > that useful to me. I need something to report what my cummalative > usage is in a 30 day period. I'd like the data in some sort of ascii > format, but html is ok too.
You can't get much simpler than logging "netstat -I<iface> -b"... > After googling for a little bit, I only found 2 apps that might work > on my OpenBSD 4.3-stable firewall, vmnet and rtg. There is port or > package available for either though. The output of "vmnet -m" is what > I'm looking for, so I'll try that first. I was happy to see that rtg > is now in current-ports, so I should be able to use it once I get my > preordered CDs. rtg is nice for ISP billing because it keeps all the data it fetches, this means you can account for bandwidth use in all sorts of ways (not least, accurate 95-percentile) and change the way you process them after the initial configuration (not possible with RRD which decimates old data). But it's a bit of a faff to setup, and not all that lightweight...

