0x800705b4怎么解决 0x80070570( 七 )


tcp00 localhost:51266localhost:2379ESTABLISHED
tcp00 localhost:51482localhost:2379ESTABLISHED
tcp00 localhost:2379localhost:52920ESTABLISHED
tcp00 localhost:2379localhost:tracerouteESTABLISHED
选项 说明 -p 给出打开每个被显示套接字的PID/程序名 -c 每秒持续更新显示信息 –interfaces= 显示指定接口的网络统计信息 -statistics/ -s IP/UDP/ICMP/TCP统计信息 –tcp / -t 仅显示TCP套接字相关信息 –udp / -u 仅显示UDP套接字相关信息 -raw / -w 仅显示RAW套接字相关信息(IP和ICMP)
┌──[root@vms81.liruilongs.github.io]-[~/ansible]
└─$netstat -p| sed -n'20,30p'
tcp00 localhost:2379localhost:51396ESTABLISHED 2025/etcd
tcp00 localhost:2379localhost:33432ESTABLISHED 2025/etcd
tcp00 localhost:2379localhost:33392ESTABLISHED 2025/etcd
tcp00 localhost:35008localhost:9099TIME_WAIT–
tcp00 localhost:51154localhost:2379ESTABLISHED 14196/kube-apiserve
tcp00 localhost:51390localhost:2379ESTABLISHED 14196/kube-apiserve
tcp00 vms81.liruilongs.:53982 10.96.0.1:httpsESTABLISHED 108260/calico-node
tcp00 localhost:51266localhost:2379ESTABLISHED 14196/kube-apiserve
tcp00 localhost:51482localhost:2379ESTABLISHED 14196/kube-apiserve
tcp00 localhost:2379localhost:52920ESTABLISHED 2025/etcd
tcp00 localhost:2379localhost:tracerouteESTABLISHED 2025/etcd
然后我们看一个日常的运维脚本
function network() {
#获取网卡流量信息,接收|发送的数据流量,单位为字节(bytes)
net_monitor=$(cat /proc/net/dev | tail -n +3 | awk 'BEGIN{ print "网卡名称 入站数据流量(bytes) 出站数据流量(bytes)"} {print $1,$2,$10}' | column -t)
#获取暴露端口信息
ip_port=$(ss -ntulpa)
#本地IP地址列表
localip=$(ip a s | awk '/inet /{print $2}' )
echo -e "\\n\\033[32m################## 网络 相关 ############\\033[0m\\n"
echo -e "|本地IP地址列表:"
echo -e "\\033[31m$localip\\033[0m"
echo -e "\\033[32m————————————\\033[0m"
echo -e "|获取网卡流量信息:"
echo -e "\\033[31m$net_monitor\\033[0m"
echo -e "\\033[32m————————————\\033[0m"
echo -e "|获取暴露端口信息:"
echo -e "\\033[31m$ip_port\\033[0m"
echo -e "\\033[32m————————————\\033[0m"
}

0x800705b4怎么解决 0x80070570


输出截图
优化网络IO使用情况
当知道网络发生了问题时,Linux提供了一组工具来确定哪些应用程序涉及其中 。但是,在与外部机器连接时,对网络问题的修复就不完全由你控制了 。
0x800705b4怎么解决 0x80070570


网络设备发送/接收量接近理论极限了吗?
要做的第一件事就是用ethtool来确定每个Ethernet设备设置的硬件速度是多少 。通过下面的配置文件我们可以看到,设置当前网卡带宽为1000Mb/s
┌──[root@vms81.liruilongs.github.io]-[~/ansible]
└─$ethtool ens32
Settings for ens32:
Supported ports: [ TP ]
Supported link modes:10baseT/Half 10baseT/Full
100baseT/Half 100baseT/Full
1000baseT/Full
Supported pause frame use: No
Supports auto-negotiation: Yes
Advertised link modes:10baseT/Half 10baseT/Full
100baseT/Half 100baseT/Full
1000baseT/Full
Advertised pause frame use: No
Advertised auto-negotiation: Yes
Speed: 1000Mb/s
Duplex: Full
Port: Twisted Pair
PHYAD: 0

推荐阅读