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