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

count number of submit_sm counts per second

0

Hi all, I have been using wireshark for quite some time..However i am stuck at a place where the requirement is to count the number of Submit_sm packets(SMPP) per second from a tcpdump of 1 hour(30min,15min) to know the TPS(Transactions per second) at which my application is hitting the SMSC. Please suggest me if there is a way out

asked 14 Sep '13, 07:17

harish's gravatar image

harish
1111
accept rate: 0%


One Answer:

0

You can use tshark and a script or Excel.

tshark -nr input.pcap -R "smpp.command_id == 0x80000004" -T fields -E header=y -E separator=; -e frame.time_relative -e frame.number

Then use that output and process it with a script (perl, python, whatever) or with Excel to calculate the number of submit_sm packtes per second.

Regards
Kurt

answered 14 Sep '13, 15:06

Kurt%20Knochner's gravatar image

Kurt Knochner ♦
24.8k1039237
accept rate: 15%

Thanks for your respnse..Will give a try and let u know the result

(14 Sep '13, 19:59) harish