Changes

Jump to: navigation, search

Traffic accounting with iptables

3 bytes removed, 20:34, 25 November 2006
Scripting
</pre>
a small script to generate a traffic.log Please use crontab to run this script once per hour or day to collect your traffic statistics.
<pre>
host2:~/bin# cat vz-generate-traffic-log
GROUP BY ip
</pre>
 
You can use crontab to run this script once per hour or day to collect your traffic statistics.
As you see this way can be time-consuming in case of big number of VEs.
22
edits

Navigation menu