【Linux】网络优化

基础概念

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 
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值