xref: /dragonfly/usr.sbin/slstat/slstat.8 (revision d9d67b59)
1.\" Copyright (c) 1986 The Regents of the University of California.
2.\" All rights reserved.
3.\"
4.\" Redistribution and use in source and binary forms, with or without
5.\" modification, are permitted provided that the following conditions
6.\" are met:
7.\" 1. Redistributions of source code must retain the above copyright
8.\"    notice, this list of conditions and the following disclaimer.
9.\" 2. Redistributions in binary form must reproduce the above copyright
10.\"    notice, this list of conditions and the following disclaimer in the
11.\"    documentation and/or other materials provided with the distribution.
12.\" 3. Neither the name of the University nor the names of its contributors
13.\"    may be used to endorse or promote products derived from this software
14.\"    without specific prior written permission.
15.\"
16.\" THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
17.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
18.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
19.\" ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
20.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
21.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
22.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
23.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
24.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
25.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
26.\" SUCH DAMAGE.
27.\"
28.\"	From: @(#)slstat.8	6.8 (Berkeley) 6/20/91
29.\" $FreeBSD: src/usr.sbin/slstat/slstat.8,v 1.14.2.2 2001/08/16 15:56:33 ru Exp $
30.\"
31.Dd October 17, 2017
32.Dt SLSTAT 8
33.Os
34.Sh NAME
35.Nm slstat
36.Nd report serial line IP statistics
37.Sh SYNOPSIS
38.Nm
39.Op Fl i Ar interval
40.Op Fl vr
41.Op Ar unit
42.Sh DESCRIPTION
43The
44.Nm
45utility
46reports certain kernel statistics kept about serial line internet
47protocol traffic.
48.Pp
49The options are as follows:
50.Bl -tag -width indent
51.It Fl i
52Repeat the display indefinitely every
53.Ar interval
54seconds.
55If no
56.Ar interval
57is specified, the default is 5 seconds.
58.It Fl v
59Verbose display of extra fields of information.
60.It Fl r
61Display all values in rate per second rather than amount per interval.
62.It Ar unit
63Is number specifying the
64.Tn SLIP
65interface, or a
66.Tn SLIP
67interface name.
68The default unit is
69.Sy 0
70for interface
71.Sy sl0 .
72.El
73.Pp
74By default,
75.Nm
76displays the following information:
77.Bl -tag -width indent
78.It in
79bytes received
80.It out
81bytes sent
82.It pack
83packets received or sent
84.It comp
85compressed packets received or sent
86.It uncomp
87uncompressed packets received or sent
88.It unknwn
89inbound packets of unknown type
90.It toss
91inbound packets tossed because of error
92.It other
93all other inbound or outbound ip packets
94.It err
95input or output errors
96.It search
97searches for connection state
98.It miss
99times we could not find a connection state
100.It coll
101collisions with end of clists.
102If you get many collisions (more than one or two
103a day) you probably do not have enough clists
104and you should increase
105.Dv nclist
106in param.c.
107.El
108.Sh EXAMPLES
109The command:
110.Dl slstat -i 5
111will print what the system is doing every five
112seconds.
113.Sh SEE ALSO
114.Xr fstat 1 ,
115.Xr netstat 1 ,
116.Xr nfsstat 1 ,
117.Xr ps 1 ,
118.Xr systat 1 ,
119.Xr iostat 8 ,
120.Xr pstat 8
121.Pp
122The sections starting with ``Interpreting system activity'' in
123.%T "Installing and Operating 4.3BSD" .
124