FLOW-RPTFMT(1)

πŸ“¦ version 0.68.5.1, in fedora 43, fedora 44

πŸ’– FLOW-RPTFMT(1) πŸ’–

okay bestie, gather round, because flow-rptfmt is about to become your new obsession ✨


🌸 NAME 🌸

flow-rptfmt β€” the little glow-up fairy that takes the output of flow-report and formats it into ASCII or HTML πŸŽ€


πŸ¦‹ SYNOPSIS πŸ¦‹

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

πŸ’… DESCRIPTION πŸ’…

so here's the tea β˜• β€” the flow-rptfmt utility takes the CSV output of flow-report and processes it into formatted ASCII or HTML. literally a makeover montage but for data πŸ’–

during this post-processing era it supports sorting, maximum display lines, field filtering, header display, and name substitution. and that's not all β€” you can also set an alarm for use in CGI scripts to limit the CPU time of formatting. she does it all, no cap πŸ‘‘


✨ OPTIONS ✨

  • -a alarm_time β€” exit after alarm_time seconds. like a little timer that says "bestie, we're done here" ⏰
  • -f ascii|html β€” set the output format. defaults to ASCII. choose your aesthetic 🎨
  • -F display_fields β€” limit columns to display_fields. only show the fields you want, we're being selective πŸ’…
  • -h β€” Help. she's here for you 🫢
  • -H β€” Display header information. give the people context πŸ‘‘
  • -m max_lines β€” limit rows to max_lines. keep it short and iconic, we love a snack not a feast πŸ“
  • -n β€” Enable symbol table lookups. get those names translated πŸ”
  • -p β€” Display in percent total form. math but make it cute 🌈
  • -s sort_field β€” Sort on sort_field. prepend with + for ascending, - for descending sort. up or down, your call, main character energy either way ⭐

🌟 EXAMPLES 🌟

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. periodt πŸ’…

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

πŸ’€ BUGS πŸ’€

  • sorting could be faster 😭
  • percent totals could be faster 😭
  • may not work with flow-report prior to 0.68 β€” so like, check your version bestie, don't get caught out πŸ™ˆ
ngl these are real, not me being dramatic. 0.68 is the cutoff, fr fr.

πŸ’œ AUTHOR πŸ’œ

Mark Fullmer <maf@splintered.net> β€” the icon, the legend, the one who made this happen πŸ‘‘


🧚 SEE ALSO 🧚

flow-tools(1)


and that's the whole vibe check, bestie 🌸 this page was living its best life dated 26 Август 2010, so go forth, format some flows, and slay βœ¨πŸ’–πŸ¦‹

πŸ“¦ where this page comes from