network/vnstat: Update README, slack-desc.

This commit is contained in:
B. Watson 2016-11-06 22:41:38 -05:00 committed by Willy Sudiarto Raharjo
parent 4026fa0dd5
commit 5ee412ce71
No known key found for this signature in database
GPG key ID: 887B8374D7333381
2 changed files with 4 additions and 3 deletions

View file

@ -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:

View file

@ -6,7 +6,7 @@
# customary to leave one space after the ':' except on otherwise blank lines.
|-----handy-ruler------------------------------------------------------|
vnstat: vnStat (a console-based network traffic monitor)
vnstat: vnstat (a console-based network traffic monitor)
vnstat:
vnstat: vnStat is a network traffic monitor for Linux that keeps a log of
vnstat: daily network traffic for the selected interface(s). vnStat isn't a