blob: 402a8d81dcd0d3ee41dc6733fa78c2ac634da69e [file] [log] [blame]
lh9ed821d2023-04-07 01:36:19 -07001.\" @(#) $Id: pppstats.8,v 1.2 2007-06-08 04:02:39 gerg Exp $
2.TH PPPSTATS 8 "26 June 1995"
3.SH NAME
4pppstats \- print PPP statistics
5.SH SYNOPSIS
6.B pppstats
7[
8.B \-a
9] [
10.B \-v
11] [
12.B \-r
13] [
14.B \-z
15] [
16.B \-c
17.I <count>
18] [
19.B \-w
20.I <secs>
21] [
22.I interface
23]
24.ti 12
25.SH DESCRIPTION
26The
27.B pppstats
28utility reports PPP\-related statistics at regular intervals for the
29specified PPP interface. If the interface is unspecified, it will
30default to ppp0.
31The display is split horizontally
32into input and output sections containing columns of statistics
33describing the properties and volume of packets received and
34transmitted by the interface.
35.PP
36The options are as follows:
37.TP
38.B \-a
39Display absolute values rather than deltas. With this option, all
40reports show statistics for the time since the link was initiated.
41Without this option, the second and subsequent reports show statistics
42for the time since the last report.
43.TP
44.B \-c \fIcount
45Repeat the display
46.I count
47times. If this option is not specified, the default repeat count is 1
48if the
49.B \-w
50option is not specified, otherwise infinity.
51.TP
52.B \-r
53Display additional statistics summarizing the compression ratio
54achieved by the packet compression algorithm in use.
55.TP
56.B \-v
57Display additional statistics relating to the performance of the Van
58Jacobson TCP header compression algorithm.
59.TP
60.B \-w \fIwait
61Pause
62.I wait
63seconds between each display. If this option is not specified, the
64default interval is 5 seconds.
65.TP
66.B \-z
67Instead of the standard display, show statistics indicating the
68performance of the packet compression algorithm in use.
69.PP
70The following fields are printed on the input side when the
71.B \-z
72option is not used:
73.TP
74.B IN
75The total number of bytes received by this interface.
76.TP
77.B PACK
78The total number of packets received by this interface.
79.TP
80.B VJCOMP
81The number of header-compressed TCP packets received by this interface.
82.TP
83.B VJUNC
84The number of header-uncompressed TCP packets received by this
85interface. Not reported when the
86.B \-r
87option is specified.
88.TP
89.B VJERR
90The number of corrupted or bogus header-compressed TCP packets
91received by this interface. Not reported when the
92.B \-r
93option is specified.
94.TP
95.B VJTOSS
96The number of VJ header-compressed TCP packets dropped on reception by
97this interface because of preceding errors. Only reported when the
98.B \-v
99option is specified.
100.TP
101.B NON-VJ
102The total number of non-TCP packets received by this interface. Only
103reported when the
104.B \-v
105option is specified.
106.TP
107.B RATIO
108The compression ratio achieved for received packets by the
109packet compression scheme in use, defined as the uncompressed size
110divided by the compressed size.
111Only reported when the
112.B \-r
113option is specified.
114.TP
115.B UBYTE
116The total number of bytes received, after decompression of compressed
117packets. Only reported when the
118.B \-r
119option is specified.
120.PP
121The following fields are printed on the output side:
122.TP
123.B OUT
124The total number of bytes transmitted from this interface.
125.TP
126.B PACK
127The total number of packets transmitted from this interface.
128.TP
129.B VJCOMP
130The number of TCP packets transmitted from this interface with
131VJ-compressed TCP headers.
132.TP
133.B VJUNC
134The number of TCP packets transmitted from this interface with
135VJ-uncompressed TCP headers.
136Not reported when the
137.B \-r
138option is specified.
139.TP
140.B NON-VJ
141The total number of non-TCP packets transmitted from this interface.
142Not reported when the
143.B \-r
144option is specified.
145.TP
146.B VJSRCH
147The number of searches for the cached header entry for a VJ header
148compressed TCP packet. Only reported when the
149.B \-v
150option is specified.
151.TP
152.B VJMISS
153The number of failed searches for the cached header entry for a
154VJ header compressed TCP packet. Only reported when the
155.B \-v
156option is specified.
157.TP
158.B RATIO
159The compression ratio achieved for transmitted packets by the
160packet compression scheme in use, defined as the size
161before compression divided by the compressed size.
162Only reported when the
163.B \-r
164option is specified.
165.TP
166.B UBYTE
167The total number of bytes to be transmitted, before packet compression
168is applied. Only reported when the
169.B \-r
170option is specified.
171.PP
172When the
173.B \-z
174option is specified,
175.Nm pppstats
176instead displays the following fields, relating to the packet
177compression algorithm currently in use. If packet compression is not
178in use, these fields will all display zeroes. The fields displayed on
179the input side are:
180.TP
181.B COMPRESSED BYTE
182The number of bytes of compressed packets received.
183.TP
184.B COMPRESSED PACK
185The number of compressed packets received.
186.TP
187.B INCOMPRESSIBLE BYTE
188The number of bytes of incompressible packets (that is, those which
189were transmitted in uncompressed form) received.
190.TP
191.B INCOMPRESSIBLE PACK
192The number of incompressible packets received.
193.TP
194.B COMP RATIO
195The recent compression ratio for incoming packets, defined as the
196uncompressed size divided by the compressed size (including both
197compressible and incompressible packets).
198.PP
199The fields displayed on the output side are:
200.TP
201.B COMPRESSED BYTE
202The number of bytes of compressed packets transmitted.
203.TP
204.B COMPRESSED PACK
205The number of compressed packets transmitted.
206.TP
207.B INCOMPRESSIBLE BYTE
208The number of bytes of incompressible packets transmitted (that is,
209those which were transmitted in uncompressed form).
210.TP
211.B INCOMPRESSIBLE PACK
212The number of incompressible packets transmitted.
213.TP
214.B COMP RATIO
215The recent compression ratio for outgoing packets.
216.SH SEE ALSO
217pppd(8)