1997-01-14 07:20:47 +00:00
|
|
|
.\" @(#) $FreeBSD$
|
1995-10-31 21:41:59 +00:00
|
|
|
.TH PPPSTATS 8 "2 May 1995"
|
1994-11-12 06:07:15 +00:00
|
|
|
.SH NAME
|
1995-10-31 21:41:59 +00:00
|
|
|
pppstats \- print PPP statistics
|
1994-11-12 06:07:15 +00:00
|
|
|
.SH SYNOPSIS
|
1995-10-31 21:41:59 +00:00
|
|
|
.B pppstats
|
|
|
|
[
|
|
|
|
.B -v
|
|
|
|
] [
|
|
|
|
.B -r
|
|
|
|
] [
|
|
|
|
.B -c
|
|
|
|
] [
|
|
|
|
.B -i
|
|
|
|
.I <secs>
|
|
|
|
] [
|
|
|
|
.I <unit#>
|
|
|
|
]
|
|
|
|
.ti 12
|
1994-11-12 06:07:15 +00:00
|
|
|
.SH DESCRIPTION
|
1995-10-31 21:41:59 +00:00
|
|
|
.B pppstats
|
|
|
|
prints PPP-related statistics.
|
1994-11-12 06:07:15 +00:00
|
|
|
.PP
|
1995-10-31 21:41:59 +00:00
|
|
|
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).
|
1994-11-12 06:07:15 +00:00
|
|
|
.PP
|
1995-10-31 21:41:59 +00:00
|
|
|
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.
|
1994-11-12 06:07:15 +00:00
|
|
|
.PP
|
1995-10-31 21:41:59 +00:00
|
|
|
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.
|
1994-11-12 06:07:15 +00:00
|
|
|
.PP
|
1995-10-31 21:41:59 +00:00
|
|
|
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.
|