24 lines
771 B
Plaintext
24 lines
771 B
Plaintext
$OpenBSD: README,v 1.5 2013/09/02 16:02:41 ajacoutot Exp $
|
|
|
|
+-----------------------------------------------------------------------
|
|
| Running ${FULLPKGNAME} on OpenBSD
|
|
+-----------------------------------------------------------------------
|
|
|
|
1) Launch vnstat --iflist to see all the available interfaces.
|
|
|
|
2) For each interface that you want to monitor, launch this command:
|
|
# sudo -u _vnstat 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:
|
|
# ${RCDIR}/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
|