1 .\" $FreeBSD: src/usr.sbin/pppstats/pppstats.8,v 1.10 2000/03/03 09:11:28 sheldonh Exp $
7 .Nd print PPP statistics
17 utility reports PPP-related statistics at regular intervals for the
18 specified PPP interface.
19 If the interface is unspecified, it will default to
21 The display is split horizontally
22 into input and output sections containing columns of statistics
23 describing the properties and volume of packets received and
24 transmitted by the interface.
26 The options are as follows:
27 .Bl -tag -width indent
29 Display absolute values rather than deltas.
31 reports show statistics for the time since the link was initiated.
32 Without this option, the second and subsequent reports show statistics
33 for the time since the last report.
38 If this option is not specified, the default repeat count is 1 if the
40 option is not specified, otherwise infinity.
42 Display additional statistics summarizing the compression ratio
43 achieved by the packet compression algorithm in use.
45 Display additional statistics relating to the performance of the Van
46 Jacobson TCP header compression algorithm.
50 seconds between each display.
51 If this option is not specified, the default interval is 5 seconds.
53 Instead of the standard display, show statistics indicating the
54 performance of the packet compression algorithm in use.
57 The following fields are printed on the input side when the
60 .Bl -tag -width VJCOMP
62 The total number of bytes received by this interface.
64 The total number of packets received by this interface.
66 The number of header-compressed TCP packets received by this interface.
68 The number of header-uncompressed TCP packets received by this
74 The number of corrupted or bogus header-compressed TCP packets
75 received by this interface.
80 The number of VJ header-compressed TCP packets dropped on reception by
81 this interface because of preceding errors.
82 Only reported when the
86 The total number of non-TCP packets received by this interface.
87 Only reported when the
91 The compression ratio achieved for received packets by the
92 packet compression scheme in use, defined as the uncompressed size
93 divided by the compressed size.
94 Only reported when the
98 The total number of bytes received, after decompression of compressed
100 Only reported when the
105 The following fields are printed on the output side:
106 .Bl -tag -width VJCOMP
108 The total number of bytes transmitted from this interface.
110 The total number of packets transmitted from this interface.
112 The number of TCP packets transmitted from this interface with
113 VJ-compressed TCP headers.
115 The number of TCP packets transmitted from this interface with
116 VJ-uncompressed TCP headers.
117 Not reported when the
121 The total number of non-TCP packets transmitted from this interface.
122 Not reported when the
126 The number of searches for the cached header entry for a VJ header
127 compressed TCP packet.
128 Only reported when the
132 The number of failed searches for the cached header entry for a
133 VJ header compressed TCP packet.
134 Only reported when the
138 The compression ratio achieved for transmitted packets by the
139 packet compression scheme in use, defined as the size
140 before compression divided by the compressed size.
141 Only reported when the
145 The total number of bytes to be transmitted, before packet compression
147 Only reported when the
156 instead displays the following fields, relating to the packet
157 compression algorithm currently in use.
158 If packet compression is not in use, these fields will all display zeroes.
159 The fields displayed on the input side are:
160 .Bl -tag -width "INCOMPRESSIBLE BYTE"
162 The number of bytes of compressed packets received.
164 The number of compressed packets received.
165 .It INCOMPRESSIBLE BYTE
166 The number of bytes of incompressible packets (that is, those which
167 were transmitted in uncompressed form) received.
168 .It INCOMPRESSIBLE PACK
169 The number of incompressible packets received.
171 The recent compression ratio for incoming packets, defined as the
172 uncompressed size divided by the compressed size (including both
173 compressible and incompressible packets).
176 The fields displayed on the output side are:
177 .Bl -tag -width "INCOMPRESSIBLE BYTE"
179 The number of bytes of compressed packets transmitted.
181 The number of compressed packets transmitted.
182 .It INCOMPRESSIBLE BYTE
183 The number of bytes of incompressible packets transmitted (that is,
184 those which were transmitted in uncompressed form).
185 .It INCOMPRESSIBLE PACK
186 The number of incompressible packets transmitted.
188 The recent compression ratio for outgoing packets.