4 capinfos - Prints information about capture files
25 B<Capinfos> is a program that reads one or more capture files and
26 returns some or all available statistics of each E<lt>I<infile>E<gt>.
28 The user specifies which statistics to report by specifying flags
29 corresponding to the statistic. If no flags are specified, B<Capinfos>
30 will report all statistics available.
32 B<Capinfos> is able to detect and read the same capture files that are
33 supported by B<Ethereal>.
34 The input file doesn't need a specific filename extension, the file
35 format and an optional gzip compression will be automatically detected.
36 The I<capture file format> section of I<ethereal(1)> or
37 I<http://www.ethereal.com/docs/man-pages/ethereal.1.html>
38 provides a detailed description.
46 Displays the capture type of the capture file.
50 Counts the number of packets in the capture file.
54 Displays the size of the file, in bytes. This reports
55 the size of the capture file itself.
59 Displays the total length of all packets in the file, in
60 bytes. This counts the size of the packets as they appeared
61 in their original form, not as they appear in this file.
62 For example, if a packet was originally 1514 bytes and only
63 256 of those bytes were saved to the capture file (if packets
64 were captured with a snaplen or other slicing option),
65 B<Capinfos> will consider the packet to have been 1514 bytes.
69 Displays the capture duration, in seconds. This is the
70 difference in time between the earliest packet seen and
75 Displays the start time of the capture. B<Capinfos> considers
76 the earliest timestamp seen to be the start time, so the
77 first packet in the capture is not necessarily the earliest -
78 if packets exist "out-of-order", time-wise, in the capture,
79 B<Capinfos> detects this.
83 Displays the end time of the capture. B<Capinfos> considers
84 the latest timestamp seen to be the end time, so the
85 last packet in the capture is not necessarily the latest -
86 if packets exist "out-of-order", time-wise, in the capture,
87 B<Capinfos> detects this.
91 Displays the average data rate, in bytes
95 Displays the average data rate, in bits
99 displays the average packet size, in bytes
103 Prints the help listing and exits.
109 I<tcpdump(8)>, I<pcap(3)>, I<ethereal(1)>, I<mergecap(1)>, I<editcap(1)>, I<tethereal(1)>
113 B<Capinfos> is part of the B<Ethereal> distribution. The latest version
114 of B<Ethereal> can be found at B<http://www.ethereal.com>.
116 HTML versions of the Ethereal project man pages are available at:
117 http://www.ethereal.com/docs/man-pages
123 Ian Schorr <ian[AT]ianschorr.com>
128 Gerald Combs <gerald[AT]ethereal.com>