[NLUUG]   Welcome to ftp.vim.org,
Hosted by ftp.nluug.nl
Current directory: /os/Linux/distr/salix/x86_64/extra-14.2/source/network/vnstat/
Contents of README:
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. 

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:
  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:
  chmod +x /etc/rc.d/rc.vnstat
  
Note that to have vnstat start automatically this way it should be called from
rc.local (and optionally rc.local_shutdown) like so:

  In rc.local:
  # Start vnstat
  if [ -x /etc/rc.d/rc.vnstat ]; then
    /etc/rc.d/rc.vnstat start
  fi

  In rc.local_shutdown:
  # Stop vnstat
  if [ -x /etc/rc.d/rc.vnstat ]; then
    /etc/rc.d/rc.vnstat stop
  fi

Icon  Name                                                    Last modified      Size  
[DIR] Parent Directory - [TXT] README 31-Aug-2016 13:25 1.0K [   ] doinst.sh 31-Aug-2016 13:25 662 [TXT] rc.vnstat 31-Aug-2016 13:25 1.4K [TXT] slack-desc 31-Aug-2016 13:25 1.0K [   ] vnstat-1.13.tar.gz 31-Aug-2016 13:57 99K [TXT] vnstat.SlackBuild 26-Apr-2015 09:09 3.3K [   ] vnstat.info 31-Aug-2016 13:25 275

NLUUG - Open Systems. Open Standards
Become a member and get discounts on conferences and more, see the NLUUG website!