Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ atstat(1) — IRIX 6.5.3f

Media Vault

Software Library

Restoration Projects

Artifacts Sought



     ATSTAT(1)       K-Talk by Xinet (29 Jul 1996 8.2)       ATSTAT(1)



     NAME
          atstat - dump the AppleTalk tables and statistics

     SYNOPSIS
          atstat [ -x ] [ -m [ interval ] ] [unix]

     DESCRIPTION
          The atstat command prints out tables and statistics that it
          reads from the AppleTalk kernel implementation.   When
          invoked, it will print a list of tables and let you select
          one at a time for viewing.   If invoked with the -m flag, it
          will use curses to provide an interactive screen display
          that is updated every interval seconds.   Some of the
          displays may require a large window or they will not fit.
          The -x flag will cause all numbers to be printed in
          hexadecimal.

          There are options for viewing the AARP, DDP, and RTMP
          statistics.   These statistics are relatively self-
          explanatory, and will very from implementation to
          implementation.  They can all be reset to zero by using the
          "Clear statistics" option.

          The AppleTalk Address Resolution Protocol (AARP) table
          contains the Net, Node, and EtherNet address of all nodes
          currently directly addressable.  There will be a dummy entry
          for each defended loopback node, specifying lo0 as the
          interface.  Only entries with the flag COM set are complete.
          The timer field specifies the number of 50-second intervals
          which have elapsed since the entry was utilized.  Unused
          entries are timed-out and flushed to keep the AARP table
          from filling up.

          The RTMP table contains an entry for each net that is
          reachable from the machine. The router field contains the
          net and node numbers of the router which advertises the
          shortest distance to the net, and the dist field lists the
          number of hops to that net.  The Ethernet address is the
          address of that router, and the interface is the host
          interface which can communicate with that router.

          The ATCB table is a list of the active AppleTalk Control
          Blocks.  There is an entry for each AppleTalk socket open on
          the host.  The address is the socket address on the local
          host. If the local net and node number are both zero, this
          socket will accept packets addressed to its socket from any
          network attached to this host.  These sockets are used by
          the various daemons to maximize performance.   The type
          field is one of the known AppleTalk protocol types.    The
          AARP and RTMP fields indicate whether this socket has cached
          AARP or RTMP entrys for the node it is communicating with.




     Page 1                                          (printed 3/13/98)





     ATSTAT(1)       K-Talk by Xinet (29 Jul 1996 8.2)       ATSTAT(1)



     SEE ALSO
          A more complete description of the various tables is
          included in the K-Talk Administrator's Guide.

     DIAGNOSTICS
          atstat: atopensock: error     Typically this means that the
                                        AppleTalk kernel (or module)
                                        is not running.

          atstat: SIOGETLOCS failed: error
                                        Indicates a system resource
                                        problem or mismatched versions
                                        of atstat and AppleTalk
                                        kernel.

          atstat: could not open /dev/kmem
                                        This means that the user
                                        executing atstat did not have
                                        sufficient permissions to read
                                        /dev/kmem.  atstat can be made
                                        setgid kmem so all users can
                                        run it.

































     Page 2                                          (printed 3/13/98)



Typewritten Software • bear@typewritten.org • Edmonds, WA 98026