Changes

Jump to: navigation, search

Traffic accounting through proc

20 bytes added, 21:45, 20 November 2012
Setup
# cat << EOF >> /etc/crontab
*/5 * * * * root /path/to/script/vz_direct_traffic_log */30 * * * * root /path/to/script/vz_direct_traffic_render
EOF
# cat << EOF > /etc/vz/cron/vz-traffic.sh
*/5 * * * * root /path/to/script/vz_direct_traffic_log */30 * * * * root /path/to/script/vz_direct_traffic_render
EOF
# /etc/init.d/vz update-cron
Anonymous user

Navigation menu