GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
IOGRAPH(8) FreeBSD System Manager's Manual (local) IOGRAPH(8)

iograph
create HTML graphs showing network traffic

iograph [-i interface] [-o outdir] [-d datafile]

The iograph program collects network statistics for an interface of the local host and stores the number of sent and received bytes in a small binary database.

It then creates HTML pages printing the statistics for one day (hourly display), one month (daily display) or for the past twelve month. The HTML pages print the number of bytes sent / received together with a bar graph.

interface
The network interface for which statistics are to be collected.
outdir
Directory where to place the resulting HTML pages.
Do not add a trailing slash!
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

Markus Dolze ⟨bsdfan@nurfuerspam.de⟩

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, FreeBSD's 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.

September 23, 2007

Search for    or go to Top of page |  Section 8 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.