...\" $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-rptfmt\fP" "1" .SH "NAME" \fBflow-rptfmt\fP \(em Format the output of flow-report in ASCII or HTML .SH "SYNOPSIS" .PP \fBflow-rptfmt\fP [-hHnp] [-a\fI alarm_time\fP] [-f\fI format\fP] [-F\fI fields\fP] [-m\fI max_lines\fP] [-s\fI sort_field\fP] .SH "DESCRIPTION" .PP The \fBflow-rptfmt\fP utility processes the CSV output of flow-report into formatted ASCII or HTML\&. Sorting, maximum display lines, field filter, header display, and name substitution are supported during post processing\&. Additionally an alarm can be set for use in CGI scripts to limit the CPU time of formatting\&. .SH "OPTIONS" .IP "-a\fI alarm_time\fP" 10 Exit after \fIalarm_time\fP seconds\&. .IP "-f\fI ascii\fP|\fIhtml\fP" 10 Set output format\&. Defaults to ASCII\&. .IP "-F\fI display_fields\fP" 10 Limit columns to \fIdisplay_fields\fP .IP "-h" 10 Help\&. .IP "-H" 10 Display header information\&. .IP "-m \fImax_lines\fP" 10 Limit rows to max_lines\&. .IP "-n" 10 Enable symbol table lookups\&. .IP "-p" 10 Display in percent total form\&. .IP "-s\fI sort_field\fP" 10 Sort on \fIsort_field\fP\&. Prepend with + for ascending, - for descending sort\&. .SH "EXAMPLES" .PP Format the output of daily-ip-protocol\&.txt in ASCII\&. Display the ip-protocol and octets fields in percent total format with symbols\&. Limit output to top 5 sorted by octets\&. .PP \fBcat daily-ip-protocol\&.txt | flow-rptfmt -fascii -Fip-protocol,octets -p -n -m5 \fP .SH "BUGS" .PP Sorting could be faster\&. Percent totals could be faster\&. May not work with flow-report prior to 0\&.68\&. .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, 13:54