Database Reference
In-Depth Information
Interface layer statistics can be queried using -I flag in netstat (Solaris). In the following output, the first five
columns show the frame level statistics for the eth3 interface. The next five columns show cumulative statistics for
all interfaces in the node. Approximately 13,000 packets were received by the eth3 interface, and 13,000 packets were
sent through the eth3 interface.
$ netstat -i -I eth3 1 5 |more
input eth3 output input (Total) output
packets errs packets errs colls packets errs packets errs colls
2560871245 0 4173133682 0 0 20203010488 0 20470057929 0 0
13299 0 13146 0 0 79376 0 96396 0 0
11547 0 12497 0 0 72490 0 90787 0 0
12416 0 13570 0 0 73921 0 92297 0 0
12011 0 12154 0 0 71470 0 85764 0 0
Netstat: Linux
The output of netstat utility in Linux is different from that on Solaris. Also, netstat command options are slightly
different from the Solaris platform.
The following output shows that about ~19,000 UDP datagrams were received and ~20,000 UDP datagrams were
sent. Command requests a 1-second sample.
$ netstat -s 1
...
Udp:
19835 packets received
8 packets to unknown port received.
0 packet receive errors
20885 packets sent
...
Similarly, IP layer output shows details about processing in the IP layer. For example, output shows that 4068
reassembly occurred with no failures.
Ip:
ipOutDiscards = 0 ipOutNoRoutes = 0
ipReasmTimeout = 0 ipReasmReqds = 4068
ipReasmOKs = 4068 ipReasmFails = 0
Interface-level statistics can be retrieved using -i flag. As you can see, interfaces work fine with no Errors or Drops
in the interfaces.
$ netstat -i 1|more
Kernel Interface table
Iface MTU Met RX-OK RX-ERR RX-DRP RX-OVR TX-OK TX-ERR TX-DRP TX-OVR Flg
eth0 1500 0 2991 0 0 0 770 0 0 0 BMRU
eth1 1500 0 27519 0 0 0 54553 0 0 0 BMRU
 
Search WWH ::




Custom Search