12. FAQ
如何定位丢包问题
如何知道哪个网卡在丢包:
netstat -i如何知道什么时候丢包:
perf record -g -a -e skb:kfree_skb
如何查看Linux系统的带宽流量
按网卡查看流量:
ifstat、dstat -nf或sar -n DEV 1 2按进程查看流量:
nethogs按连接查看流量:
iptraf、iftop或tcptrack查看流量最大的进程:
sysdig -c topprocs_net查看流量最大的端口:
sysdig -c topports_server查看连接最多的服务器端口:
sysdig -c fdbytes_by fd.sport
参考文档
最后更新于