# nstat#kernelIpInReceives1332430.0IpInDelivers1332430.0IpOutRequests929040.0IcmpOutErrors970.0IcmpOutTimeExcds970.0IcmpMsgOutType3970.0TcpActiveOpens5380.0TcpEstabResets560.0TcpInSegs1298370.0TcpOutSegs897200.0TcpRetransSegs420.0TcpOutRsts7040.0UdpInDatagrams32550.0UdpNoPorts970.0UdpOutDatagrams32700.0Ip6OutNoRoutes2060.0TcpExtTW1410.0TcpExtDelayedACKs5080.0TcpExtDelayedACKLocked10.0TcpExtDelayedACKLost420.0TcpExtTCPHPHits1176590.0TcpExtTCPPureAcks21580.0TcpExtTCPHPAcks6050.0TcpExtTCPSackRecovery10.0TcpExtTCPLossUndo160.0TcpExtTCPSackFailures40.0TcpExtTCPFastRetrans10.0TcpExtTCPSlowStartRetrans30.0TcpExtTCPTimeouts330.0TcpExtTCPDSACKOldSent400.0TcpExtTCPDSACKRecv50.0TcpExtTCPAbortOnData1200.0TcpExtTCPAbortOnClose550.0TcpExtTCPSackShiftFallback90.0IpExtInOctets1801316820.0IpExtOutOctets72891060.0# ss -sTotal:786(kernel 804)TCP:65(estab 40, closed 7, orphaned 0, synrecv 0, timewait 6/0), ports 56TransportTotal IP IPv6*804--RAW 110UDP 1293TCP 58526INET 71629FRAG 000# netstat -iKernelInterface tableIface MTU Met RX-OK RX-ERR RX-DRP RX-OVR TX-OK TX-ERR TX-DRP TX-OVR Flgeth0 15000941022000688165000 BMRUlo 16436093040009304000 LRUppp0 1496037840004177000 MOPRU# netstat -sIp:1092065 total packets received0 forwarded0 incoming packets discarded1091681 incoming packets delivered798913 requests sent out895 dropped because of missing route759 reassemblies required375 packets reassembled okIcmp:17 ICMP messages received0 input ICMP message failed.ICMP input histogram:timeout in transit:8echo replies:91747 ICMP messages sent0 ICMP messages failedICMP output histogram:destination unreachable:1730echo request:17IcmpMsg:InType0:9InType11:8OutType3:1730OutType8:17Tcp:4822 active connections openings1129 passive connection openings457 failed connection attempts165 connection resets received7 connections established1062519 segments received771394 segments send out7158 segments retransmited6 bad segments received.2578 resets sentUdp:20846 packets received1730 packets to unknown port received.0 packet receive errors19242 packets sentUdpLite:TcpExt:71 invalid SYN cookies received8 resets received for embryonic SYN_RECV sockets142 packets pruned from receive queue because of socket buffer overrun2109 TCP sockets finished time wait in fast timer84 packets rejects in established connections because of timestamp19454 delayed acks sent6 delayed acks further delayed because of locked socketQuick ack mode was activated 7306 times1 packets directly queued to recvmsg prequeue.1 bytes directly received in process context from prequeue823921 packet headers predicted24412 acknowledgments not containing data payload received10150 predicted acknowledgments242 times recovered from packet loss by selective acknowledgements33 congestion windows recovered without slow start by DSACK335 congestion windows recovered without slow start after partial ack336 TCP data loss eventsTCPLostRetransmit:351 timeouts after reno fast retransmit156 timeouts after SACK recovery116 timeouts in loss state461 fast retransmits5 forward retransmits608 retransmits in slow start2073 other TCP timeouts62 SACK retransmits failed43074 packets collapsed in receive queue due to low socket buffer8499DSACKs sent for old packets101DSACKs sent forout of order packets308DSACKs received9DSACKsforout of order packets received427 connections reset due to unexpected data122 connections reset due to early user close28 connections aborted due to timeoutTCPDSACKIgnoredOld:3TCPDSACKIgnoredNoUndo:60TCPSpuriousRTOs:4TCPSackShifted:282TCPSackMerged:740TCPSackShiftFallback:1017IpExt:InMcastPkts:47OutMcastPkts:51InBcastPkts:1InOctets:1341508973OutOctets:72525352InMcastOctets:8649OutMcastOctets:7519InBcastOctets:328# ifconfig # /sbin/ifconfig# ifconfig eth0eth0 Link encap:EthernetHWaddr b8:ac:6f:65:31:e5inet addr:192.168.1.5Bcast:192.168.1.255Mask:255.255.255.0inet6 addr: fe80::baac:6fff:fe65:31e5/64Scope:LinkUP BROADCAST RUNNING MULTICAST MTU:1500Metric:1RX packets:966334 errors:0 dropped:0 overruns:0 frame:0TX packets:703297 errors:0 dropped:0 overruns:0 carrier:0collisions:0 txqueuelen:1000RX bytes:1186255648(1.1GiB) TX bytes:73968238(70.5MiB)Interrupt:17lo Link encap:LocalLoopbackinet addr:127.0.0.1Mask:255.0.0.0inet6 addr:::1/128Scope:HostUP LOOPBACK RUNNING MTU:16436Metric:1RX packets:9666 errors:0 dropped:0 overruns:0 frame:0TX packets:9666 errors:0 dropped:0 overruns:0 carrier:0collisions:0 txqueuelen:0RX bytes:1399578(1.3MiB) TX bytes:1399578(1.3MiB)ppp0 Link encap:Point-to-PointProtocolinet addr:10.1.11.70 P-t-P:10.0.31.18Mask:255.255.255.255UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1496Metric:1RX packets:3784 errors:0 dropped:0 overruns:0 frame:0TX packets:4177 errors:0 dropped:0 overruns:0 carrier:0collisions:0 txqueuelen:3RX bytes:2400265(2.2MiB) TX bytes:275983(269.5KiB)# ip -s link1: lo: mtu 16436 qdisc noqueue state UNKNOWNlink/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00RX: bytes packets errors dropped overrun mcast144418799600000TX: bytes packets errors dropped carrier collsns1444187996000002: eth0: mtu 1500 qdisc mq state UP qlen 1000link/ether b8:ac:6f:65:31:e5 brd ff:ff:ff:ff:ff:ffRX: bytes packets errors dropped overrun mcast122195648399150100024TX: bytes packets errors dropped carrier collsns7562393772027200003: wlan0: mtu 1500 qdisc noop state DOWN qlen 1000link/ether 00:21:6a:ca:9b:10 brd ff:ff:ff:ff:ff:ffRX: bytes packets errors dropped overrun mcast000000TX: bytes packets errors dropped carrier collsns0000004: pan0: mtu 1500 qdisc noop state DOWNlink/ether 4a:c7:5f:0e:8e:d8 brd ff:ff:ff:ff:ff:ffRX: bytes packets errors dropped overrun mcast000000TX: bytes packets errors dropped carrier collsns0000008: ppp0: mtu 1496 qdisc pfifo_fast state UNKNOWN qlen 3link/pppRX: bytes packets errors dropped overrun mcast241988138480000TX: bytes packets errors dropped carrier collsns28415142870000sar -n DEVLinux2.6.32-220.2.1.el6.x86_64 (www.cyberciti.biz)Tuesday13March2012 _x86_64_ (2 CPU)12:00:01 CDT IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s12:10:01 CDT lo 0.000.000.000.000.000.000.0012:10:01 CDT eth0 127.13121.3295.4518.340.000.000.0012:10:01 CDT eth1 98.48110.6216.7296.330.000.000.0012:20:01 CDT lo 0.000.000.000.000.000.000.0012:20:01 CDT eth0 139.95133.41106.3019.950.000.000.0012:20:01 CDT eth1 110.65121.8518.14107.130.000.000.0012:30:01 CDT lo 0.000.000.000.000.000.000.0012:30:01 CDT eth0 147.85132.49115.7820.450.000.000.0012:30:01 CDT eth1 111.88127.3918.61117.650.000.000.0012:40:01 CDT lo 0.000.000.000.000.000.000.0012:40:01 CDT eth0 136.75124.64105.2419.480.000.000.0012:40:01 CDT eth1 101.65115.3217.58104.500.000.000.0012:50:01 CDT lo 0.000.000.000.000.000.000.0012:50:01 CDT eth0 131.45125.6996.4919.580.000.000.0012:50:01 CDT eth1 101.41111.3117.5496.780.000.000.0001:00:01 CDT lo 0.000.000.000.000.000.000.0001:00:01 CDT eth0 140.30133.27102.1720.750.000.000.0001:00:01 CDT eth1 106.90119.5118.53103.090.000.000.0001:10:01 CDT lo 0.000.000.000.000.000.000.0001:10:01 CDT eth0 152.03127.74125.5619.850.000.000.0001:10:01 CDT eth1 115.60134.5718.73126.960.000.000.0001:20:01 CDT lo 0.000.000.000.000.000.000.0001:20:01 CDT eth0 138.55130.55103.0320.200.000.000.00.............01:00:01 CDT eth1 156.82169.4828.83138.490.000.000.0001:10:01 CDT lo 0.000.000.000.000.000.000.0001:10:01 CDT eth0 215.19194.82163.1130.990.000.000.0001:10:01 CDT eth1 162.49183.7928.36163.700.000.000.0001:20:01 CDT lo 0.000.000.000.000.000.000.0001:20:01 CDT eth0 200.20192.23140.6430.930.000.000.0001:20:01 CDT eth1 153.60166.9627.32140.260.000.000.0001:30:01 CDT lo 0.000.000.000.000.000.000.0001:30:01 CDT eth0 111.98103.5879.1216.520.000.000.4801:30:01 CDT eth1 87.5095.5814.7479.350.000.000.00Average: IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/sAverage: lo 0.000.000.000.000.000.000.00Average: eth0 211.21196.20156.1831.200.000.000.01Average: eth1 159.10174.5228.00149.950.000.000.00# sar -n DEV 1 3Linux2.6.32-220.2.1.el6.x86_64 (www.cyberciti.biz)Tuesday13March2012 _x86_64_ (2 CPU)01:44:03 CDT IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s01:44:04 CDT lo 0.000.000.000.000.000.000.0001:44:04 CDT eth0 161.70154.26105.2026.630.000.000.0001:44:04 CDT eth1 145.74142.5525.11144.940.000.000.0001:44:04 CDT IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s01:44:05 CDT lo 0.000.000.000.000.000.000.0001:44:05 CDT eth0 162.14156.31107.4642.180.000.000.0001:44:05 CDT eth1 135.92138.8339.38104.920.000.000.0001:44:05 CDT IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s01:44:06 CDT lo 0.000.000.000.000.000.000.0001:44:06 CDT eth0 303.92293.14272.9137.400.000.000.0001:44:06 CDT eth1 252.94290.2034.87263.500.000.000.00Average: IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/sAverage: lo 0.000.000.000.000.000.000.00Average: eth0 210.37202.34163.1935.660.000.000.00Average: eth1 178.93191.6433.36171.600.000.000.00