openbsd-ports/net/vnstat/pkg
sthen 8ba835d5a5 packaging fixes to vnstat, ok pea@ :
- remove bogus empty @sample line from PLIST causing "File /usr/local/
is not a file" messages at pkg_delete time

- grammar tweak in README
2012-05-17 07:30:27 +00:00
..
DESCR
PLIST packaging fixes to vnstat, ok pea@ : 2012-05-17 07:30:27 +00:00
README packaging fixes to vnstat, ok pea@ : 2012-05-17 07:30:27 +00:00
vnstatd.rc

$OpenBSD: README,v 1.3 2012/05/17 07:30:27 sthen Exp $

+-----------------------------------------------------------------------
| Running ${FULLPKGNAME} on OpenBSD
+-----------------------------------------------------------------------

All the commands must be launched as the user _vnstat.

1) Launch vnstat --iflist to see all the available interfaces.

2) For each interface that you want to monitor, launch this command:
   # vnstat -i interface -u
This will create the database for the specified interface.

3) Edit ${SYSCONFDIR}/vnstat.conf if necessary

4) Finally launch the vnstatd daemon:
   # ${SYSCONFDIR}/rc.d/vnstatd start

5) Create graphics with the command vnstati


Random hints:
    * You can enable debug in ${SYSCONFDIR}/vnstat.conf and check 
      the logs in /var/log/vnstat/vnstat.log