How To Read netstat -s Output
The output of netstat varies from
one operating system to the next.
This variation goes beyond Linux versus Solaris,
different releases of the same kernel will have slightly
data structures.
Even the same kernel release will gain networking data
structures when kernel modules are loaded.
The -s option is intended to mean "statistics",
but "counters" is a far better explanation.
Jump to:
Linux
Linux 2.6.33 kernel
Ip:
14160127 total packets received
1 with invalid addresses
1031595 forwarded
1 with unknown protocol
0 incoming packets discarded
12823997 incoming packets delivered
12175893 requests sent out
40141 outgoing packets dropped
1 fragments dropped after timeout
16953 reassemblies required
8476 packets reassembled ok
1 packet reassembles failed
Icmp:
883 ICMP messages received
44 input ICMP message failed.
ICMP input histogram:
destination unreachable: 827
timeout in transit: 28
source quenches: 1
echo requests: 27
4052 ICMP messages sent
0 ICMP messages failed
ICMP output histogram:
destination unreachable: 4021
echo request: 4
echo replies: 27
IcmpMsg:
InType3: 827
InType4: 1
InType8: 27
InType11: 28
OutType0: 27
OutType3: 4021
OutType8: 4
Tcp:
399848 active connections openings
248057 passive connection openings
1201 failed connection attempts
1462 connection resets received
8 connections established
11460573 segments received
9916512 segments send out
13667 segments retransmited
0 bad segments received.
25448 resets sent
Udp:
1417813 packets received
3663 packets to unknown port received.
1 packet receive errors
1210060 packets sent
UdpLite:
TcpExt:
333665 TCP sockets finished time wait in fast timer
3 packets rejects in established connections because of timestamp
211661 delayed acks sent
96 delayed acks further delayed because of locked socket
Quick ack mode was activated 4229 times
74274 packets directly queued to recvmsg prequeue.
37833 packets directly received from backlog
102627617 packets directly received from prequeue
6771097 packets header predicted
73381 packets header predicted and directly queued to user
1281123 acknowledgments not containing data received
1570328 predicted acknowledgments
3 times recovered from packet loss due to SACK data
Detected reordering 1 times using time stamp
2 congestion windows fully recovered
9 congestion windows partially recovered using Hoe heuristic
588 congestion windows recovered after partial ack
0 TCP data loss events
60 timeouts after SACK recovery
1 timeouts in loss state
2 fast retransmits
2 forward retransmits
33 retransmits in slow start
3755 other TCP timeouts
2 times receiver scheduled too late for direct processing
3967 DSACKs sent for old packets
101 DSACKs sent for out of order packets
115 DSACKs received
3950 connections reset due to unexpected data
659 connections reset due to early user close
2389 connections aborted due to timeout
TCPDSACKIgnoredOld: 38
TCPDSACKIgnoredNoUndo: 20
TCPSackShifted: 2
TCPSackMerged: 5
TCPSackShiftFallback: 431
IpExt:
InMcastPkts: 266515
OutMcastPkts: 266524
InBcastPkts: 353235
OutBcastPkts: 122858
InOctets: 1402185666
OutOctets: 2061596738
InMcastOctets: 57085877
OutMcastOctets: 57086245
InBcastOctets: 98229428
OutBcastOctets: 22241335
Linux 2.6.24 kernel
Ip:
427117633 total packets received
25 with invalid headers
228 with invalid addresses
0 forwarded
0 incoming packets discarded
427117380 incoming packets delivered
268514658 requests sent out
Icmp:
837 ICMP messages received
3 input ICMP message failed.
ICMP input histogram:
destination unreachable: 570
timeout in transit: 7
echo requests: 260
508 ICMP messages sent
0 ICMP messages failed
ICMP output histogram:
destination unreachable: 248
echo replies: 260
IcmpMsg:
InType3: 570
InType8: 260
InType11: 7
OutType0: 260
OutType3: 248
Tcp:
1109 active connections openings
154457 passive connection openings
876 failed connection attempts
244 connection resets received
11 connections established
424768042 segments received
267933426 segments send out
1105 segments retransmited
0 bad segments received.
3037 resets sent
Udp:
1314435 packets received
232 packets to unknown port received.
1 packet receive errors
570387 packets sent
UdpLite:
TcpExt:
276 resets received for embryonic SYN_RECV sockets
1308 packets pruned from receive queue because of socket buffer overrun
516 ICMP packets dropped because they were out-of-window
4527 TCP sockets finished time wait in fast timer
2 packets rejects in established connections because of timestamp
355080 delayed acks sent
84 delayed acks further delayed because of locked socket
Quick ack mode was activated 214 times
137800 packets directly queued to recvmsg prequeue.
489 bytes directly received in process context from prequeue
343265897 packet headers predicted
2339785 acknowledgments not containing data payload received
127767879 predicted acknowledgments
81 times recovered from packet loss by selective acknowledgements
1 congestion windows recovered without slow start by DSACK
89 congestion windows recovered without slow start after partial ack
54 TCP data loss events
35 timeouts after SACK recovery
228 fast retransmits
7 forward retransmits
2 retransmits in slow start
636 other TCP timeouts
1897562 packets collapsed in receive queue due to low socket buffer
215 DSACKs sent for old packets
1 DSACKs sent for out of order packets
144 DSACKs received
101 connections reset due to unexpected data
44 connections reset due to early user close
9 connections aborted due to timeout
TCPDSACKIgnoredOld: 46
TCPDSACKIgnoredNoUndo: 25
TCPSpuriousRTOs: 2
IpExt:
InMcastPkts: 646981
OutMcastPkts: 40789
InBcastPkts: 1525325
OpenBSD
OpenBSD 4.5
ip:
113879070 total packets received
0 bad header checksums
0 with size smaller than minimum
0 with data size < data length
0 with header length < data size
0 with data length < header length
0 with bad options
0 with incorrect version number
0 fragments received
0 fragments dropped (duplicates or out of space)
0 malformed fragments dropped
0 fragments dropped after timeout
0 packets reassembled ok
113856119 packets for this host
21903 packets for unknown/unsupported protocol
0 packets forwarded
1048 packets not forwardable
0 redirects sent
167534674 packets sent from this host
0 packets sent with fabricated ip header
0 output packets dropped due to no bufs, etc.
0 output packets discarded due to no route
0 output datagrams fragmented
0 fragments created
0 datagrams that can't be fragmented
0 fragment floods
0 packets with ip length > max ip packet size
0 tunneling packets that can't find gif
0 datagrams with bad address in header
0 input datagrams checksum-processed by hardware
0 output datagrams checksum-processed by hardware
0 multicast packets which we don't join
icmp:
23352 calls to icmp_error
0 errors not generated because old message was icmp
Output packet histogram:
echo reply: 2
destination unreachable: 1450
0 messages with bad code fields
0 messages < minimum length
0 bad checksums
0 messages with bad length
Input packet histogram:
destination unreachable: 1
echo: 2
2 message responses generated
igmp:
21902 messages received
0 messages received with too few bytes
0 messages received with bad checksum
21902 membership queries received
0 membership queries received with invalid field(s)
0 membership reports received
0 membership reports received with invalid field(s)
0 membership reports received for groups to which we belong
0 membership reports sent
ipencap:
0 total input packets
0 total output packets
0 packets shorter than header shows
0 packets dropped due to policy
0 packets with possibly spoofed local addresses
0 packets were dropped due to full output queue
0 input bytes
0 output bytes
0 protocol family mismatches
0 attempts to use tunnel with unspecified endpoint(s)
tcp:
167270512 packets sent
155169891 data packets (202180710920 bytes)
1638646 data packets (2147950886 bytes) retransmitted
15314 fast retransmitted packets
7078190 ack-only packets (12071080 delayed)
0 URG only packets
5540 window probe packets
36313 window update packets
3341932 control packets
0 packets hardware-checksummed
111547222 packets received
88864288 acks (for 199370430017 bytes)
7683219 duplicate acks
0 acks for unsent data
0 acks for old data
12249277 packets (4687141549 bytes) received in-sequence
417940 completely duplicate packets (11116414 bytes)
5211 old duplicate packets
806 packets with some duplicate data (179003 bytes duplicated)
1297011 out-of-order packets (7173309 bytes)
5 packets (5 bytes) of data after window
5 window probes
2040443 window update packets
22313 packets received after close
295 discarded for bad checksums
0 discarded for bad header offset fields
0 discarded because packet too short
0 discarded for missing IPsec protection
0 discarded due to memory shortage
0 packets hardware-checksummed
0 bad/missing md5 checksums
0 good md5 checksums
746 connection requests
3485840 connection accepts
3486338 connections established (including accepts)
3495720 connections closed (including 636723 drops)
0 connections drained
248 embryonic connections dropped
52914518 segments updated rtt (of 37891887 attempts)
1000453 retransmit timeouts
28646 connections dropped by rexmit timeout
6896 persist timeouts
5 keepalive timeouts
5 keepalive probes sent
0 connections dropped by keepalive
12842986 correct ACK header predictions
6710126 correct data packet header predictions
7188442 PCB cache misses
0 ECN connections accepted
0 ECE packets received
776 CWR packets received
90355 CE packets received
0 ECT packets sent
0 ECE packets sent
0 CWR packets sent
cwr by fastrecovery: 469165
cwr by timeout: 1000453
cwr by ecn: 0
7513 bad connection attempts
3513244 SYN cache entries added
0 hash collisions
3485840 completed
83 aborted (no space to build PCB)
119 timed out
0 dropped due to overflow
0 dropped due to bucket overflow
27202 dropped due to RST
0 dropped due to ICMP unreachable
107624 SYN,ACKs retransmitted
64402 duplicate SYNs received for entries already in the cache
0 SYNs dropped (no route or no space)
453851 SACK recovery episodes
831147 segment rexmits in SACK recovery episodes
1126292568 byte rexmits in SACK recovery episodes
4403069 SACK options received
19974 SACK options sent
udp:
2313974 datagrams received
0 with incomplete header
0 with bad data length field
0 with bad checksum
20 with no checksum
0 input packets hardware-checksummed
0 output packets hardware-checksummed
1453 dropped due to no socket
2183211 broadcast/multicast datagrams dropped due to no socket
0 dropped due to missing IPsec protection
0 dropped due to full socket buffers
129310 delivered
129742 datagrams output
1450 missed PCB cache
esp:
0 input ESP packets
0 output ESP packets
0 packets from unsupported protocol families
0 packets shorter than header shows
0 packets dropped due to policy
0 packets for which no TDB was found
0 input packets that failed to be processed
0 packets with bad encryption received
0 packets that failed verification received
0 packets for which no XFORM was set in TDB received
0 packets were dropped due to full output queue
0 packets where counter wrapping was detected
0 possibly replayed packets received
0 packets with bad payload size or padding received
0 packets attempted to use an invalid TDB
0 packets got larger than max IP packet size
0 packets that failed crypto processing
0 input UDP encapsulated ESP packets
0 output UDP encapsulated ESP packets
0 UDP packets for non-encapsulating TDB received
0 input bytes
0 output bytes
ah:
0 input AH packets
0 output AH packets
0 packets from unsupported protocol families
0 packets shorter than header shows
0 packets dropped due to policy
0 packets for which no TDB was found
0 input packets that failed to be processed
0 packets that failed verification received
0 packets for which no XFORM was set in TDB received
0 packets were dropped due to full output queue
0 packets where counter wrapping was detected
0 possibly replayed packets received
0 packets with bad authenticator length received
0 packets attempted to use an invalid TDB
0 packets got larger than max IP packet size
0 packets that failed crypto processing
0 input bytes
0 output bytes
etherip:
0 packets shorter than header shows
0 packets were dropped due to full output queue
0 packets were dropped because of no interface/bridge information
0 packets dropped due to policy
0 packets dropped for other reasons
0 input ethernet-in-IP packets
0 output ethernet-in-IP packets
0 input bytes
0 output bytes
ipcomp:
0 input IPCOMP packets
0 output IPCOMP packets
0 packets from unsupported protocol families
0 packets shorter than header shows
0 packets dropped due to policy
0 packets for which no TDB was found
0 input packets that failed to be processed
0 packets for which no XFORM was set in TDB received
0 packets were dropped due to full output queue
0 packets where counter wrapping was detected
0 packets attempted to use an invalid TDB
0 packets got larger than max IP packet size
0 packets that failed (de)compression processing
0 packets less than minimum compression length
0 input bytes
0 output bytes
carp:
0 packets received (IPv4)
0 packets received (IPv6)
0 packets discarded for bad interface
0 packets discarded for wrong TTL
0 packets shorter than header
0 discarded for bad checksums
0 discarded packets with a bad version
0 discarded because packet too short
0 discarded for bad authentication
0 discarded for unknown vhid
0 discarded because of a bad address list
0 packets sent (IPv4)
0 packets sent (IPv6)
0 send failed due to mbuf memory error
0 transitions to master
pfsync:
0 packets received (IPv4)
0 packets received (IPv6)
0 packets discarded for bad interface
0 packets discarded for bad ttl
0 packets shorter than header
0 packets discarded for bad version
0 packets discarded for bad HMAC
0 packets discarded for bad action
0 packets discarded for short packet
0 states discarded for bad values
0 stale states
0 failed state lookup/inserts
0 packets sent (IPv4)
0 packets sent (IPv6)
0 send failed due to mbuf memory error
0 send error
pflow:
0 flows sent
0 packets sent
0 send failed due to mbuf memory error
0 send error
ip6:
8443 total packets received
0 with size smaller than minimum
0 with data size < data length
0 with bad options
0 with incorrect version number
0 fragments received
0 fragments dropped (duplicates or out of space)
0 fragments dropped after timeout
0 fragments that exceeded limit
0 packets reassembled ok
5079 packets for this host
0 packets forwarded
0 packets not forwardable
0 redirects sent
5086 packets sent from this host
0 packets sent with fabricated ip header
0 output packets dropped due to no bufs, etc.
0 output packets discarded due to no route
0 output datagrams fragmented
0 fragments created
0 datagrams that can't be fragmented
0 packets that violated scope rules
296 multicast packets which we don't join
Input packet histogram:
hop by hop: 6
TCP: 5079
ICMP6: 3358
Mbuf statistics:
4796 one mbufs
two or more mbuf:
lo0 = 283
3364 one ext mbufs
0 two or more ext mbufs
0 packets whose headers are not continuous
0 tunneling packets that can't find gif
0 packets discarded due to too many headers
0 failures of source address selection
source addresses on an outgoing I/F
2 node-locals
source addresses of same scope
2 node-locals
0 forward cache hit
0 forward cache miss
icmp6:
0 calls to icmp6_error
0 errors not generated because old message was icmp6 or so
0 errors not generated because of rate limitation
Output packet histogram:
multicast listener report: 6
neighbor solicitation: 1
0 messages with bad code fields
0 messages < minimum length
0 bad checksums
0 messages with bad length
Input packet histogram:
multicast listener report: 6
neighbor advertisement: 3062
Histogram of error messages to be generated:
0 no route
0 administratively prohibited
0 beyond scope
0 address unreachable
0 port unreachable
0 packet too big
0 time exceed transit
0 time exceed reassembly
0 erroneous header field
0 unrecognized next header
0 unrecognized option
0 redirect
0 unknown
0 message responses generated
0 messages with too many ND options
0 messages with bad ND options
0 bad neighbor solicitation messages
0 bad neighbor advertisement messages
0 bad router solicitation messages
0 bad router advertisement messages
0 bad redirect messages
0 path MTU changes
pim6:
0 messages received
0 messages received with too few bytes
0 messages received with bad checksum
0 messages received with bad version
0 registers received
0 bad registers received
0 registers sent
rip6:
0 messages received
0 checksum calculations on inbound
0 messages with bad checksum
0 messages dropped due to no socket
0 multicast messages dropped due to no socket
0 messages dropped due to full socket buffers
0 delivered
0 datagrams output
SunOS
SunOS 5.10
RAWIP rawipInDatagrams = 4 rawipInErrors = 0
rawipInCksumErrs = 0 rawipOutDatagrams = 11
rawipOutErrors = 0
UDP udpInDatagrams =883900 udpInErrors = 0
udpOutDatagrams =595637 udpOutErrors = 0
TCP tcpRtoAlgorithm = 4 tcpRtoMin = 400
tcpRtoMax = 60000 tcpMaxConn = -1
tcpActiveOpens = 13323 tcpPassiveOpens = 25502
tcpAttemptFails = 104 tcpEstabResets = 444
tcpCurrEstab = 29 tcpOutSegs =10974247
tcpOutDataSegs =17549229 tcpOutDataBytes =766486016
tcpRetransSegs = 1952 tcpRetransBytes =1153273
tcpOutAck =563037 tcpOutAckDelayed =243780
tcpOutUrg = 0 tcpOutWinUpdate = 422
tcpOutWinProbe = 62 tcpOutControl = 78222
tcpOutRsts = 600 tcpOutFastRetrans = 88
tcpInSegs =8618291
tcpInAckSegs =8162920 tcpInAckBytes =240168277
tcpInDupAck = 37303 tcpInAckUnsent = 0
tcpInInorderSegs =4221681 tcpInInorderBytes =1569280709
tcpInUnorderSegs = 1555 tcpInUnorderBytes =2752928
tcpInDupSegs = 3747 tcpInDupBytes =271298
tcpInPartDupSegs = 0 tcpInPartDupBytes = 0
tcpInPastWinSegs = 1 tcpInPastWinBytes =265402301
tcpInWinProbe = 0 tcpInWinUpdate = 38
tcpInClosed = 103 tcpRttNoUpdate = 20
tcpRttUpdate =8128899 tcpTimRetrans = 735
tcpTimRetransDrop = 74 tcpTimKeepalive = 1217
tcpTimKeepaliveProbe= 7 tcpTimKeepaliveDrop = 0
tcpListenDrop = 0 tcpListenDropQ0 = 0
tcpHalfOpenDrop = 0 tcpOutSackRetrans = 711
IPv4 ipForwarding = 2 ipDefaultTTL = 255
ipInReceives =10278918 ipInHdrErrors = 0
ipInAddrErrors = 0 ipInCksumErrs = 0
ipForwDatagrams = 0 ipForwProhibits = 1
ipInUnknownProtos = 18858 ipInDiscards = 3
ipInDelivers =10056663 ipOutRequests =16653663
ipOutDiscards = 0 ipOutNoRoutes = 0
ipReasmTimeout = 60 ipReasmReqds = 79
ipReasmOKs = 79 ipReasmFails = 0
ipReasmDuplicates = 0 ipReasmPartDups = 0
ipFragOKs = 0 ipFragFails = 0
ipFragCreates = 0 ipRoutingDiscards = 0
tcpInErrs = 14 udpNoPorts =461901
udpInCksumErrs = 3 udpInOverflows = 0
rawipInOverflows = 0 ipsecInSucceeded =257293
ipsecInFailed = 0 ipInIPv6 = 0
ipOutIPv6 = 0 ipOutSwitchIPv6 = 0
IPv6 ipv6Forwarding = 2 ipv6DefaultHopLimit = 0
ipv6InReceives = 5767 ipv6InHdrErrors = 0
ipv6InTooBigErrors = 0 ipv6InNoRoutes = 0
ipv6InAddrErrors = 0 ipv6InUnknownProtos = 0
ipv6InTruncatedPkts = 0 ipv6InDiscards = 0
ipv6InDelivers = 27367 ipv6OutForwDatagrams= 0
ipv6OutRequests = 33751 ipv6OutDiscards = 2
ipv6OutNoRoutes = 17271 ipv6OutFragOKs = 0
ipv6OutFragFails = 0 ipv6OutFragCreates = 0
ipv6ReasmReqds = 0 ipv6ReasmOKs = 0
ipv6ReasmFails = 0 ipv6InMcastPkts = 5767
ipv6OutMcastPkts = 6603 ipv6ReasmDuplicates = 0
ipv6ReasmPartDups = 0 ipv6ForwProhibits = 0
udpInCksumErrs = 0 udpInOverflows = 0
rawipInOverflows = 0 ipv6InIPv4 = 0
ipv6OutIPv4 = 0 ipv6OutSwitchIPv4 = 0
ICMPv4 icmpInMsgs = 5062 icmpInErrors = 0
icmpInCksumErrs = 0 icmpInUnknowns = 0
icmpInDestUnreachs = 4971 icmpInTimeExcds = 35
icmpInParmProbs = 0 icmpInSrcQuenchs = 0
icmpInRedirects = 0 icmpInBadRedirects = 0
icmpInEchos = 53 icmpInEchoReps = 3
icmpInTimestamps = 0 icmpInTimestampReps = 0
icmpInAddrMasks = 0 icmpInAddrMaskReps = 0
icmpInFragNeeded = 0 icmpOutMsgs = 2458
icmpOutDrops = 18858 icmpOutErrors = 0
icmpOutDestUnreachs = 2405 icmpOutTimeExcds = 0
icmpOutParmProbs = 0 icmpOutSrcQuenchs = 0
icmpOutRedirects = 0 icmpOutEchos = 0
icmpOutEchoReps = 53 icmpOutTimestamps = 0
icmpOutTimestampReps= 0 icmpOutAddrMasks = 0
icmpOutAddrMaskReps = 0 icmpOutFragNeeded = 0
icmpInOverflows = 0
ICMPv6 icmp6InMsgs = 17494 icmp6InErrors = 0
icmp6InDestUnreachs = 9845 icmp6InAdminProhibs = 0
icmp6InTimeExcds = 0 icmp6InParmProblems = 0
icmp6InPktTooBigs = 0 icmp6InEchos = 0
icmp6InEchoReplies = 0 icmp6InRouterSols = 0
icmp6InRouterAds = 0 icmp6InNeighborSols = 2
icmp6InNeighborAds = 7647 icmp6InRedirects = 0
icmp6InBadRedirects = 0 icmp6InGroupQueries = 0
icmp6InGroupResps = 0 icmp6InGroupReds = 0
icmp6InOverflows = 0
icmp6OutMsgs = 13617 icmp6OutErrors = 0
icmp6OutDestUnreachs= 9845 icmp6OutAdminProhibs= 0
icmp6OutTimeExcds = 0 icmp6OutParmProblems= 0
icmp6OutPktTooBigs = 0 icmp6OutEchos = 0
icmp6OutEchoReplies = 0 icmp6OutRouterSols = 3
icmp6OutRouterAds = 0 icmp6OutNeighborSols= 4
icmp6OutNeighborAds = 3760 icmp6OutRedirects = 0
icmp6OutGroupQueries= 0 icmp6OutGroupResps = 5
icmp6OutGroupReds = 0
IGMP:
18858 messages received
0 messages received with too few bytes
0 messages received with bad checksum
9451 membership queries received
0 membership queries received with invalid field(s)
0 membership reports received
0 membership reports received with invalid field(s)
0 membership reports received for groups to which we belong
9407 membership reports sent
SCTP sctpRtoAlgorithm = vanj sctpRtoMin = 1000
sctpRtoMax = 60000 sctpRtoInitial = 3000
sctpMaxAssocs = -1 sctpValCookieLife = 60000
sctpMaxInitRetr = 8 sctpCurrEstab = 0
sctpActiveEstab = 0 sctpPassiveEstab = 0
sctpAborted = 0 sctpShutdowns = 0
sctpOutOfBlue = 0 sctpChecksumError = 0
sctpOutCtrlChunks = 0 sctpOutOrderChunks = 0
sctpOutUnorderChunks= 0 sctpRetransChunks = 0
sctpOutAck = 0 sctpOutAckDelayed = 0
sctpOutWinUpdate = 0 sctpOutFastRetrans = 0
sctpOutWinProbe = 0 sctpInCtrlChunks = 0
sctpInOrderChunks = 0 sctpInUnorderChunks = 0
sctpInAck = 0 sctpInDupAck = 0
sctpInAckUnsent = 0 sctpFragUsrMsgs = 0
sctpReasmUsrMsgs = 0 sctpOutSCTPPkts = 0
sctpInSCTPPkts = 0 sctpInInvalidCookie = 0
sctpTimRetrans = 0 sctpTimRetransDrop = 0
sctpTimHearBeatProbe= 0 sctpTimHearBeatDrop = 0
sctpListenDrop = 0 sctpInClosed = 0
Cisco
Here is the output of show ip traffic
IP statistics:
Rcvd: 326 total, 299 local destination
0 format errors, 0 checksum errors, 0 bad hop count
0 unknown protocol, 0 not a gateway
0 security failures, 0 bad options, 0 with options
Opts: 0 end, 0 nop, 0 basic security, 0 loose source route
0 timestamp, 0 extended security, 0 record route
0 stream ID, 0 strict source route, 0 alert, 0 cipso
0 other
Frags: 0 reassembled, 0 timeouts, 0 couldn't reassemble
0 fragmented, 0 couldn't fragment
Bcast: 24 received, 8 sent
Mcast: 0 received, 0 sent
Sent: 249 generated, 0 forwarded
Drop: 14 encapsulation failed, 0 unresolved, 0 no adjacency
8 no route, 0 unicast RPF, 0 forced drop
ICMP statistics:
Rcvd: 0 format errors, 0 checksum errors, 0 redirects, 5 unreachable
2 echo, 0 echo reply, 0 mask requests, 0 mask replies, 0 quench
0 parameter, 0 timestamp, 0 info request, 0 other
0 irdp solicitations, 0 irdp advertisements
Sent: 0 redirects, 0 unreachable, 0 echo, 2 echo reply
0 mask requests, 0 mask replies, 0 quench, 0 timestamp
0 info reply, 0 time exceeded, 0 parameter problem
0 irdp solicitations, 0 irdp advertisements
UDP statistics:
Rcvd: 41 total, 0 checksum errors, 18 no port
Sent: 36 total, 0 forwarded broadcasts
TCP statistics:
Rcvd: 254 total, 0 checksum errors, 0 no port
Sent: 212 total
Probe statistics:
Rcvd: 0 address requests, 0 address replies
0 proxy name requests, 0 where-is requests, 0 other
Sent: 0 address requests, 0 address replies (0 proxy)
0 proxy name replies, 0 where-is replies
EGP statistics:
Rcvd: 0 total, 0 format errors, 0 checksum errors, 0 no listener
Sent: 0 total
IGRP statistics:
Rcvd: 0 total, 0 checksum errors
Sent: 0 total
OSPF statistics:
Rcvd: 0 total, 0 checksum errors
0 hello, 0 database desc, 0 link state req
0 link state updates, 0 link state acks
Sent: 0 total
IP-IGRP2 statistics:
Rcvd: 0 total
Sent: 0 total
PIMv2 statistics: Sent/Received
Total: 0/0, 0 checksum errors, 0 format errors
Registers: 0/0, Register Stops: 0/0, Hellos: 0/0
Join/Prunes: 0/0, Asserts: 0/0, grafts: 0/0
Bootstraps: 0/0, Candidate_RP_Advertisements: 0/0
IGMP statistics: Sent/Received
Total: 0/0, Format errors: 0/0, Checksum errors: 0/0
Host Queries: 0/0, Host Reports: 0/0, Host Leaves: 0/0
DVMRP: 0/0, PIM: 0/0
ARP statistics:
Rcvd: 10 requests, 1 replies, 0 reverse, 0 other
Sent: 3 requests, 11 replies (0 proxy), 0 reverse
Here is the output of show tcp statistics
Rcvd: 332 Total, 0 no port
0 checksum error, 0 bad offset, 0 too short
214 packets (315 bytes) in sequence
0 dup packets (0 bytes)
0 partially dup packets (0 bytes)
0 out-of-order packets (0 bytes)
0 packets (0 bytes) with data after window
0 packets after close
0 window probe packets, 0 window update packets
0 dup ack packets, 0 ack packets with unsend data
222 ack packets (25253 bytes)
Sent: 274 Total, 0 urgent packets
1 control packets (including 0 retransmitted)
257 data packets (25254 bytes)
0 data packets (0 bytes) retransmitted
16 ack only packets (16 delayed)
0 window probe packets, 0 window update packets
0 Connections initiated, 1 connections accepted, 1 connections established
0 Connections closed (including 0 dropped, 0 embryonic dropped)
0 Total rxmt timeout, 0 connections dropped in rxmt timeout
0 Keepalive timeout, 0 keepalive probe, 0 Connections dropped in keepalive
Historical Examples
SunOS 4.1.1
udp:
0 incomplete headers
0 bad data length fields
0 bad checksums
0 socket overflows
tcp:
5129067 packets sent
3910227 data packets (468550717 bytes)
4484 data packets (812357 bytes) retransmitted
923879 ack-only packets (825994 delayed)
485 URG only packets
1681 window probe packets
229373 window update packets
58948 control packets
5321087 packets received
3615669 acks (for 468578941 bytes)
50858 duplicate acks
0 acks for unsent data
3926829 packets (596246583 bytes) received in-sequence
6795 completely duplicate packets (737152 bytes)
179 packets with some dup. data (8550 bytes duped)
44965 out-of-order packets (1892274 bytes)
13827 packets (1592878 bytes) of data after window
2097 window probes
6390 window update packets
238 packets received after close
1 discarded for bad checksum
0 discarded for bad header offset fields
0 discarded because packet too short
13210 connection requests
33906 connection accepts
46383 connections established (including accepts)
48029 connections closed (including 1160 drops)
821 embryonic connections dropped
3587807 segments updated rtt (of 3606368 attempts)
4564 retransmit timeouts
4 connections dropped by rexmit timeout
65 persist timeouts
6155 keepalive timeouts
2038 keepalive probes sent
115 connections dropped by keepalive
icmp:
284410 calls to icmp_error
0 errors not generated 'cuz old message too short
0 errors not generated 'cuz old message was icmp
Output histogram:
echo reply: 6
destination unreachable: 284410
32 messages with bad code fields
0 messages < minimum length
0 bad checksums
0 messages with bad length
Input histogram:
echo reply: 139
destination unreachable: 284523
source quench: 13
echo: 6
time exceeded: 24
6 message responses generated
ip:
18208602 total packets received
0 bad header checksums
0 with size smaller than minimum
0 with data size < data length
0 with header length < data size
0 with data length < header length
950137 fragments received
0 fragments dropped (dup or out of space)
143 fragments dropped after timeout
0 packets forwarded
0 packets not forwardable
0 redirects sent
0 ip input queue drops
SunOS 5.3
UDP
udpInDatagrams =7414564 udpInErrors = 0
udpOutDatagrams =6512142
TCP tcpRtoAlgorithm = 4 tcpRtoMin = 200
tcpRtoMax = 60000 tcpMaxConn = -1
tcpActiveOpens = 54250 tcpPassiveOpens = 21125
tcpAttemptFails = 997 tcpEstabResets = 63047
tcpCurrEstab = 27 tcpOutSegs =25923926
tcpOutDataSegs =22351702 tcpOutDataBytes =2010766060
tcpRetransSegs =241242 tcpRetransBytes =83568747
tcpOutAck =3573443 tcpOutAckDelayed =1975482
tcpOutUrg = 1296 tcpOutWinUpdate = 4045
tcpOutWinProbe = 7231 tcpOutControl =270923
tcpOutRsts = 16769 tcpOutFastRetrans = 3065
tcpInSegs =16961868
tcpInAckSegs =11264480 tcpInAckBytes =2009322750
tcpInDupAck =330904 tcpInAckUnsent = 0
tcpInInorderSegs =10599470 tcpInInorderBytes =1690623444
tcpInUnorderSegs = 43478 tcpInUnorderBytes =28159048
tcpInDupSegs = 5277 tcpInDupBytes =907838
tcpInPartDupSegs = 575 tcpInPartDupBytes =245987
tcpInPastWinSegs = 0 tcpInPastWinBytes = 0
tcpInWinProbe = 6507 tcpInWinUpdate = 6059
tcpInClosed = 2010 tcpRttNoUpdate = 59423
tcpRttUpdate =3806139 tcpTimRetrans =246023
tcpTimRetransDrop = 195 tcpTimKeepalive = 4654
tcpTimKeepaliveProbe= 3451 tcpTimKeepaliveDrop = 1
IP ipForwarding = 2 ipDefaultTTL = 255
ipInReceives =25929592 ipInHdrErrors = 0
ipInAddrErrors = 0 ipInCksumErrs = 0
ipForwDatagrams = 0 ipForwProhibits = 0
ipInUnknownProtos = 0 ipInDiscards = 0
ipInDelivers =24355001 ipOutRequests =30760900
ipOutDiscards = 0 ipOutNoRoutes = 0
ipReasmTimeout = 60 ipReasmReqds =609440
ipReasmOKs =604871 ipReasmFails = 4398
ipReasmDuplicates = 9 ipReasmPartDups = 0
ipFragOKs =646218 ipFragFails = 0
ipFragCreates =3683908 ipRoutingDiscards = 0
tcpInErrs = 94 udpNoPorts =793941
udpInCksumErrs = 4 udpInOverflows = 667
rawipInOverflows = 76
ICMP icmpInMsgs = 7409 icmpInErrors = 0
icmpInCksumErrs = 0 icmpInUnknowns = 0
icmpInDestUnreachs = 879 icmpInTimeExcds = 599
icmpInParmProbs = 0 icmpInSrcQuenchs = 181
icmpInRedirects = 0 icmpInBadRedirects = 0
icmpInEchos = 1 icmpInEchoReps = 1
icmpInTimestamps = 0 icmpInTimestampReps = 0
icmpInAddrMasks = 0 icmpInAddrMaskReps = 0
icmpInFragNeeded = 36 icmpOutMsgs = 5243
icmpOutDrops = 315 icmpOutErrors = 0
icmpOutDestUnreachs = 3641 icmpOutTimeExcds = 1601
icmpOutParmProbs = 0 icmpOutSrcQuenchs = 0
icmpOutRedirects = 0 icmpOutEchos = 0
icmpOutEchoReps = 1 icmpOutTimestamps = 0
icmpOutTimestampReps= 0 icmpOutAddrMasks = 0
icmpOutAddrMaskReps = 0 icmpOutFragNeeded = 0
icmpInOverflows = 0
IGMP:
0 messages received
0 messages received with too few bytes
0 messages received with bad checksum
0 membership queries received
0 membership queries received with invalid field(s)
0 membership reports received
0 membership reports received with invalid field(s)
0 membership reports received for groups to which we belong
0 membership reports sent
Linux 2.0.34
Ip:
6889 total packets received
0 with invalid headers
0 with invalid addresses
0 forwarded
0 with unknown protocol
0 incoming packets discarded
6000 incoming packets delivered
11851 requests sent out
0 outgoing packets dropped
18 dropped because of missing route
0 fragments dropped after timeout
0 reassemblies required
0 packets reassembled ok
0 packet reassembles failed
0 fragments received ok
0 fragments failed
0 fragments created
Icmp:
2 ICMP messages received
0 input ICMP message failed.
ICMP input histogram:
destination unreachable: 2
2 ICMP messages sent
0 ICMP messages failed
ICMP output histogram:
destination unreachable: 2
Tcp:
9 active opens
0 passive opens
0 failed connection attempts
0 connection resets received
0 connections established
887 segments received
1122 segments send out
32 segments retransmited
Udp:
5998 packets received
2 packets to unknown port received.
0 packet receive errors
5642 packets send