Shows token-ring device driver and device statistics.
tokstat [ -d -r -t ] Device_Name
The tokstat command displays the statistics gathered by the specified Token-Ring device driver. The user can optionally specify that the device-specific statistics be displayed in addition to the device driver statistics. If no flags are specified, only the device driver statistics are displayed.
This command is also invoked when the netstat command is run with the -v flag. The netstat command does not issue any tokstat command flags.
If an invalid Device_Name is specified, the tokstat command produces an error message stating that it could not connect to the device.
Device_Name | The name of the Token-Ring device, for example, tok0. |
Note: Some adapters may not support a specific statistic. The value of non-supported statistic fields is always 0.
The statistic fields displayed in the output of the toktstat command and their descriptions are:
This part of the display may be different for each type of adapter. It may contain adapter-specific information and some extended statistics that were not included in the generic statistics. Some adapters may not have any device-specific statistics. Some fields that may be listed in this section are:
tokstat tok0
This produces the following output:
TOKEN-RING STATISTICS (tok0) : Device Type: Token-Ring High-Performance Adapter (8fc8) Hardware Address: 10:00:5a:4f:26:c1 Elapsed Time: 0 days 0 hours 8 minutes 33 seconds Transmit Statistics: Receive Statistics: -------------------- ------------------- Packets: 191 Packets: 8342 Bytes: 17081 Bytes: 763227 Interrupts: 156 Interrupts: 8159 Transmit Errors: 0 Receive Errors: 0 Packets Dropped: 0 Packets Dropped: 0 Max Packets on S/W Transmit Queue: 17 Bad Packets: 0 S/W Transmit Queue Overflow: 0 Current S/W+H/W Transmit Queue Length: 0
Broadcast Packets: 1 Broadcast Packets: 8023 Multicast Packets: 0 Multicast Packets: 0 Timeout Errors: 0 Receive Congestion Errors: 0 Current SW Transmit Queue Length: 0 Current HW Transmit Queue Length: 0
General Statistics: ------------------- No mbuf Errors: 0 Lobe Wire Faults: 0 Abort Errors: 0 AC Errors: 0 Burst Errors: 0 Frame Copy Errors: 0 Frequency Errors: 0 Hard Errors: 0 Internal Errors: 0 Line Errors: 0 Lost Frame Errors: 0 Only Station: 0 Token Errors: 0 Remove Received: 0 Ring Recovered: 0 Signal Loss Errors: 0 Soft Errors: 0 Transmit Beacon Errors: 0 Driver Flags: Up Broadcast Running AlternateAddress ReceiveFunctionalAddr
tokstat -d tok0
This produces the following output:
TOKEN-RING STATISTICS (tok0) : Device Type: Token-Ring High-Performance Adapter (8fc8) Hardware Address: 10:00:5a:4f:26:c1 Elapsed Time: 0 days 2 hours 48 minutes 38 seconds
Transmit Statistics: Receive Statistics: -------------------- ------------------- Packets: 389 Packets: 153216 Bytes: 42270 Bytes: 14583150 Interrupts: 354 Interrupts: 151025 Transmit Errors: 0 Receive Errors: 0 Packets Dropped: 0 Packets Dropped: 0 Max Packets on S/W Transmit Queue:17 Bad Packets: 0 S/W Transmit Queue Overflow: 0 Current S/W+H/W Transmit Queue Length: 0
Broadcast Packets: 1 Broadcast Packets: 152642 Multicast Packets: 0 Multicast Packets: 0 Timeout Errors: 0 Receive Congestion Errors: 0 Current SW Transmit Queue Length: 0 Current HW Transmit Queue Length: 0
General Statistics: ------------------- No mbuf Errors: 0 Lobe Wire Faults: 0 Abort Errors: 0 AC Errors: 0 Burst Errors: 0 Frame Copy Errors: 0 Frequency Errors: 0 Hard Errors: 0 Internal Errors: 0 Line Errors: 0 Lost Frame Errors: 0 Only Station: 0 Token Errors: 0 Remove Received: 0 Ring Recovered: 0 Signal Loss Errors: 0 Soft Errors: 0 Transmit Beacon Errors: 0 Driver Flags: Up Broadcast Running AlternateAddress ReceiveFunctionalAddr
Token-Ring High-Performance Adapter (8fc8) Specific Statistics: -------------------------------------------------------------- DMA Bus Errors: 0 DMA Parity Errors: 0 ARI/FCI Errors: 0
The atmstat command, entstat command, fddistat command, netstat command.