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

FieldTypeDescription
ifaceStringInterface name
statusStringInterface status
mtuIntegerMaximum transfer unit
ip_addrIPv4 addressIPv4 address
netmaskIPv4 addressIPv4 netmask
ip_addr6IPv6 addressIPv6 address
prefix_lenLongIPv6 prefix
rx_pktsLongNumber of packets received
rx_bytesLongReceived data in bytes
rx_errorsLongNumber of packet received with errors, such as checksum mismatch
rx_dropsLongNumber of packet received discarded for reasons such as destination mismatch
rx_overrunsLongNumber of packet received but discarded for reasons such as receive queue overrun
tx_pktsLongNumber of packets tranferred
tx_bytesLongTransferred data in bytes
tx_errorsLongNumber of packet not transmitted due to an error
tx_dropsLongNumber of packet not transmitted for reasons such as destination mismatch
tx_overrunsLongNumber of packet not transmitted for reasons such as transfer queue overrun
tx_carrierLongNumber of disconnections
tx_collisionsLongPackets with collision