...\" $Header: /usr/src/docbook-to-man/cmd/RCS/docbook-to-man.sh,v 1.3 1996/06/17 03:36:49 fld Exp $ ...\" ...\" transcript compatibility for postscript use. ...\" ...\" synopsis: .P! ...\" .de P! \\&. .fl \" force out current output buffer \\!%PB \\!/showpage{}def ...\" the following is from Ken Flowers -- it prevents dictionary overflows \\!/tempdict 200 dict def tempdict begin .fl \" prolog .sy cat \\$1\" bring in postscript file ...\" the following line matches the tempdict above \\!end % tempdict % \\!PE \\!. .sp \\$2u \" move below the image .. .de pF .ie \\*(f1 .ds f1 \\n(.f .el .ie \\*(f2 .ds f2 \\n(.f .el .ie \\*(f3 .ds f3 \\n(.f .el .ie \\*(f4 .ds f4 \\n(.f .el .tm ? font overflow .ft \\$1 .. .de fP .ie !\\*(f4 \{\ . ft \\*(f4 . ds f4\" ' br \} .el .ie !\\*(f3 \{\ . ft \\*(f3 . ds f3\" ' br \} .el .ie !\\*(f2 \{\ . ft \\*(f2 . ds f2\" ' br \} .el .ie !\\*(f1 \{\ . ft \\*(f1 . ds f1\" ' br \} .el .tm ? font underflow .. .ds f1\" .ds f2\" .ds f3\" .ds f4\" .ta 8n 16n 24n 32n 40n 48n 56n 64n 72n .TH "\fBflow-log2rrd\fP" "1" .SH "NAME" \fBflow-log2rrd\fP \(em Process the STAT: lines from \fBflow-capture\fP and \fBflow-fanout\fP to RRD files\&. .SH "SYNOPSIS" .PP \fBflow-log2rrd\fP [-p\fI rrd_path\fP] .SH "DESCRIPTION" .PP The \fBflow-log2rrd\fP utility processes the STAT lines generated by \fBflow-capture\fP and \fBflow-fanout\fP and converts them into RRD files\&. RRD\&'s are stored as rrd_path/capture|fanout\&.hostname\&.srcip\&.dstip\&.port\&.rrd\&. The Datastores are flows,pkts,lost representing flows, packets, and lost flows respectively\&. Flow-fanout generates an additional DS nobufs indicating the number of times a write() failed with ENOBUFS\&. .SH "OPTIONS" .IP "-p\fI rrd_path\fP" 10 Path to store files\&. .SH "EXAMPLES" .PP Convert flow-capture STAT lines in /var/log/netflow to RRD\&'s in /flows/rrd/\&. .PP \fBcat /var/log/netflow | flow-rpt2rrd -p /flows/rrd\fP .SH "BUGS" .PP Expects STAT lines every 5 minutes\&. Hard coded to 7 days of 5 minute averages and 365 days of 1 day averages\&. .SH "AUTHOR" .PP Mark Fullmer maf@splintered\&.net .SH "SEE ALSO" .PP \fBflow-tools\fP(1) ...\" created by instant / docbook-to-man, Tue 10 May 2005, 14:04