linux-network-interfaces
Retrieves network interface settings and statistics information.
Syntax
linux-network-interfaces
Description
This command collects network interface settings and statistics information based on the interface flags in files under /sys/class/net/
, each statistic value in files under the statistics directory, and the execution result of the ip address show
command.
After running the linux-network-interfaces command, the output fields are as follows:
Output Fields
Field | Type | Description |
---|---|---|
iface | String | Interface name |
status | String | Interface status |
mtu | Integer | Maximum transfer unit |
ip_addr | IPv4 address | IPv4 address |
netmask | IPv4 address | IPv4 netmask |
ip_addr6 | IPv6 address | IPv6 address |
prefix_len | Long | IPv6 prefix |
rx_pkts | Long | Number of packets received |
rx_bytes | Long | Received data in bytes |
rx_errors | Long | Number of packet received with errors, such as checksum mismatch |
rx_drops | Long | Number of packet received discarded for reasons such as destination mismatch |
rx_overruns | Long | Number of packet received but discarded for reasons such as receive queue overrun |
tx_pkts | Long | Number of packets tranferred |
tx_bytes | Long | Transferred data in bytes |
tx_errors | Long | Number of packet not transmitted due to an error |
tx_drops | Long | Number of packet not transmitted for reasons such as destination mismatch |
tx_overruns | Long | Number of packet not transmitted for reasons such as transfer queue overrun |
tx_carrier | Long | Number of disconnections |
tx_collisions | Long | Packets with collision |