在 CentOS 里提到 dropped,通常指 网络丢包(packet drop),也可能是 连接丢弃(TCP / socket dropped)。下面按常见场景给你说明怎么查。
ip 命令ip -s link
重点关注:
RX: dropsTX: drops示例:
RX: bytes packets errors dropped overrun mcast
100000 1200 0 5 0 0
dropped > 0 表示有丢包。
ifconfig(老方式)ifconfig
看对应网卡:
RX packets 1200 bytes 100000 (100.0 KiB)
RX errors 0 dropped 5 overruns 0 frame 0
ethtool查看网卡层和驱动层丢包:
ethtool -S eth0
关注:
rx_droppedtx_droppedrx_missed_errorscat /proc/net/dev
每一列含义:
errorsdroppednetstatnetstat -s | grep -i drop
常见:
TCP: droplisten queue dropsssss -s
看 TCP: orphaned 或 tw 数量是否异常。
dmesg | grep -i drop
journalctl -k | grep -i drop
可能看到:
iptables -L -v -n
看 DROP 计数。
firewall-cmd --list-all
free -h
top
以及:
cat /proc/net/softnet_stat
第 2 列表示 softirq 丢包。
如果你能告诉我:
我可以给你更精准的排查命令。