slackbuilds_ponce/network/vnstat
2010-05-11 15:01:38 +02:00
..
README network/vnstat: Initial import 2010-05-11 15:01:38 +02:00
slack-desc network/vnstat: Initial import 2010-05-11 15:01:38 +02:00
vnstat.info network/vnstat: Initial import 2010-05-11 15:01:38 +02:00
vnstat.SlackBuild network/vnstat: Initial import 2010-05-11 15:01:38 +02:00

vnStat is a network traffic monitor for Linux that keeps a log of daily 
network traffic for the selected interface(s). vnStat isn't a packet 
sniffer. The traffic information is analyzed from the /proc filesystem, 
so vnStat can be used without root permissions. 

This program is open source (GPL) and can be installed in 'single' and 
'root' mode. 

Add the following line to your crontab:
0-55/5 * * * *   root    if [ -x /usr/bin/vnstat ] && \
[ `ls /var/lib/vnstat/ | wc -l` -ge 1 ]; then /usr/bin/vnstat -u; fi