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

how to view GSM/MAP Operation with tshark statistics

1

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


One Answer:

1

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.

answered 31 May '13, 20:06

Quadratic's gravatar image

Quadratic
1.9k6928
accept rate: 13%

edited 31 May '13, 20:07