nfdump

Collect, process, and analyze NetFlow data from command line

brewmacoslinux
Try with needOr install directly
Source

About

Tools to collect and process netflow data on the command-line

Commands

nfdumpnfcapdnfexpireft2nfdump

Examples

Display summary of NetFlow data from a file$ nfdump -r /path/to/netflow/file
Filter and show only traffic from specific source IP$ nfdump -r /path/to/netflow/file 'src ip 192.168.1.1'
Capture NetFlow data and store in files by hour$ nfcapd -w -D /var/netflow -p 9995