1 .\" Copyright (c) 1996 Greg Ungerer (gerg@stallion.oz.au).
2 .\" All rights reserved.
4 .\" Redistribution and use in source and binary forms, with or without
5 .\" modification, are permitted provided that the following conditions
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.
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
36 .Nd "Stallion Technologies multiport serial statistics display"
40 .Op Fl c Ar control-device
41 .Op Fl b Ar board-number
42 .Op Fl p Ar port-number
43 .Op Fl d Ar port-device
46 is used to display statistical information about the ports on Stallion
47 Technologies multiport serial boards.
50 normally runs as a full screen menu driven application.
51 A help line is displayed at the bottom of each screen with the valid
52 input keys for this screen.
54 Generally the digit keys ('0' through '9') specify the number of the
55 device to display statistics for.
56 Where digits alone are not enough to access all possible devices
57 (for example on 16 port panels) then the first letters of the alphabet
58 are used to access the remaining devices.
59 The letters 'a' through 'f' are used to access devices 10 through 15.
61 The 'q' key is always used to move back to the previous level screen.
62 The escape key can also be used to move back to the previous screen.
64 The first screen is a display of all ports on panel 0 of board 0.
65 Values displayed on this screen are a summary of the information for
66 each port. The statistics displayed are: driver and TTY state flags,
67 termios flags (cflags, iflags, oflags, lflags), RS-232 signal values
68 (as per TIOCM signal defines), total transmit and receive character
71 From this screen you can look at summary information
72 about each panel and board installed in the system.
73 Each board is accessed by the digit keys ('0' through '7'),
74 while panels of each board can be cycled through using the 'n' key.
76 The per port screen displays some detailed information about a
78 This is accessed from the board screen using the 'p' key.
79 The first port displayed will be port 0.
80 To display other ports use the digit and alphabetic keys
81 ('0' through '9' and 'a' through 'f').
82 This screen displays: driver and TTY state flags, hardware ID,
83 termios flags (cflags, iflags, oflags, lflags),
84 total transmitted and received character counts,
85 current transmit and receive characters buffered,
86 receiver error counts (overruns, parity, framing, lost),
87 software flow control characters transmitted and received,
88 hardware flow control actions taken,
89 count of transmitted and received breaks,
90 modem signal transitions and
91 current RS-232 signal states.
94 .Bl -tag -width indent
96 Output usage information.
98 Output version information.
100 Output only the board type information.
101 This output is useful for scripts or other programs that need to know
102 a little bit about the board (for example an automated download script).
104 will not enter full screen interactive mode.
105 .It Fl c Ar control-device
106 Specify the board control device through which to gather port statistics.
108 .Pa /dev/staliomem0 .
109 .It Fl b Ar board-number
110 Specify the board number to display first.
111 The default is to display board 0.
112 .It Fl p Ar port-number
113 Specify the port number to display first.
115 will go straight into the port display screen (bypassing board display)
116 when this option is used.
117 .It Fl d Ar port-device
118 Specify the port special device file (the
122 The board screen is bypassed and the port statistics screen is shown
123 immediately on start up.
126 .Bl -tag -width /dev/staliomem0
127 .It Pa /dev/staliomem0
128 driver control device used for statistics collection
134 This program was originally developed by
135 .An Greg Ungerer Aq gerg@stallion.com .