Network Operations and Control Wiki
Advertisement

Background: Know: Recognize: IP, ICMP, TCP

Anticipates: MIBs


Up
Previous

Next

Down


Netstat shows statistics from MIBs[]

For IP protocols, the statistics, those netstat-s displays, are about packets:Netstat (network statistics) is a command-line tool that displays network connections (both incoming and outgoing), routing tables, and a number of network interface statistics. There are different types of options to netstat which netstat-s is one of them. The netstat -s command displays statistics for some protocols such as TCP, IP and ICMP.

  • Total number of packets received
  • Number of packets with invalid header
  • Number of incoming packets delivered/ discarded
  • Number of outgoing packets drooped
  • Number of packets dropped because of missing route
  • Number of fragments dropped after time out
  • Number of reassemblies required and how many of them failed or reassembled well
  • Number of fragments received well/ created

In terms of TCP, netstat-s can provide some statistics mostly about connections:

  • Number of active/ passive connections openings
  • Number of failed connection attempts
  • Number of connections established
  • Number of segments received/ sent out

For ICPM protocol, it displays statistics about ICMP input histogram messages:

And for ICMP output histogram, it shows:

  • Destination unreachable
  • Number of echo replies

You can see some examples of netstat outputs below:


Reference

Optimizing nfs performance ,"tuning and troubleshooting nfs on hp-ux systems". Dave Olker

Advertisement