Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ atmstat(1M) — SunATM 2.0

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

ifconfig(1M)

netstat(1M)

sa(7)

atmstat(1M)

NAME

atmstat − display ATM network interface information

SYNOPSIS

/opt/SUNWatm/bin/atmstat interface [ interval ]

/opt/SUNWatm/bin/atmstat interface -d [ interval ]

/opt/SUNWatm/bin/atmstat interface -r [ interval ]

/opt/SUNWatm/bin/atmstat interface -t [ interval ]

AVAILABILITY

SUNWatmu

DESCRIPTION

atmstat displays statistics for an ATM interface. If only the interface is provided, as shown in the first form of the command, a one-line summary for each VC on the ATM interface is displayed.  Information is given regarding the mode which is being used on each VC, the bandwidth group to which each VC is assigned, and the number of incoming and outgoing packets for each VC. The interface parameter should be a string of the form saN, where N is the unit number. 

Different output information is provided if one of the flags in the second, third, or fourth forms is used. These optional flags can be used to display debugging information, physical layer register values, or bandwidth group information. 

OPTIONS

-d Display debugging information. The output consists of error and activity counters from the hardware device. 

-r Display register values from the SUNI asic, which is responsible for assembling ATM cells into SONET frames for transmission over the physical medium. 

-t Display the bandwidth group table for the interface. The bandwidth group table controls the multiplexing of packets from multiple VCs into the transmit path. 

interval Display updated information every interval seconds. The display will continue until interrupted by the user. 

EXAMPLES

The following command displays a summary of VC information for sa0 every 5 seconds.  Initially, there are two active VCs, the Q.2931 signalling VC 5 and the ILMI address registration VC 16; during the display, a third VC is set up for IP traffic. 

muskogee# atmstat sa0 5  sa0  VC  sap  aal  bufsize  ipkts  opkts  encap  BWG  BW(Mb/s) --------------------------------------------------------------
      5    0    5     9216    492   1233      0    2      1
     16    0    5     9216      2      3      0    2      1

sa0  VC  sap  aal  bufsize  ipkts  opkts  encap  BWG  BW(Mb/s) --------------------------------------------------------------
      5    0    5     9216    502   1243      0    2      1
     16    0    5     9216      2      3      0    2      1

sa0  VC  sap  aal  bufsize  ipkts  opkts  encap  BWG  BW(Mb/s) --------------------------------------------------------------
      5    0    5     9216    514   1254      0    2      1
     16    0    5     9216      2      3      0    2      1
     32    0    5     9216      1      1      1    1     99 ^C                                                       muskogee#

The fields of atmstat’s display are:

VC The Virtual Circuit to which this line of statistics applies.  The VC is displayed as a decimal number. 

sap The service access point, if any, associated with this VC.  The value displayed is a hexadecimal number. 

aal The ATM Adaptation Layer used on this VC. 

bufsize The buffer size, in bytes, being used. 

ipkts The number of incoming packets received on this VC since the last system boot. 

opkts The number of outgoing packets sent since the last system boot. 

encap The type of encapsulation being used:

0 NULL encapsulation

1 LLC encapsulation

2 NLPID encapsulation

BWG Bandwidth group with which this VC is associated. 

BW(Mb/s)
The total bandwidth (in Mbits per second) which is allocated for the BWG associated with this VC.

The following command displays error and activity counters for the port sa0: muskogee# atmstat sa0 -d


intrs              276100     inits                   1
ipackets           535121     opackets           249995
ierrors                 0     oerrors                 0
rx resets               0     tx resets               0
rx miss cells           0     tx miss cells           0
out of rbufs            0     out of tbufs            0
small buf cnt         128     big buf cnt            64
canput fails            0     flow ctls               0
copy receives      535121     cross pages             0
allocb fails            0     too many bytes          0
rx overflows            0     out of txds             0
bad crcs                0     no receivers            0
buf drops               0     hcs errs                0
err encaps              0     fifo depth            407
sbus err acks           0

SEE ALSO

ifconfig(1M), netstat(1M), sa(7)

SunOS 2.0  —  Last change: 7 Dec 1994

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