Table of ContentsLibraryView in Frames

Displaying TCP/IP driver statistics with the netstat command

You can use the netstat command with the -T option to display the statistics for all the TOE interfaces in a specified storage system. You can also use netstat with the -a option to display active TCP connections, including the TOE field.

Steps

  1. To display the TCP/IP driver statistics for the TOE interface, enter the following command: : netstat -T

    TCP/IP driver statistics appear as shown in the following example:

    Slot 9 is a TOE device tcp(e9):30 active opened
    
    40 passive opened
    0 incomplete opened
    20 closed
    20 segments with reset flag
    30 current established connections
    799739515 segments received
    867459230 segments transmitted
    440 segments retransmitted
    0 segments received in error
    
    ip(e9):
    799739736 ip packets received
    0 ip packets with bad headers discarded
    0 ip packets with bad address discarded
    0 ip packets with unknwon protocol discarded
    0 good ip packets discarded
    799739801 ip packets delivered to upper layer
    867459864 ip packets request to be transmitted
    0 good ip packets did not transmitted
    0 ip packets with no route and did not transmitted
    0 seconds waited for reassembly
    0 ip fragments received and need to be assembled
    0 ip packets reassembled successfully
    0 ip packets failed to reassemble
    host driver(e9):
    Received:
    254596761 total mbufs received
    15681396 mbufs, size between 1 and 511 bytes
    2990388 mbufs, size between 512 and 1023 bytes
    164703 mbufs, size between 1024 and 1499 bytes
    270101 mbufs, size between 1500 and 2047 bytes
    235490173 mbufs, size between 2048 and 4095 bytes
    0 mbufs, size between 4096 and 9000 bytes
    Transmitted:
    1108053512 total mbufs transmitted
    251646039 mbufs, size between 1 and 511 bytes
    102736920 mbufs, size between 512 and 1023 bytes
    722302658 mbufs, size between 1024 and 1499 bytes
    4091433 mbufs, size between 1500 and 2047 bytes
    13560042 mbufs, size between 2048 and 4095 bytes
    13716547 mbufs, size between 4096 and 9000 bytes
    

  2. To display active TCP connections, including the TOE field, enter the following command: netstat -a

Example

The active TOE connections appear as shown in the following example:
Active TCP connections (including servers)
Local Address Remote Address Swind Send-Q Rwind Recv-Q
State TOE?
172.25.107.175.6009 172.25.107.176.6896 166652 0 261120 0
ESTABLISHED TOE
172.25.107.175.6008 172.25.107.176.46859 176334 0 261120 0
ESTABLISHED TOE
172.25.107.175.6007 172.25.107.176.60393 158610 0 261120 0
ESTABLISHED TOE
172.25.107.175.6006 172.25.107.176.32938 164833 0 261120 0
ESTABLISHED TOE
babbage.996 10.56.11.56.747 5840 0 8760 0 ESTABLISHED -
babbage.997 10.56.11.56.748 5840 0 8760 0 ESTABLISHED -
babbage.998 10.56.11.56.749 5840 0 8760 0 ESTABLISHED