1 .\" @(#) $FreeBSD: src/usr.sbin/pppstats/pppstats.8,v 1.10 2000/03/03 09:11:28 sheldonh Exp $
2 .\" @(#) $DragonFly: src/usr.sbin/pppstats/pppstats.8,v 1.2 2003/06/17 04:30:01 dillon Exp $
8 .Nd print PPP statistics
18 utility reports PPP-related statistics at regular intervals for the
19 specified PPP interface.
20 If the interface is unspecified, it will default to
22 The display is split horizontally
23 into input and output sections containing columns of statistics
24 describing the properties and volume of packets received and
25 transmitted by the interface.
27 The options are as follows:
28 .Bl -tag -width indent
30 Display absolute values rather than deltas.
32 reports show statistics for the time since the link was initiated.
33 Without this option, the second and subsequent reports show statistics
34 for the time since the last report.
39 If this option is not specified, the default repeat count is 1 if the
41 option is not specified, otherwise infinity.
43 Display additional statistics summarizing the compression ratio
44 achieved by the packet compression algorithm in use.
46 Display additional statistics relating to the performance of the Van
47 Jacobson TCP header compression algorithm.
51 seconds between each display.
52 If this option is not specified, the default interval is 5 seconds.
54 Instead of the standard display, show statistics indicating the
55 performance of the packet compression algorithm in use.
58 The following fields are printed on the input side when the
61 .Bl -tag -width VJCOMP
63 The total number of bytes received by this interface.
65 The total number of packets received by this interface.
67 The number of header-compressed TCP packets received by this interface.
69 The number of header-uncompressed TCP packets received by this
75 The number of corrupted or bogus header-compressed TCP packets
76 received by this interface.
81 The number of VJ header-compressed TCP packets dropped on reception by
82 this interface because of preceding errors.
83 Only reported when the
87 The total number of non-TCP packets received by this interface.
88 Only reported when the
92 The compression ratio achieved for received packets by the
93 packet compression scheme in use, defined as the uncompressed size
94 divided by the compressed size.
95 Only reported when the
99 The total number of bytes received, after decompression of compressed
101 Only reported when the
106 The following fields are printed on the output side:
107 .Bl -tag -width VJCOMP
109 The total number of bytes transmitted from this interface.
111 The total number of packets transmitted from this interface.
113 The number of TCP packets transmitted from this interface with
114 VJ-compressed TCP headers.
116 The number of TCP packets transmitted from this interface with
117 VJ-uncompressed TCP headers.
118 Not reported when the
122 The total number of non-TCP packets transmitted from this interface.
123 Not reported when the
127 The number of searches for the cached header entry for a VJ header
128 compressed TCP packet.
129 Only reported when the
133 The number of failed searches for the cached header entry for a
134 VJ header compressed TCP packet.
135 Only reported when the
139 The compression ratio achieved for transmitted packets by the
140 packet compression scheme in use, defined as the size
141 before compression divided by the compressed size.
142 Only reported when the
146 The total number of bytes to be transmitted, before packet compression
148 Only reported when the
157 instead displays the following fields, relating to the packet
158 compression algorithm currently in use.
159 If packet compression is not in use, these fields will all display zeroes.
160 The fields displayed on the input side are:
161 .Bl -tag -width "INCOMPRESSIBLE BYTE"
163 The number of bytes of compressed packets received.
165 The number of compressed packets received.
166 .It INCOMPRESSIBLE BYTE
167 The number of bytes of incompressible packets (that is, those which
168 were transmitted in uncompressed form) received.
169 .It INCOMPRESSIBLE PACK
170 The number of incompressible packets received.
172 The recent compression ratio for incoming packets, defined as the
173 uncompressed size divided by the compressed size (including both
174 compressible and incompressible packets).
177 The fields displayed on the output side are:
178 .Bl -tag -width "INCOMPRESSIBLE BYTE"
180 The number of bytes of compressed packets transmitted.
182 The number of compressed packets transmitted.
183 .It INCOMPRESSIBLE BYTE
184 The number of bytes of incompressible packets transmitted (that is,
185 those which were transmitted in uncompressed form).
186 .It INCOMPRESSIBLE PACK
187 The number of incompressible packets transmitted.
189 The recent compression ratio for outgoing packets.