1FLOW-RPTFMT(1) FLOW-RPTFMT(1)
2
3
4
6 flow-rptfmt - Format the output of flow-report in ASCII or HTML
7
9 flow-rptfmt [ -hHnp ] [ -a alarm_time ] [ -f format ] [ -F fields ]
10 [ -m max_lines ] [ -s sort_field ]
11
13 The flow-rptfmt utility processes the CSV output of flow-report into
14 formatted ASCII or HTML. Sorting, maximum display lines, field filter,
15 header display, and name substitution are supported during post pro‐
16 cessing. Additionally an alarm can be set for use in CGI scripts to
17 limit the CPU time of formatting.
18
20 -a alarm_time
21 Exit after alarm_time seconds.
22
23 -f ascii|html
24 Set output format. Defaults to ASCII.
25
26 -F display_fields
27 Limit columns to display_fields
28
29 -h Help.
30
31 -H Display header information.
32
33 -m max_lines
34 Limit rows to max_lines.
35
36 -n Enable symbol table lookups.
37
38 -p Display in percent total form.
39
40 -s sort_field
41 Sort on sort_field. Prepend with + for ascending, - for descend‐
42 ing sort.
43
45 Format the output of daily-ip-protocol.txt in ASCII. Display the ip-
46 protocol and octets fields in percent total format with symbols. Limit
47 output to top 5 sorted by octets.
48
49 cat daily-ip-protocol.txt | flow-rptfmt -fascii -Fip-protocol,octets -p
50 -n -m5
51
53 Sorting could be faster. Percent totals could be faster. May not work
54 with flow-report prior to 0.68.
55
57 Mark Fullmer <maf@splintered.net>
58
60 flow-tools(1)
61
62
63
64 26 Август 2010 FLOW-RPTFMT(1)