|-i interface||The network interface for which statistics are to be collected.|
Directory where to place the resulting HTML pages.
Do not add a trailing slash!
|-d datafile||Name of the database file.|
iograph is intended to be run as a cron job. Add the following line to your system crontab(8):
0 * * * * root /usr/local/bin/iograph -i ath0 -o /usr/local/www/iograph -d /var/db/iograph.dat
.An Markus Dolze Aq email@example.com
The intended interval is one hour. If it is called more than once an hour, the data point for the past hour is overwritten with the traffic since the last run.
On i386 systems, FreeBSDs network counters are 32 bit long, therefore wrapping at 4 GB. iograph will produce wrong results if more than 4 GB are transfered within one hour, because it can only detect one counter wrap.