
This directory contains misc scripts for aguri.


agurify
	a perl5 script to archive aguri outputs.
	before you use it, edit $logdir variable.
	(1) to read from pcap, run this script from cron(8) every two minutes.
		agurify -i <ifname>
	(2) to read from existing files
		agurify file [file2...]

makeimages

	a perl5 script to create daily and weekly plot graphs under the
	current directory.  timestamp should be "yyyymmdd".
	for example, if "20010806" is specified, it creates 4 png files,
	2001/08/06/20010806.{saddr,daddr,sport,dport}.png, from
	"$agurilogdir/2001/08/06/??/*.agr".

	usage: makeimages [-l logdir] timestamp [timestamp2 ...]

makeplot
	a perl5 script to create a gnuplot command to make a plot graph.
	usage:
		makeplot <plotdatafile> [<pngfile>]
	
	example: to create a plot graph, sample.png
		aguri -P -yK -xd agr_files     > plotdata
		makeplot plotdata | gnuplot > sample.png

density
	a perl5 script to create a traffic density graph in the png format.
	density requires the Socket and GD modules.
	this version works only with IPv4 addresses.
	it also assumes that the input data size is 720 points:
		5 sec  x 720 =  1 hour
		2 min  x 720 = 24 hours
		1 hour x 720 = 30 days
	usage:
		density [-t '[type]'] file [file2...]
