flow-rptfmt(1) General Commands Manual flow-rptfmt(1)

2
3
4

NAME

6       flow-rptfmt — Format the output of flow-report in ASCII or HTML
7

SYNOPSIS

9       flow-rptfmt  [-hHnp]   [-a  alarm_time]   [-f format]  [-F fields]  [-m
10       max_lines]  [-s sort_field]
11

DESCRIPTION

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

OPTIONS

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
42                 descending sort.
43

EXAMPLES

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-proto‐
50       col,octets -p -n -m5
51

BUGS

53       Sorting could be faster.  Percent totals could be faster.  May not work
54       with flow-report prior to 0.68.
55

AUTHOR

57       Mark Fullmer maf@splintered.net
58

SEE ALSO

60       flow-tools(1)
61
62
63
64                                                                flow-rptfmt(1)
Impressum