]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - usr.sbin/stallion/stlstats/stlstats.8
This commit was generated by cvs2svn to compensate for changes in r56639,
[FreeBSD/FreeBSD.git] / usr.sbin / stallion / stlstats / stlstats.8
1 .\" Copyright (c) 1996 Greg Ungerer (gerg@stallion.oz.au).
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 Greg Ungerer.
15 .\" 4. Neither the name of the author nor the names of any co-contributors
16 .\"    may be used to endorse or promote products derived from this software
17 .\"    without specific prior written permission.
18 .\"
19 .\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
20 .\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
21 .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
22 .\" ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
23 .\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
24 .\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
25 .\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
26 .\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
27 .\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
28 .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
29 .\" SUCH DAMAGE.
30 .\"
31 .\" $FreeBSD$
32 .\"
33 .Dd December 2, 1996
34 .Os FreeBSD
35 .Dt STLSTATS 8 i386
36 .Sh NAME
37 .Nm stlstats
38 .Nd "Stallion Technologies multiport serial statistics display"
39 .Sh SYNOPSIS
40 .Nm stlstats
41 .Op Fl hVi
42 .Op Fl c Ar control-device
43 .Op Fl b Ar board-number
44 .Op Fl p Ar port-number
45 .Op Fl d Ar port-device
46 .Sh DESCRIPTION
47 .Nm Stlstats
48 is used to display statistical information about the ports on Stallion
49 Technologies multiport serial boards.
50 .Pp
51 .Nm Stlstats
52 normally runs as a full screen menu driven application.
53 A help line is displayed at the bottom of each screen with the valid
54 input keys for this screen.
55 .Pp
56 Generally the digit keys ('0' through '9') specify the number of the
57 device to display statistics for.
58 Where digits alone are not enough to access all possible devices
59 (for example on 16 port panels) then the first letters of the alphabet
60 are used to access the remaining devices.
61 The letters 'a' through 'f' are used to access devices 10 through 15.
62 .Pp
63 The 'q' key is always used to move back to the previous level screen.
64 The escape key can also be used to move back to the previous screen.
65 .Pp
66 The first screen is a display of all ports on panel 0 of board 0.
67 Values displayed on this screen are a summary of the information for
68 each port.  The statistics displayed are: driver and TTY state flags,
69 termios flags (cflags, iflags, oflags, lflags), RS-232 signal values
70 (as per TIOCM signal defines), total transmit and receive character
71 counts.
72 .Pp
73 From this screen you can look at summary information
74 about each panel and board installed in the system.
75 Each board is accessed by the digit keys ('0' through '7'),
76 while panels of each board can be cycled through using the 'n' key.
77 .Pp
78 The per port screen displays some detailed information about a
79 particular port.
80 This is accessed from the board screen using the 'p' key.
81 The first port displayed will be port 0.
82 To display other ports use the digit and alphabetic keys
83 ('0' through '9' and 'a' through 'f').
84 This screen displays: driver and TTY state flags, hardware ID,
85 termios flags (cflags, iflags, oflags, lflags),
86 total transmitted and received character counts,
87 current transmit and receive characters buffered,
88 receiver error counts (overruns, parity, framing, lost),
89 software flow control characters transmitted and received,
90 hardware flow control actions taken,
91 count of transmitted and received breaks,
92 modem signal transitions and
93 current RS-232 signal states.
94 .Pp
95 The options are:
96 .Bl -tag -width indent
97 .It Fl h
98 Output usage information.
99 .It Fl V
100 Output version information.
101 .It Fl i
102 Output only the board type information.
103 This output is useful for scripts or other programs that need to know
104 a little bit about the board (for example an automated download script).
105 .Nm Stlstats
106 will not enter full screen interactive mode. 
107 .It Fl c Ar control-device
108 Specify the board control device through which to gather port statistics.
109 The default is
110 .Pa /dev/staliomem0 .
111 .It Fl b Ar board-number
112 Specify the board number to display first.
113 The default is to display board 0.
114 .It Fl p Ar port-number
115 Specify the port number to display first.
116 .Nm Stlstats
117 will go straight into the port display screen (bypassing board display)
118 when this option is used.
119 .It Fl d Ar port-device
120 Specify the port special device file (the
121 .Pa /dev/ttyXXX
122 file) to
123 display first.
124 The board screen is bypassed and the port statistics screen is shown
125 immediately on start up.
126 .El
127 .Sh FILES
128 .Bl -tag -width /dev/staliomem0
129 .It Pa /dev/staliomem0
130 driver control device used for statistics collection
131 .Sh SEE ALSO
132 .Xr stl 4 ,
133 .Xr stli 4 ,
134 .Xr stlload 8
135 .Sh HISTORY
136 This program was originally developed by
137 .An Greg Ungerer Aq gerg@stallion.com .