Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jacques/bsdtrafstats
FreeBSD Traffic Accounting Tools
https://github.com/jacques/bsdtrafstats
Last synced: about 1 month ago
JSON representation
FreeBSD Traffic Accounting Tools
- Host: GitHub
- URL: https://github.com/jacques/bsdtrafstats
- Owner: jacques
- License: mit
- Created: 2008-05-26T07:34:18.000Z (over 16 years ago)
- Default Branch: master
- Last Pushed: 2008-05-26T16:50:06.000Z (over 16 years ago)
- Last Synced: 2024-04-13T03:42:05.161Z (7 months ago)
- Homepage: http://www.ataris.co.za/projects/bsdtrafstats/
- Size: 78.1 KB
- Stars: 2
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README
- License: LICENSE
Awesome Lists containing this project
README
= FreeBSD Traffic Accounting Tools =
FreeBSD Traffic Accounting Tools is some scripts that make use of trafd
for figuring out how much traffic has been consumed - was initially
written for Ataris Technologies colocation traffic billing back in 2002.== crontab entries ==
#minute hour mday month wday command
# save traffic databases so at most we loose 5 minutes worth of traffic stats
*/5 * * * * /usr/local/ispdb/bin/trafd/savelive rl0 rl1 dc0 dc1
# dump traffic logs nightly for all interfaces on phantom.ataris.co.za
0 0 * * * /usr/local/ispdb/bin/trafd/dumpnightly rl0 rl1 dc0 dc1
# save current days traffic logs for all interfaces on phantom.ataris.co.za
59 23 * * * /usr/local/ispdb/bin/trafd/rotatenightly rl0 rl1 dc0 dc1