diff options
Diffstat (limited to 'network/vnstat/README')
-rw-r--r-- | network/vnstat/README | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/network/vnstat/README b/network/vnstat/README index c53c6a459c..8d2164349a 100644 --- a/network/vnstat/README +++ b/network/vnstat/README @@ -1,3 +1,5 @@ +vnstat (a console-based network traffic monitor) + 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, @@ -8,8 +10,7 @@ This program is open source (GPL) and can be installed in 'single' and Note that you can run vnstat either from cron or as a daemon from /etc/rc.d. -To run vnstat from cron: - Add the following line to your crontab: +To run vnstat from cron, 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 To run vnstat from /etc/rc.d: |