2008/9/17 Joe S <[EMAIL PROTECTED]>:
> 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. I think I need something that can poll
> snmp stats from fxp0, which is attached to my cable modem. Something
> small would be preferred. I'm not interested in cacti or other large
> installations. My needs are very modest...I hope.
>
> 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.
>
> If you have any suggestions, or you have a perl/python script that you
> would like to share, it would be appreciated.
>
>

Yes, I have a shell script that does this.  It gives usage breakdown
by network protocol and outputs this in an HTML table.  It is based on
pf rule labels and pfctl output.  I'll post it here when I find it.

/juan

Reply via email to