1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104
|
...\" $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! <file.ps>
...\"
.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
|