1997-07-22 19:19:30 +04:00
|
|
|
.\" $NetBSD: pppstats.8,v 1.9 1997/07/22 15:19:30 perry Exp $
|
1997-03-12 23:17:18 +03:00
|
|
|
.\" @(#) Id: pppstats.8,v 1.3 1996/07/01 01:22:35 paulus Exp
|
|
|
|
.TH PPPSTATS 8 "26 June 1995"
|
|
|
|
.SH NAME
|
|
|
|
pppstats \- print PPP statistics
|
|
|
|
.SH SYNOPSIS
|
|
|
|
.B pppstats
|
|
|
|
[
|
|
|
|
.B -a
|
|
|
|
] [
|
|
|
|
.B -v
|
|
|
|
] [
|
|
|
|
.B -r
|
|
|
|
] [
|
|
|
|
.B -z
|
|
|
|
] [
|
|
|
|
.B -c
|
|
|
|
.I <count>
|
|
|
|
] [
|
|
|
|
.B -w
|
|
|
|
.I <secs>
|
|
|
|
] [
|
|
|
|
.I interface
|
|
|
|
]
|
|
|
|
.ti 12
|
|
|
|
.SH DESCRIPTION
|
|
|
|
The
|
|
|
|
.B pppstats
|
1995-08-17 15:44:51 +04:00
|
|
|
utility reports PPP-related statistics at regular intervals for the
|
1997-03-12 23:17:18 +03:00
|
|
|
specified PPP interface. If the interface is unspecified, it will
|
|
|
|
default to ppp0.
|
1995-08-17 15:44:51 +04:00
|
|
|
The display is split horizontally
|
1994-11-15 10:20:52 +03:00
|
|
|
into input and output sections containing columns of statistics
|
|
|
|
describing the properties and volume of packets received and
|
|
|
|
transmitted by the interface.
|
1997-03-12 23:17:18 +03:00
|
|
|
.PP
|
1994-11-15 10:20:52 +03:00
|
|
|
The options are as follows:
|
1997-03-12 23:17:18 +03:00
|
|
|
.TP
|
|
|
|
.B -a
|
|
|
|
Display absolute values rather than deltas. With this option, all
|
|
|
|
reports show statistics for the time since the link was initiated.
|
|
|
|
Without this option, the second and subsequent reports show statistics
|
|
|
|
for the time since the last report.
|
|
|
|
.TP
|
|
|
|
.B -c \fIcount
|
1994-11-15 10:20:52 +03:00
|
|
|
Repeat the display
|
1997-03-12 23:17:18 +03:00
|
|
|
.I count
|
|
|
|
times. If this option is not specified, the default repeat count is 1
|
|
|
|
if the
|
|
|
|
.B -w
|
1995-08-17 15:44:51 +04:00
|
|
|
option is not specified, otherwise infinity.
|
1997-03-12 23:17:18 +03:00
|
|
|
.TP
|
|
|
|
.B -r
|
1995-08-17 15:44:51 +04:00
|
|
|
Display additional statistics summarizing the compression ratio
|
|
|
|
achieved by the packet compression algorithm in use.
|
1997-03-12 23:17:18 +03:00
|
|
|
.TP
|
|
|
|
.B -v
|
|
|
|
Display additional statistics relating to the performance of the Van
|
|
|
|
Jacobson TCP header compression algorithm.
|
|
|
|
.TP
|
|
|
|
.B -w \fIwait
|
1994-11-15 10:20:52 +03:00
|
|
|
Pause
|
1997-03-12 23:17:18 +03:00
|
|
|
.I wait
|
|
|
|
seconds between each display. If this option is not specified, the
|
|
|
|
default interval is 5 seconds.
|
|
|
|
.TP
|
|
|
|
.B -z
|
1995-08-17 15:44:51 +04:00
|
|
|
Instead of the standard display, show statistics indicating the
|
|
|
|
performance of the packet compression algorithm in use.
|
1997-03-12 23:17:18 +03:00
|
|
|
.PP
|
1995-08-17 15:44:51 +04:00
|
|
|
The following fields are printed on the input side when the
|
1997-03-12 23:17:18 +03:00
|
|
|
.B -z
|
1995-08-17 15:44:51 +04:00
|
|
|
option is not used:
|
1997-03-12 23:17:18 +03:00
|
|
|
.TP
|
|
|
|
.B IN
|
1994-11-15 10:20:52 +03:00
|
|
|
The total number of bytes received by this interface.
|
1997-03-12 23:17:18 +03:00
|
|
|
.TP
|
|
|
|
.B PACK
|
1994-11-15 10:20:52 +03:00
|
|
|
The total number of packets received by this interface.
|
1997-03-12 23:17:18 +03:00
|
|
|
.TP
|
|
|
|
.B VJCOMP
|
|
|
|
The number of header-compressed TCP packets received by this interface.
|
|
|
|
.TP
|
|
|
|
.B VJUNC
|
|
|
|
The number of header-uncompressed TCP packets received by this
|
|
|
|
interface. Not reported when the
|
|
|
|
.B -r
|
1996-03-15 05:47:18 +03:00
|
|
|
option is specified.
|
1997-03-12 23:17:18 +03:00
|
|
|
.TP
|
|
|
|
.B VJERR
|
|
|
|
The number of corrupted or bogus header-compressed TCP packets
|
|
|
|
received by this interface. Not reported when the
|
|
|
|
.B -r
|
1996-03-15 05:47:18 +03:00
|
|
|
option is specified.
|
1997-03-12 23:17:18 +03:00
|
|
|
.TP
|
|
|
|
.B VJTOSS
|
1995-08-17 15:44:51 +04:00
|
|
|
The number of VJ header-compressed TCP packets dropped on reception by
|
1997-03-12 23:17:18 +03:00
|
|
|
this interface because of preceding errors. Only reported when the
|
|
|
|
.B -v
|
1994-11-15 10:20:52 +03:00
|
|
|
option is specified.
|
1997-03-12 23:17:18 +03:00
|
|
|
.TP
|
|
|
|
.B NON-VJ
|
1997-07-22 19:19:30 +04:00
|
|
|
The total number of non-VJ packets received by this interface. Only
|
1994-11-15 10:20:52 +03:00
|
|
|
reported when the
|
1997-03-12 23:17:18 +03:00
|
|
|
.B -v
|
1994-11-15 10:20:52 +03:00
|
|
|
option is specified.
|
1997-03-12 23:17:18 +03:00
|
|
|
.TP
|
|
|
|
.B RATIO
|
1996-03-15 05:47:18 +03:00
|
|
|
The compression ratio achieved for received packets by the
|
|
|
|
packet compression scheme in use, defined as the uncompressed size
|
|
|
|
divided by the compressed size.
|
|
|
|
Only reported when the
|
1997-03-12 23:17:18 +03:00
|
|
|
.B -r
|
1995-08-17 15:44:51 +04:00
|
|
|
option is specified.
|
1997-03-12 23:17:18 +03:00
|
|
|
.TP
|
|
|
|
.B UBYTE
|
1995-08-17 15:44:51 +04:00
|
|
|
The total number of bytes received, after decompression of compressed
|
|
|
|
packets. Only reported when the
|
1997-03-12 23:17:18 +03:00
|
|
|
.B -r
|
1995-08-17 15:44:51 +04:00
|
|
|
option is specified.
|
1997-03-12 23:17:18 +03:00
|
|
|
.PP
|
1994-11-15 10:20:52 +03:00
|
|
|
The following fields are printed on the output side:
|
1997-03-12 23:17:18 +03:00
|
|
|
.TP
|
|
|
|
.B OUT
|
1994-11-15 10:20:52 +03:00
|
|
|
The total number of bytes transmitted from this interface.
|
1997-03-12 23:17:18 +03:00
|
|
|
.TP
|
|
|
|
.B PACK
|
1994-11-15 10:20:52 +03:00
|
|
|
The total number of packets transmitted from this interface.
|
1997-03-12 23:17:18 +03:00
|
|
|
.TP
|
|
|
|
.B VJCOMP
|
1995-08-17 15:44:51 +04:00
|
|
|
The number of TCP packets transmitted from this interface with
|
|
|
|
VJ-compressed TCP headers.
|
1997-03-12 23:17:18 +03:00
|
|
|
.TP
|
|
|
|
.B VJUNC
|
1995-08-17 15:44:51 +04:00
|
|
|
The number of TCP packets transmitted from this interface with
|
|
|
|
VJ-uncompressed TCP headers.
|
1996-03-15 05:47:18 +03:00
|
|
|
Not reported when the
|
1997-03-12 23:17:18 +03:00
|
|
|
.B -r
|
1996-03-15 05:47:18 +03:00
|
|
|
option is specified.
|
1997-03-12 23:17:18 +03:00
|
|
|
.TP
|
|
|
|
.B NON-VJ
|
1997-07-22 19:19:30 +04:00
|
|
|
The total number of non-VJ packets transmitted from this interface.
|
1996-03-15 05:47:18 +03:00
|
|
|
Not reported when the
|
1997-03-12 23:17:18 +03:00
|
|
|
.B -r
|
1996-03-15 05:47:18 +03:00
|
|
|
option is specified.
|
1997-03-12 23:17:18 +03:00
|
|
|
.TP
|
|
|
|
.B VJSRCH
|
1995-08-17 15:44:51 +04:00
|
|
|
The number of searches for the cached header entry for a VJ header
|
|
|
|
compressed TCP packet. Only reported when the
|
1997-03-12 23:17:18 +03:00
|
|
|
.B -v
|
1994-11-15 10:20:52 +03:00
|
|
|
option is specified.
|
1997-03-12 23:17:18 +03:00
|
|
|
.TP
|
|
|
|
.B VJMISS
|
1994-11-15 10:20:52 +03:00
|
|
|
The number of failed searches for the cached header entry for a
|
1995-08-17 15:44:51 +04:00
|
|
|
VJ header compressed TCP packet. Only reported when the
|
1997-03-12 23:17:18 +03:00
|
|
|
.B -v
|
1995-08-17 15:44:51 +04:00
|
|
|
option is specified.
|
1997-03-12 23:17:18 +03:00
|
|
|
.TP
|
|
|
|
.B RATIO
|
1996-03-15 05:47:18 +03:00
|
|
|
The compression ratio achieved for transmitted packets by the
|
|
|
|
packet compression scheme in use, defined as the size
|
|
|
|
before compression divided by the compressed size.
|
1995-08-17 15:44:51 +04:00
|
|
|
Only reported when the
|
1997-03-12 23:17:18 +03:00
|
|
|
.B -r
|
1995-08-17 15:44:51 +04:00
|
|
|
option is specified.
|
1997-03-12 23:17:18 +03:00
|
|
|
.TP
|
|
|
|
.B UBYTE
|
1995-08-17 15:44:51 +04:00
|
|
|
The total number of bytes to be transmitted, before packet compression
|
|
|
|
is applied. Only reported when the
|
1997-03-12 23:17:18 +03:00
|
|
|
.B -r
|
1994-11-15 10:20:52 +03:00
|
|
|
option is specified.
|
1997-03-12 23:17:18 +03:00
|
|
|
.PP
|
1995-08-17 15:44:51 +04:00
|
|
|
When the
|
1997-03-12 23:17:18 +03:00
|
|
|
.B -z
|
1995-08-17 15:44:51 +04:00
|
|
|
option is specified,
|
1997-07-22 19:19:30 +04:00
|
|
|
.B pppstats
|
1995-08-17 15:44:51 +04:00
|
|
|
instead displays the following fields, relating to the packet
|
|
|
|
compression algorithm currently in use. If packet compression is not
|
|
|
|
in use, these fields will all display zeroes. The fields displayed on
|
|
|
|
the input side are:
|
1997-03-12 23:17:18 +03:00
|
|
|
.TP
|
|
|
|
.B COMPRESSED BYTE
|
1995-08-17 15:44:51 +04:00
|
|
|
The number of bytes of compressed packets received.
|
1997-03-12 23:17:18 +03:00
|
|
|
.TP
|
|
|
|
.B COMPRESSED PACK
|
1995-08-17 15:44:51 +04:00
|
|
|
The number of compressed packets received.
|
1997-03-12 23:17:18 +03:00
|
|
|
.TP
|
|
|
|
.B INCOMPRESSIBLE BYTE
|
1995-08-17 15:44:51 +04:00
|
|
|
The number of bytes of incompressible packets (that is, those which
|
|
|
|
were transmitted in uncompressed form) received.
|
1997-03-12 23:17:18 +03:00
|
|
|
.TP
|
|
|
|
.B INCOMPRESSIBLE PACK
|
1995-08-17 15:44:51 +04:00
|
|
|
The number of incompressible packets received.
|
1997-03-12 23:17:18 +03:00
|
|
|
.TP
|
|
|
|
.B COMP RATIO
|
1996-03-15 05:47:18 +03:00
|
|
|
The recent compression ratio for incoming packets, defined as the
|
|
|
|
uncompressed size divided by the compressed size (including both
|
|
|
|
compressible and incompressible packets).
|
1997-03-12 23:17:18 +03:00
|
|
|
.PP
|
1995-08-17 15:44:51 +04:00
|
|
|
The fields displayed on the output side are:
|
1997-03-12 23:17:18 +03:00
|
|
|
.TP
|
|
|
|
.B COMPRESSED BYTE
|
1995-08-17 15:44:51 +04:00
|
|
|
The number of bytes of compressed packets transmitted.
|
1997-03-12 23:17:18 +03:00
|
|
|
.TP
|
|
|
|
.B COMPRESSED PACK
|
1995-08-17 15:44:51 +04:00
|
|
|
The number of compressed packets transmitted.
|
1997-03-12 23:17:18 +03:00
|
|
|
.TP
|
|
|
|
.B INCOMPRESSIBLE BYTE
|
1995-08-17 15:44:51 +04:00
|
|
|
The number of bytes of incompressible packets transmitted (that is,
|
|
|
|
those which were transmitted in uncompressed form).
|
1997-03-12 23:17:18 +03:00
|
|
|
.TP
|
|
|
|
.B INCOMPRESSIBLE PACK
|
1995-08-17 15:44:51 +04:00
|
|
|
The number of incompressible packets transmitted.
|
1997-03-12 23:17:18 +03:00
|
|
|
.TP
|
|
|
|
.B COMP RATIO
|
1996-03-15 05:47:18 +03:00
|
|
|
The recent compression ratio for outgoing packets.
|
1997-03-12 23:17:18 +03:00
|
|
|
.SH SEE ALSO
|
|
|
|
pppd(8)
|