Huge thanks to our Platinum Members Endace and LiveAction,
and our Silver Member Veeam, for supporting the Wireshark Foundation and project.

Wireshark-users: [Wireshark-users] [tshark]: packet count

From: Evanghelos Papaioannu <ebah80@xxxxxxxxx>
Date: Fri, 2 Sep 2011 10:07:54 +0200
Hi all,
i'm new to tshark (yes, command line!) and I really can't understand how to count how many SIP packets are inside a cap file (snoop from solaris machine).

I tried many ways but it just printed all the packets.

Can you please give any advice?

Thanks,
Evan