Changes

Jump to: navigation, search

Traffic accounting through proc

171 bytes added, 23:34, 3 February 2009
update to use the cron system of openvz
# echo "*/5 * * * * root /path/to/script/vz_direct_traffic_log " >> \
/etc/crontab && /etc/init.d/crontab restart
 
 
Better use the cron system of OpenVZ
 
# echo "*/5 * * * * root /path/to/script/vz_direct_traffic_log " >> \
/etc/vz/cron/vz-traffic.sh && /etc/init.d/vz update-cron
To check the output of this later run:
59
edits

Navigation menu