When using flow-report from the command line, is there a way to limit the number of lines returned?

I ended up modifying stat.cfg and added "-m 25" to the flow-rptfmt execution, which seemed to work but also responded with an error (see last line):


# flow-cat /opt/flows/2005/2005-05/2005-05-11/ | flow-report -vTYPE=ip-source-address -vSORT=+octets -vOPTIONS=+names -vFIELDS=-duration
#  ['/usr/local/netflow/bin/flow-rptfmt', '-f', 'ascii', '-m', '25']
ip-source-address flows  octets     packets
// [25 rows of data...]
flow-report: pclose(flow-rptfmt -f ascii -m 25): Broken pipe




_______________________________________________
Flow-tools mailing list
[EMAIL PROTECTED]
http://mailman.splintered.net/mailman/listinfo/flow-tools

Reply via email to