freebsd-dev/usr.sbin/pppstats/pppstats.8
1994-12-12 00:36:41 +00:00

132 lines
3.6 KiB
Groff

.\" Modified from slstat.8 by Lars Fredriksen
.\"
.\" Copyright (c) 1986 The Regents of the University of California.
.\" All rights reserved.
.\"
.\" Redistribution and use in source and binary forms, with or without
.\" modification, are permitted provided that the following conditions
.\" are met:
.\" 1. Redistributions of source code must retain the above copyright
.\" notice, this list of conditions and the following disclaimer.
.\" 2. Redistributions in binary form must reproduce the above copyright
.\" notice, this list of conditions and the following disclaimer in the
.\" documentation and/or other materials provided with the distribution.
.\" 3. All advertising materials mentioning features or use of this software
.\" must display the following acknowledgement:
.\" This product includes software developed by the University of
.\" California, Berkeley and its contributors.
.\" 4. Neither the name of the University nor the names of its contributors
.\" may be used to endorse or promote products derived from this software
.\" without specific prior written permission.
.\"
.\" THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
.\" ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
.\" @(#)pppstats.8 6.8 (Berkeley) 6/20/91
.\"
.TH PPPSTATS 8 "November 09, 1994"
.UC 4
.SH NAME
pppstats \- report Point to Point Protocol statistics
.SH SYNOPSIS
.nf
.ft B
pppstats [ \-i interval ] [ \-v ] [ unit ] [ system ] [ core ]
.ft R
.fi
.SH DESCRIPTION
.I Pppstats
reports certain kernel statistics kept about Point to Point
Protocol traffic.
.PP
The options are as follows:
.TP
\-i
Repeat the display indefinitely every
.I interval
seconds.
If no
.I interval
is specified, the default is 5 seconds.
.TP
\-v
Verbose display of extra fields of information.
.TP
unit
is a single digit specifying the slip interface. The default unit is
.I 0
for interface
.I ppp0.
.TP
system
Extract the name list from the specified system instead of the default, /kernel.
.TP
core
Extract values associated with the name list from the specified
core instead of the default, /dev/kmem.
.PP
By default,
.I pppstats
displays the following information:
.PP
.TP
in
bytes received
.TP
out
bytes sent
.TP
pack
packets received or sent
.TP
comp
compressed packets received or sent
.TP
uncomp
uncompressed packets received or sent
.TP
err
input or output errors
.PP
With the \-v option, the following information is also displayed:
.TP
toss
inbound packets tossed because of error
.TP
search
searches for connection state
.TP
miss
times we could not find a connectoin state
.SH EXAMPLES
The command ``pppstats -i 5'' will print what the system is doing every five
seconds.
.SH FILES
.ta \w'/dev/kmem 'u
/kernel default kernel namelist
.br
/dev/kmem default memory file
.SH SEE ALSO
.IR fstat (1),
.IR netstat (1),
.IR nfsstat (1),
.IR ps (1),
.IR systat (1),
.IR iostat (8),
.IR pstat (8)
.IR slstat (8)
.sp
The sections starting with ``Interpreting system activity'' in
.IR "Installing and Operating 4.3BSD" .
.SH BUGS