Open main menu
OpenVZ Virtuozzo Containers Wiki
β
Search
Changes
← Older edit
Traffic accounting through proc
241 bytes removed
,
21:46, 12 January 2013
removed /etc/init.d/vz update-cron part (not implemented anymore)
*/30 * * * * root /path/to/script/vz_direct_traffic_render
EOF
Alternatively, use the cron system of OpenVZ
# 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
To check the output of this later run:
Anonymous user
81.221.83.35