Skip to main content

Command for Network Monitoring

The topic describes the netstat command that is used to monitor network status.

Command output example:

# netstat -i
Kernel Interface table
Iface MTU RX-OK RX-ERR RX-DRP RX-OVR TX-OK TX-ERR TX-DRP TX-OVR Flg
docker0 1500 70712 0 0 0 131086 0 0 0 BMRU
eno1 1500 124457829 0 101794 0 57907365 0 0 0 BMRU
eno2 1500 0 0 0 0 0 0 0 0 BMU
eno3 1500 0 0 0 0 0 0 0 0 BMU
eno4 1500 0 0 0 0 0 0 0 0 BMU
enp130s0 1500 0 0 0 0 0 0 0 0 BMU
lo 65536 1123 0 0 0 1123 0 0 0 LRU
vethed74 1500 269 0 0 0 407 0 0 0 BMRU

Parameter description:

ParameterDescription
IfaceThe name of the network adapter.
MTUThe maximum transmission unit. Default value: 1500.
OKThe number of error-free packets.
ERRThe number of damaged packets.
DRPThe number of dropped packets.
OVRThe number of packets that exceeds the threshold.
FlgThe flag set for the interface. The value can be:
- B: A broadcast address is configured.
- L: The interface is a loopback device.
- M: All packets are received.
- R: The interface is running.
- U: The interface is active.
info

RX indicates received. TX indicates sent.