TShark statistics
$ tshark -r test.pcap -qz io,stat,30,"COUNT(frame) frame"
===================================================================
IO Statistics
Interval: 30.000 secs
Column #0: COUNT(frame) frame
| Column #0
Time | COUNT
000.000-030.000 943
030.000-060.000 677
060.000-090.000 25
===================================================================
You can change the interval:
$ tshark -r test.pcap -qz io,stat,90,"COUNT(frame) frame"
===================================================================
IO Statistics
Interval: 90.000 secs
Column #0: COUNT(frame) frame
| Column #0
Time | COUNT
000.000-090.000 1645
===================================================================
Hope this helps.
answered 25 Sep '11, 07:30

joke
1.3k●4●9●34
accept rate: 9%
I ended up using
tshark -r p2/packet_dumps/packet_dump-$file_id -z io,phs,$filter | grep radiotap
but your solution works as well