openbsd uses 64bit counters.
> So even if it was reset I would only be missing a few seconds of data. Would love to hear some better ideas.
one way you could keep track of the bytes passing through an interface is through a script running from cron that keeps some state on the disk so that it can continue tracking the usage correctly on interface reset, counter roll-over, reboot etc.
i wrote a daemon + script to keep track of my net usage you can check it out
http://www.daemonforums.org/showthre...ighlight=bwmon
also, i recall a program mentioned on one of the threads (can't remember which one - try searching) that can give you statistics in nice html o/p, graphs etc.