4 capinfos - Prints information about capture files
27 B<Capinfos> is a program that reads one or more capture files and
28 returns some or all available statistics of each E<lt>I<infile>E<gt>.
30 The user specifies which statistics to report by specifying flags
31 corresponding to the statistic. If no flags are specified, B<Capinfos>
32 will report all statistics available.
34 B<Capinfos> is able to detect and read the same capture files that are
35 supported by B<Wireshark>.
36 The input files don't need a specific filename extension; the file
37 format and an optional gzip compression will be automatically detected.
38 Near the beginning of the DESCRIPTION section of wireshark(1) or
39 L<http://www.wireshark.org/docs/man-pages/wireshark.html>
40 is a detailed description of the way B<Wireshark> handles this, which is
41 the same way B<Capinfos> handles this.
49 Displays the capture type of the capture file.
53 Displays the per-file encapsulation of the capture file.
57 Counts the number of packets in the capture file.
61 Displays the size of the file, in bytes. This reports
62 the size of the capture file itself.
66 Displays the total length of all packets in the file, in
67 bytes. This counts the size of the packets as they appeared
68 in their original form, not as they appear in this file.
69 For example, if a packet was originally 1514 bytes and only
70 256 of those bytes were saved to the capture file (if packets
71 were captured with a snaplen or other slicing option),
72 B<Capinfos> will consider the packet to have been 1514 bytes.
76 Displays the capture duration, in seconds. This is the
77 difference in time between the earliest packet seen and
82 Displays the start time of the capture. B<Capinfos> considers
83 the earliest timestamp seen to be the start time, so the
84 first packet in the capture is not necessarily the earliest -
85 if packets exist "out-of-order", time-wise, in the capture,
86 B<Capinfos> detects this.
90 Displays the end time of the capture. B<Capinfos> considers
91 the latest timestamp seen to be the end time, so the
92 last packet in the capture is not necessarily the latest -
93 if packets exist "out-of-order", time-wise, in the capture,
94 B<Capinfos> detects this.
98 Displays the average data rate, in bytes/sec
102 Displays the average data rate, in bits/sec
106 displays the average packet size, in bytes
110 displays the average packet rate, in packets/sec
114 Prints the help listing and exits.
120 tcpdump(8), pcap(3), wireshark(1), mergecap(1), editcap(1), tshark(1),
125 B<Capinfos> is part of the B<Wireshark> distribution. The latest version
126 of B<Wireshark> can be found at L<http://www.wireshark.org>.
128 HTML versions of the Wireshark project man pages are available at:
129 L<http://www.wireshark.org/docs/man-pages>.
135 Ian Schorr <ian[AT]ianschorr.com>
140 Gerald Combs <gerald[AT]wireshark.org>