https://access.redhat.com/solutions/1293784
SOLUTION UNVERIFIED - 已更新 2015年一月15日06:32 -
环境
- Red Hat Enterprise Linux (RHEL) 6
问题
- What is the current length of the NIC queue?
- How do I get the current depth of the 3 queues that make up the pfifo_fast qdisc?
决议
The pfifo_fast qdisc, among others, is actually determined by the txqueuelength depth seen in ethtool:
# ifconfig eth0
collisions:0 txqueuelen:1000
Or look in /sys for the tx_queue_len value:
# cat /sys/class/net/eth0/tx_queue_len
1000
The tc command will show additional qdisc stats:
# tc -s -d qdisc show

本文介绍如何在Red Hat Enterprise Linux 6中检查当前的网络接口控制器(NIC)队列长度。通过使用ifconfig和ethtool命令,以及查看/sys/class/net目录下的文件,可以获取pfifo_fast和其他qdisc的队列深度信息。
9845

被折叠的 条评论
为什么被折叠?



