This is our old Q&A Site. Please post any new questions and answers at

Hi I have to analyze a large number of pcap files and made a little script that outputs the conversations for tcp and udp.

-q -z conv,tcp -z conv,udp

Thus far everything works fine. The problem is that I only need the top 10-20 entries of total bytes and don't need the last ~60000 entries.

Is there an output filter that can limit the entries to top 10? Or maybe a way to only print the entry if the total traffic (or frames) is greater than a specified value?

Thanks in advance

asked 09 Feb '17, 04:38

laminatorius's gravatar image

accept rate: 0%

There is no filtering on statistics output, That is left to external scripts.

permanent link

answered 09 Feb '17, 07:45

Jaap's gravatar image

Jaap ♦
accept rate: 14%

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here



Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text]( "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:


question asked: 09 Feb '17, 04:38

question was seen: 1,125 times

last updated: 09 Feb '17, 07:45

p​o​w​e​r​e​d by O​S​Q​A