GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
flow-rptfmt(1) FreeBSD General Commands Manual flow-rptfmt(1)

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

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

The flow-rptfmt 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.

Exit after alarm_time seconds.
Set output format. Defaults to ASCII.
Limit columns to display_fields
Help.
Display header information.
Limit rows to max_lines.
Enable symbol table lookups.
Display in percent total form.
Sort on sort_field. Prepend with + for ascending, - for descending sort.

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.


cat daily-ip-protocol.txt | flow-rptfmt -fascii -Fip-protocol,octets -p -n -m5

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

Mark Fullmer maf@splintered.net

flow-tools(1)


Search for    or go to Top of page |  Section 1 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.