SMTSTAT(1)                                                          SMTSTAT(1)


NAME
     smtstat - show FDDI SMT status

SYNOPSIS
     /usr/etc/smtstat [ -nvCbi ] [ -I interface ] [ interval ]

DESCRIPTION
     The smtstat command displays the contents of various FDDI-related data
     structures and Station Management (SMT) values.

     When invoked without any options, smtstat shows the state of FDDI
     interfaces which have been set with smtconfig.  By default, the first
     interface turned on is shown.  See the comments in
     /etc/config/netif.options for details.

     The default display shows various MAC statistics such as packet, frame
     and token counts and rates and transmit and receive error counts.

     The options have the following meaning:

     -n   Show MAC addresses and SMT values as numbers.  In continuous mode
          (-C), certain SMT values are displayed symbolically, and MAC
          addresses are converted into names using the data bases /etc/ethers
          or the NIS ethers.byname map.  If a symbolic name for an address is
          unknown, or if the -n option is specified, the MAC address is
          printed numerically as 6 hexadecimal numbers separated by colons
          (for example, 8:0:69:1f:a:6d).  This can be toggled with the N mode
          command.

     -v   Display more information. With -v, additional kernel-level
          information is displayed.  With -vv, additional daemon-level
          information is displayed.

     -C   Continuously show FDDI activity of all configured interfaces.  To
          display properly, the window or screen should be at least 24 lines
          high by 80 columns wide.  The -v, -b, and -i options are ignored
          with this option.

          The default screen shows I/O and error counters. Once inside
          smtstat, certain keys change the program's behavior.  The keys and
          their effects are as follows:

          1    Display the MAC activity and error counters.

          2    Display Port status and error counters.

          3    Display ring management information.

          4    Display configuration information.


          5    Display neighbor information.

          6    Display other SMT information.

          d    Display incremental values of chosen information over given
               interval in second.  Default interval is 1 second.

          z    Display incremental values of chosen information since the time
               when ``z'' key was typed.

          r    Display current total values of chosen information.

          n    Toggle between numeric and symbolic display.

          + -  Next or previous interface.

          ^L   Redraw the screen.

          q    quit the program.

     -I interface
          Show information only about this interface (for example, ipg0); used
          with an interval as described below.  The interface display provides
          a table of cumulative statistics regarding packets transferred,
          errors, and status of each SMT state machine like Ring Management
          (RMT), Configuration Management (CFM), Connection Management (CMT),
          and Entity Coordination Management (ECM).  The network address and
          symbolic name of the interface are also displayed.

     -i   Show all FDDI interfaces, except in continuous mode (-C).

     -b   Show addresses in FDDI bit order instead of canonical bit order,
          except in continuous mode.

     interval
          With an interval specified, smtstat will fetch and display the
          information regarding FDDI states and counters on the configured
          FDDI interfaces every interval seconds.

FILES
     /etc/ethers    MAC address database

SEE ALSO
     smtinfo(1), smtd(1M), smtconfig(1M)

BUGS
     The counters and states displays may be slightly behind the actual
     values.


                                                                        Page 2