Hi.. Thanks in Advance. asked 20 Aug '11, 08:20 smc edited 20 Aug '11, 11:12 joke |
3 Answers:
Capture filter
Display filter answered 20 Aug '11, 11:06 joke |
SMPP Command ID SMPP Requests Bind_transmitter (0x00000002) Enquire_link (0x00000015) Submit_sm (0x00000004) Unbind (0x00000006) SMPP Responses Bind_transmitter - resp (0x80000002) Enquire_link - resp (0x80000015) Submit_sm - resp (0x80000004) Unbind - resp (0x80000006) SMPP Response Status Ok (0x00000000) Here you can find an overview of the SMPP Command ID’s: http://92.61.226.39/pbook/tcpip9.htm BTW You can use this while capture, but you will only see the packet list. The statistics show up after stopping the capture process by hitting CTRL+C. $ tshark -i name or idx of interface -z io,stat,60,COUNT"(smpp.command_id)smpp.command_id",COUNT"(smpp.command_status)smpp.command_status" answered 21 Aug ‘11, 06:23 joke edited 21 Aug ‘11, 06:30 Hi I got different results when I get statistics for a sample SMPP captured file with tshark and wireshark!! in Tshark with command bellow I have below resulat
but when I count with wireshark it says I have “5343” ‘Deliver - resp’ packages I also use perl regular expression to count thees packets(tshrak -r smpp.cap | perl mycounter.pl), but I have 5341 packets there… Could some one help me why is it so and why I have diffrents results for the same file??! Thanks in Advance. (16 Sep ‘11, 10:09) shahab any idea? I totally got confused :(( (18 Sep ‘11, 07:31) shahab did you check the time in secs while you are running the tshark command? are the same in wireshark? (19 Apr ‘13, 07:19) fachav2 |
try this tshark -nr input.pcap -q -z smpp_commands,tree this is an answer from kurt here: http://ask.wireshark.org/questions/20589/use-tshark-to-get-smpp-operations-results answered 19 Apr '13, 06:09 fachav2 Awesome! That's what I want, thanks!! (21 Apr '13, 23:52) smc |
What sort of graph are you thinking of drawing with that statistic? It's not a graph in the sense of a 2D graph of two variables against each other; it might be, for example, a bar graph.
What do you mean by "real-time"? Do you mean that the graph should be displayed in real time and be updated continuously as new packets come in?
Thanks for your attention.. I want to graph number of SMPP requests and responses as shown in the wireshark graph.
There is no Wireshark graph shown there in your screenshot. There is a window with SMPP statistics shown as text, but there's no graph. To what graph are you referring?