atmstat Command

Purpose

Shows Asynchronous Transfer Mode adapters statistics.

Syntax

atmstat [ -d -r ] Device_Name

Description

The atmstat command displays Asynchronous Transfer Mode (ATM) adapter statistics. The user can optionally specify that the device-specific statistics be displayed in addition to the device generic statistics. If no flags are specified, only the device generic statistics are displayed. For information on statistic from the atmstat command, see ATM adapter statistics in the AIX® Version 7.1 Networks and communication management.

If an invalid Device_Name is specified, the atmstat command produces an error message stating that it could not connect to the device.

Flags

Item Description
-d Displays detailed statistics.
-r Resets all the statistics back to their initial values. This flag can only be issued by privileged users.

Parameters

Item Description
Device_Name The name of the ATM device, for example, atm0.

Examples

To display the adapter generic statistics for atm0, enter:

atmstat atm0
This produces the following output on a Micro Channel machine in AIX 5.1 and earlier:
ATM STATISTICS (atm0) :
Device Type: Turboways 155 MCA ATM Adapter
Hardware Address: 08:00:5a:99:88:d5
Elapsed Time: 2 days 23 hours 38 minutes 18 seconds

Transmit Statistics:                          Receive Statistics:
--------------------                          -------------------
Packets: 50573                                Packets: 0
Bytes: 2225182                                Bytes: 0
Interrupts: 0                                 Interrupts: 12904
Transmit Errors: 0                            Receive Errors: 0
Packets Dropped: 0                            Packets Dropped: 0
                                              Bad Packets: 0
Max Packets on S/W Transmit Queue: 0         
S/W Transmit Queue Overflow: 0
Current S/W+H/W Transmit Queue Length: 0

Cells Transmitted: 50573                      Cells Received: 0
Out of Xmit Buffers: 0                        Out of Rcv Buffers: 0
Current HW Transmit Queue Length: 0           CRC Errors: 0
Current SW Transmit Queue Length: 0           Packets Too Long: 0
                                              Incomplete Packets: 0
                                                Cells Dropped: 0

General Statistics:
-------------------
No mbuf Errors: 0
Adapter Loss of Signals: 0
Adapter Reset Count: 0
Driver Flags: Up Running Simplex 
	64BitSupport 
Virtual Connections in use: 2
Max Virtual Connections in use: 2
Virtual Connections Overflow: 0
SVC UNI Version: auto_detect

Turboways ATM Adapter Specific Statistics:
---------------------------------------------------
Packets Dropped - No small DMA buffer: 0
Packets Dropped - No medium DMA buffer: 0
Packets Dropped - No large DMA buffer: 0
Receive Aborted - No Adapter Receive Buffer: 0
Transmit Attempted - No small DMA buffer: 0
Transmit Attempted - No medium DMA buffer: 0
Transmit Attempted - No large DMA buffer: 0
Transmit Attempted - No MTB DMA buffer: 0
Transmit Attempted - No Adapter Transmit Buffer: 0
Max Hardware transmit queue length: 12
Small Mbuf in Use: 0
Medium Mbuf in Use: 0
Large Mbuf in Use: 64
Huge Mbuf in Use: 0
MTB Mbuf in Use: 0
Max Small Mbuf in Use: 0
Max Medium Mbuf in Use: 0
Max Large Mbuf in Use: 64
Max Huge Mbuf in Use: 0
MTB Mbuf in Use: 0
Small Mbuf overflow: 0
Medium Mbuf overflow: 0
Large Mbuf overflow: 0
Huge Mbuf overflow: 0
MTB Mbuf overflow: 0

This produces the following output on a PCI machine:

 
--------------------                          -------------------
Packets: 299                                  Packets: 294
Bytes: 9727                                   Bytes: 10123
Interrupts: 0                                 Interrupts: 297
Transmit Errors: 0                            Receive Errors: 0
Packets Dropped: 0                            Packets Dropped: 0
                                              Bad Packets: 0
Max Packets on S/W Transmit Queue: 0
S/W Transmit Queue Overflow: 0
Current S/W+H/W Transmit Queue Length: 2

Cells Transmitted: 450                        Cells Received: 457
Out of Xmit Buffers: 0                        Out of Rcv Buffers: 0
Current HW Transmit Queue Length: 2           CRC Errors: 0
Current SW Transmit Queue Length: 0           Packets Too Long: 0
                                              Incomplete Packets: 0
                                                Cells Dropped: 5

General Statistics:
-------------------
No mbuf Errors: 0
Adapter Loss of Signals: 0
Adapter Reset Count: 0
Driver Flags: Up Running Simplex
        64BitSupport
Virtual Connections in use: 4
Max Virtual Connections in use: 5
Virtual Connections Overflow: 0
SVC UNI Version: uni3.1

IBM PCI 155 Mbps ATM Adapter Specific Statistics:
---------------------------------------------------
Total 4K byte Receive Buffers: 96   Using: 64