Network:getStatistics
Method
Purpose
This method (on AIX) returns network performance information in a manner similar to using the netstat
command. This method returns statistics only for the following device types
• | Ethernet (IEEE 802.3) |
• | Ethernet (Standard, Version2). |
Type
Synchronous, IMPACT_INFO.
Arguments
Name |
Type |
Description |
Interface Name |
String |
Name of the network interface |
Returns
Name |
Type |
Description |
Interface Name |
String |
Name of the network interface. Table is indexed on Interface Name. |
Input Bytes |
Long |
The number of octets of data received through the interface |
Input Packets |
Integer |
Packets received on the interface, lifetime total |
Input Packet Errors |
Integer |
Packet errors received on the interface, lifetime total |
Output Bytes |
Long |
The number of octets of data sent through this interface |
Output Packets |
Integer |
Packets sent on the interface, lifetime total |
Output Packet Errors |
Integer |
Packet errors sent on the interface, lifetime total |
Network Collisions |
Integer |
Collisions, lifetime total |
Framing Errors |
Integer |
Framing errors, lifetime total |
No Carrier Errors |
Integer |
No carrier errors, lifetime total |
% Network Collisions |
Double |
Rate (percentage) of collisions against total number of output packets, lifetime total |