Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Report additional network metrics #389

Closed
alq666 opened this issue Feb 28, 2013 · 1 comment
Closed

Report additional network metrics #389

alq666 opened this issue Feb 28, 2013 · 1 comment
Assignees
Labels

Comments

@alq666
Copy link
Member

alq666 commented Feb 28, 2013

netstat -i gives us what we want.

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  3006069447      0      0 0      1899954336      0      0      0 BMRU
ham0       1200 0   2058258      0      0 0        505606      0      0      0 BMRU
lo        16436 0  11366528432      0      0 0      11366528432      0      0      0 LRU

netstat -s yields too much but it's a good place to start. Marking candidates with "X"

Ip:
    1496032693 total packets received
    2 with invalid addresses
    0 forwarded
    0 incoming packets discarded
    1459406807 incoming packets delivered
    380928783 requests sent out
    2229 outgoing packets dropped
    329 fragments dropped after timeout
    35664 reassemblies required
    10844 packets reassembled ok
    329 packet reassembles failed
    18 fragments received ok
    36 fragments created
Icmp:
    4848543 ICMP messages received
    4390 input ICMP message failed.
    ICMP input histogram:
        destination unreachable: 1572424
        timeout in transit: 7414
        echo requests: 99686
        echo replies: 3169019
    4920738 ICMP messages sent
    0 ICMP messages failed
    ICMP output histogram:
        destination unreachable: 1616389
        echo request: 3204663
        echo replies: 99686
IcmpMsg:
        InType0: 3169019
        InType3: 1572424
        InType8: 99686
        InType11: 7414
        OutType0: 99686
        OutType3: 1616389
        OutType8: 3204663
Tcp:
    X 197264362 active connections openings
    X 178438660 passive connection openings
    X 1629439 failed connection attempts
    X 6250383 connection resets received
    X 132 connections established
    X 920177534 segments received
    X 136480386 segments send out
    X 10904922 segments retransmited
    X 0 bad segments received.
    X 8247470 resets sent
Udp:
    X 534686710 packets received
    X 1974841 packets to unknown port received.
    X 0 packet receive errors
    X 230912425 packets sent
    X SndbufErrors: 2229
UdpLite:
TcpExt:
    125695 invalid SYN cookies received
    2612 resets received for embryonic SYN_RECV sockets
    801 packets pruned from receive queue because of socket buffer overrun
    12 packets pruned from receive queue
    5 packets dropped from out-of-order queue because of socket buffer overrun
    32 ICMP packets dropped because they were out-of-window
    201359948 TCP sockets finished time wait in fast timer
    1656248 time wait sockets recycled by time stamp
    20524 packets rejects in established connections because of timestamp
    13005386 delayed acks sent
    185112 delayed acks further delayed because of locked socket
    Quick ack mode was activated 86241 times
    242099 times the listen queue of a socket overflowed
    242099 SYNs to LISTEN sockets dropped
    204853929 packets directly queued to recvmsg prequeue.
    1427048368 bytes directly in process context from backlog
    3292677808 bytes directly received in process context from prequeue
    1464653014 packet headers predicted
    4637424 packets header predicted and directly queued to user
    1765168191 acknowledgments not containing data payload received
    760534347 predicted acknowledgments
    159001 times recovered from packet loss by selective acknowledgements
    14 bad SACK blocks received
    Detected reordering 13101 times using FACK
    Detected reordering 5961 times using SACK
    Detected reordering 10283 times using time stamp
    11260 congestion windows fully recovered without slow start
    123108 congestion windows partially recovered using Hoe heuristic
    9378 congestion windows recovered without slow start by DSACK
    76061 congestion windows recovered without slow start after partial ack
    X 9786019 TCP data loss events
    TCPLostRetransmit: 96492
    5 timeouts after reno fast retransmit
    12776 timeouts after SACK recovery
    1443 timeouts in loss state
    10148293 fast retransmits
    160752 forward retransmits
    183812 retransmits in slow start
    230609 other TCP timeouts
    6388 SACK retransmits failed
    2874 times receiver scheduled too late for direct processing
    222283 packets collapsed in receive queue due to low socket buffer
    87297 DSACKs sent for old packets
    107 DSACKs sent for out of order packets
    170621 DSACKs received
    685 DSACKs for out of order packets received
    4154170 connections reset due to unexpected data
    507904 connections reset due to early user close
    19865 connections aborted due to timeout
    TCPDSACKIgnoredOld: 107472
    TCPDSACKIgnoredNoUndo: 43397
    TCPSpuriousRTOs: 4507
    TCPSackShifted: 34078133
    TCPSackMerged: 7729044
    TCPSackShiftFallback: 2059316
IpExt:
    InMcastPkts: 30
    OutMcastPkts: 44
    InBcastPkts: 6826389
    InOctets: 411063784
    OutOctets: 854567554
    InMcastOctets: 4510
    OutMcastOctets: 5070
    InBcastOctets: 1172218487
@ghost ghost assigned LotharSee Feb 28, 2013
@alq666
Copy link
Member Author

alq666 commented Feb 28, 2013

#379 is the master case. Closing this one.

@alq666 alq666 closed this as completed Feb 28, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants