bwstats 0.01 review

Download
by rbytes.net on

bwstats will report on how much data has been received and transmitted over each live interface since the system was booted up

License: MIT/X Consortium License
File size: 0K
Developer: shaman
0 stars award from rbytes.net

bwstats will report on how much data has been received and transmitted over each live interface since the system was booted up. bwstats project will also attempt to predict bandwidth usage over the next 30 days based on current usage. I wrote this out of curiosity to see how much data I was shifting about each month; the results were interesting.

At present bwstats will only run on Linux and other systems with the /proc filesystem as the interface statistics are obtained from /proc/net/dev and /proc/uptime files. Sorry.

Improvements to come include the ability to 'carry over' data from the previous reboot so that the results are meaningful for those who power down their computers each night, and the ability to change the period for which predictions are made (currently this is trivial but means editing the source).

Note: since I wrote this tool I have noticed that the figures in this /proc/net/dev file wrap around after they reach a certain figure, therefore skewing the figures when data reaches beyond around 4.2GB (damn Linux kernel!). This will be obvious when looking at the figures. This script will still work perfectly up until the point where the wrapping occurs. This will be fixed in a future release, but for now be warned!

Requirements:
Perl

bwstats 0.01 search tags