blob: cde3a6055d8a63cef07d28445f7c6ad1586dca95 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
|
.\" @(#) $FreeBSD$
.TH PPPSTATS 8 "2 May 1995"
.SH NAME
pppstats \- print PPP statistics
.SH SYNOPSIS
.B pppstats
[
.B -v
] [
.B -r
] [
.B -c
] [
.B -i
.I <secs>
] [
.I <unit#>
]
.ti 12
.SH DESCRIPTION
.B pppstats
prints PPP-related statistics.
.PP
The
.B -v
flag causes
.B pppstats
to display additional statistics, such as the number of packets tossed
(that is, which the VJ TCP header decompression code rejected).
.PP
The
.B -r
flag causes
.B pppstats
to display the overall packet compression rate. The rate value is
between 0 and 1, with 0 meaning that the data is incompressible.
.PP
The
.B -c
flag is used to specify an alternate display mode that shows
packet compression statistics: the number of packets and bytes
uncompressed (that is, before compression or after decompression),
compressed, and incompressible (packets which did not shrink on
compression and were transmitted uncompressed), and the recent
compression rate. This rate reflects the recent performance of the
compression code rather than the overall rate achieved since
compression was enabled.
.PP
The
.B -i
flag is used to specify the interval between printouts. The default is
5 seconds.
.PP
<unit#> specifies which interface to use for gathering statistics.
|