summaryrefslogtreecommitdiffstats
path: root/network/vnstat/README
blob: a22949bbfb05e8ce98212bbeef9b5829afc25fd8 (plain)
1
2
3
4
5
6
7
8
9
10
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 * * * * if [[ -x /usr/bin/vnstat && $(ls /var/lib/vnstat/ | wc -l) -ge 1 ]]; then /usr/bin/vnstat -u; fi