Add -d,--dump option for dump flows to stdout. The format looks similary like in curses mode except case when -s option is specified then dst & src rows grouped by empty line for better separation.
Option -t,--interval might be used in dump mode for delay and calculate rate statistics. UI table was changed to be more generic used in both curses & stdout modes, I think it would be good to make it generate CSV/JSON format in similar usage. Vadim Kochan (8): ui: Use custom print function ui: Allow to use stdout or curses UI output mode ui: Print "*" for empty or NULL column values flowtop: Print "-->" before dst peer in src mode flowtop: Remove unused args in draw_flow_entry(...) flowtop: Move curses drawing to separate function flowtop: Add command-line option to dump flows to stdout flowtop: man: Add description for -d,--dump option flowtop.8 | 10 +++- flowtop.c | 154 ++++++++++++++++++++++++++++++++++++++++++++++++++------------ ui.c | 74 ++++++++++++++++++++++++------ ui.h | 8 ++++ 4 files changed, 202 insertions(+), 44 deletions(-) -- 2.6.3 -- You received this message because you are subscribed to the Google Groups "netsniff-ng" group. To unsubscribe from this group and stop receiving emails from it, send an email to netsniff-ng+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.