Is anyone aware of a good way to limit overages due to 95/5 burstable billing by capping a server's bandwidth once it gets close to having large peaks more than 5% of the time during the month?
I'm guessing a cron job could be used to poll the output of /proc/net/dev every minute to get data transfer rates for each minute and then based on that use iptables or something to limit the bandwidth until the end of the month if certain thresholds are crossed. I wondering though if there's some preexisting tool/way to do this rather than writing something from scratch.