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

Hi I am new to perl scripting & wireshark usage. Can any one please please help me exporting the sequence numbers & data rates of QoS data frames from a pcap file to excel sheet.

Thanks in Advance, Srinivas

asked 14 Jul '14, 22:05

srinivas's gravatar image

srinivas
11112
accept rate: 0%


Please try this:

tshark -nr input.pcap -T fields -e frame.number -e ip.src -e ip.dst -e tcp.seq -E header=yes -E separator=; > output.csv

Furthermore, you need a display filter for 'QoS' frames. As you did not specify what kind of QoS frames you are talking, I can only tell you how it works in general.

tshark -nr input.pcap -Y 'tcp.port eq 80' -T fields -e frame.number -e ip.src -e ip.dst -e tcp.seq -E header=yes -E separator=; > output.csv

Please replace tcp.port eq 80 with your filter for 'QoS' traffic.

BTW: Please also define what you mean by: 'data rates' of QoS data frames.

Regards
Kurt

permanent link

answered 15 Jul '14, 00:50

Kurt%20Knochner's gravatar image

Kurt Knochner ♦
24.8k1039237
accept rate: 15%

Your answer
toggle preview

Follow this question

By Email:

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

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "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:

×1,620
×238
×23
×10
×7

question asked: 14 Jul '14, 22:05

question was seen: 2,494 times

last updated: 15 Jul '14, 00:50

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