using sar to check Network stats / Packets

Monitoring network interface statistics

command: sar -n DEV

The report contains the following

  1. IFACE: Name of the network interface for which statistics are reported.
  2. rxpck/s: packet receiving rate (unit: packets/second)
  3. txpck/s: packet transmitting rate (unit: packets/second)
  4. rxkB/s: data receiving rate (unit: Kbytes/second)
  5. txkB/s: data transmitting rate (unit: Kbytes/second)
  6. rxcmp/s: compressed packets receiving rate (unit: Kbytes/second)
  7. txcmp/s: compressed packets transmitting rate (unit: Kbytes/second)
  8. rxmcst/s: multicast packets receiving rate (unit: Kbytes/second)

 

Monitoring network interface errors

command: sar -n EDEV

  1. IFACE : Name of the network interface for which statistics are reported.
  2. rxerr/s: Total number of bad packets received per second.
  3. txerr/s: Total number of errors that happened per second while transmitting packets.
  4. coll/s: Number of collisions that happened per second while transmitting packets.
  5. rxdrop/s: Number of received packets dropped per second because of a lack of space in linux buffers.
  6. txdrop/s: Number of transmitted packets dropped per second because of a lack of space in linux buffers.
  7. txcarr/s: Number of carrier-errors that happened per second while transmitting packets.
  8. rxfram/s: Number of frame alignment errors that happened per second on received packets.
  9. rxfifo/s: Number of FIFO overrun errors that happened per second on received packets.
  10. txfifo/s: Number of FIFO overrun errors that happened per second on transmitted packets.

Leave a Reply

Your email address will not be published.

SEARCH

Categories

Get Free Shipping on Everything All Season Long
Best Buy Co, Inc.
Best Buy Co, Inc.