基础概念
MTU:最大传输单元
性能优化
⑴netstat
查看协议栈信息
[work(caibin)@tjtx145-93-90 /]$ netstat -s
Ip:
12832996037 total packets received
0 forwarded
0 incoming packets discarded
12832996037 incoming packets delivered
12929080745 requests sent out
54971 fragments received ok
117666 fragments created
Icmp:
25 ICMP messages received
0 input ICMP message failed.
ICMP input histogram:
destination unreachable: 17
echo requests: 6
echo replies: 2
157 ICMP messages sent
0 ICMP messages failed
ICMP output histogram:
destination unreachable: 148
echo request: 3
echo replies: 6
IcmpMsg:
InType0: 2
InType3: 17
InType8: 6
OutType0: 6
OutType3: 148
OutType8: 3
Tcp:
11848725 active connections openings
56357037 passive connection openings
240047 failed connection attempts
13122 connection resets received
705 connections established
12832633941 segments received
12916779456 segments send out
1186477 segments retransmited
38 bad segments received.
132307 resets sent
Udp:
361868 packets received
148 packets to unknown port received.
0 packet receive errors
19970978 packets sent
UdpLite:
TcpExt:
240047 resets received for embryonic SYN_RECV sockets
26597914 TCP sockets finished time wait in fast timer
1070989 time