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

I want to view statistics with tshark command the same way it's done on Wireshark with GSM/MAP Operation Statistics window, which is on Telephony->GSM->GSM/MAP Operation. When I view tshark -z help I see only sctp or gsm_a, which are not equal to MAP operation statistics.

Can anyone help with this?

asked 31 May '13, 01:37

Edmond's gravatar image

accept rate: 33%

edited 04 Nov '13, 16:02

I don't know for certain but I think the answer is going to be that not all statistics functions available in Wireshark are available in Tshark's -z options. When I needed an automated method of grabbing MAP statistics a few months ago, for lack of any other answer my solution was to set up a series of tshark -R queries on gsm_old.localValue, pipe them to a 'grep -c' command and use the output of that as a counter for the number of that operation code found in the trace.

Since the MAP traffic in that particular case was extremely light that solution worked well and was something I was able to put together in a few dozen lines of a perl script. If tshark itself has a better solution I'd be interested in the other answers here though.

permanent link

answered 31 May '13, 20:06

Quadratic's gravatar image

accept rate: 13%

edited 31 May '13, 20:07

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: 31 May '13, 01:37

question was seen: 4,842 times

last updated: 04 Nov '13, 16:02

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