1PPPSTATS(8) System Manager's Manual PPPSTATS(8)
2
3
4
6 pppstats - print PPP statistics
7
9 pppstats [ -a ] [ -v ] [ -r ] [ -z ] [ -c <count> ] [ -w <secs> ] [
10 interface ]
11
13 The pppstats utility reports PPP-related statistics at regular inter‐
14 vals for the specified PPP interface. If the interface is unspecified,
15 it will default to ppp0. The display is split horizontally into input
16 and output sections containing columns of statistics describing the
17 properties and volume of packets received and transmitted by the inter‐
18 face.
19
20 The options are as follows:
21
22 -a Display absolute values rather than deltas. With this option,
23 all reports show statistics for the time since the link was ini‐
24 tiated. Without this option, the second and subsequent reports
25 show statistics for the time since the last report.
26
27 -c count
28 Repeat the display count times. If this option is not speci‐
29 fied, the default repeat count is 1 if the -w option is not
30 specified, otherwise infinity.
31
32 -r Display additional statistics summarizing the compression ratio
33 achieved by the packet compression algorithm in use.
34
35 -v Display additional statistics relating to the performance of the
36 Van Jacobson TCP header compression algorithm.
37
38 -w wait
39 Pause wait seconds between each display. If this option is not
40 specified, the default interval is 5 seconds.
41
42 -z Instead of the standard display, show statistics indicating the
43 performance of the packet compression algorithm in use.
44
45 The following fields are printed on the input side when the -z option
46 is not used:
47
48 IN The total number of bytes received by this interface.
49
50 PACK The total number of packets received by this interface.
51
52 VJCOMP The number of header-compressed TCP packets received by this
53 interface.
54
55 VJUNC The number of header-uncompressed TCP packets received by this
56 interface. Not reported when the -r option is specified.
57
58 VJERR The number of corrupted or bogus header-compressed TCP packets
59 received by this interface. Not reported when the -r option is
60 specified.
61
62 VJTOSS The number of VJ header-compressed TCP packets dropped on recep‐
63 tion by this interface because of preceding errors. Only
64 reported when the -v option is specified.
65
66 NON-VJ The total number of non-TCP packets received by this interface.
67 Only reported when the -v option is specified.
68
69 RATIO The compression ratio achieved for received packets by the
70 packet compression scheme in use, defined as the uncompressed
71 size divided by the compressed size. Only reported when the -r
72 option is specified.
73
74 UBYTE The total number of bytes received, after decompression of com‐
75 pressed packets. Only reported when the -r option is specified.
76
77 The following fields are printed on the output side:
78
79 OUT The total number of bytes transmitted from this interface.
80
81 PACK The total number of packets transmitted from this interface.
82
83 VJCOMP The number of TCP packets transmitted from this interface with
84 VJ-compressed TCP headers.
85
86 VJUNC The number of TCP packets transmitted from this interface with
87 VJ-uncompressed TCP headers. Not reported when the -r option is
88 specified.
89
90 NON-VJ The total number of non-TCP packets transmitted from this inter‐
91 face. Not reported when the -r option is specified.
92
93 VJSRCH The number of searches for the cached header entry for a VJ
94 header compressed TCP packet. Only reported when the -v option
95 is specified.
96
97 VJMISS The number of failed searches for the cached header entry for a
98 VJ header compressed TCP packet. Only reported when the -v
99 option is specified.
100
101 RATIO The compression ratio achieved for transmitted packets by the
102 packet compression scheme in use, defined as the size before
103 compression divided by the compressed size. Only reported when
104 the -r option is specified.
105
106 UBYTE The total number of bytes to be transmitted, before packet com‐
107 pression is applied. Only reported when the -r option is speci‐
108 fied.
109
110 When the -z option is specified, instead displays the following fields,
111 relating to the packet compression algorithm currently in use. If
112 packet compression is not in use, these fields will all display zeroes.
113 The fields displayed on the input side are:
114
115 COMPRESSED BYTE
116 The number of bytes of compressed packets received.
117
118 COMPRESSED PACK
119 The number of compressed packets received.
120
121 INCOMPRESSIBLE BYTE
122 The number of bytes of incompressible packets (that is, those
123 which were transmitted in uncompressed form) received.
124
125 INCOMPRESSIBLE PACK
126 The number of incompressible packets received.
127
128 COMP RATIO
129 The recent compression ratio for incoming packets, defined as
130 the uncompressed size divided by the compressed size (including
131 both compressible and incompressible packets).
132
133 The fields displayed on the output side are:
134
135 COMPRESSED BYTE
136 The number of bytes of compressed packets transmitted.
137
138 COMPRESSED PACK
139 The number of compressed packets transmitted.
140
141 INCOMPRESSIBLE BYTE
142 The number of bytes of incompressible packets transmitted (that
143 is, those which were transmitted in uncompressed form).
144
145 INCOMPRESSIBLE PACK
146 The number of incompressible packets transmitted.
147
148 COMP RATIO
149 The recent compression ratio for outgoing packets.
150
152 pppd(8)
153
154
155
156 26 June 1995 PPPSTATS(8)