Monitoring network interface statistics
command: sar -n DEV
The report contains the following
- IFACE: Name of the network interface for which statistics are reported.
- rxpck/s: packet receiving rate (unit: packets/second)
- txpck/s: packet transmitting rate (unit: packets/second)
- rxkB/s: data receiving rate (unit: Kbytes/second)
- txkB/s: data transmitting rate (unit: Kbytes/second)
- rxcmp/s: compressed packets receiving rate (unit: Kbytes/second)
- txcmp/s: compressed packets transmitting rate (unit: Kbytes/second)
- rxmcst/s: multicast packets receiving rate (unit: Kbytes/second)
Monitoring network interface errors
command: sar -n EDEV
- IFACE : Name of the network interface for which statistics are reported.
- rxerr/s: Total number of bad packets received per second.
- txerr/s: Total number of errors that happened per second while transmitting packets.
- coll/s: Number of collisions that happened per second while transmitting packets.
- rxdrop/s: Number of received packets dropped per second because of a lack of space in linux buffers.
- txdrop/s: Number of transmitted packets dropped per second because of a lack of space in linux buffers.
- txcarr/s: Number of carrier-errors that happened per second while transmitting packets.
- rxfram/s: Number of frame alignment errors that happened per second on received packets.
- rxfifo/s: Number of FIFO overrun errors that happened per second on received packets.
- txfifo/s: Number of FIFO overrun errors that happened per second on transmitted packets.