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

How to force capinfos to show exact packet count?


I'm using capinfos as follow to get number of packets in my pcap file:

capinfos MY_PCAP_FILE -c

There result does not show the exact number of packets:

Number of packets: 2264 k

Is there any way to force it to show packet count in right manner?

asked 05 Feb '15, 05:03

SuBCo's gravatar image

accept rate: 0%

edited 05 Feb '15, 05:04

One Answer:


Sure, add -M to the parameters.

answered 05 Feb '15, 05:58

grahamb's gravatar image

grahamb ♦
accept rate: 22%