22
edits
Changes
→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>
As you see this way can be time-consuming in case of big number of VEs.