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

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

Edmond
1813614
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

Quadratic
1.9k6928
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

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:

×832
×86
×37
×13

question asked: 31 May '13, 01:37

question was seen: 4,728 times

last updated: 04 Nov '13, 16:02

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