Traffic Control中的HTB问题?
我通过HTB来在端口上实现流量控制,但输出信息中的几个字段含义不太清楚,请高手指点。
下面信息中的lended、borrowed、giants各代表什么?
[root@linuxrouter rc.d]# /sbin/tc -s class list dev eth1
class htb 1:11 parent 1:1 leaf 11: prio 0 rate 1Mbit ceil 2Mbit burst 2909b cburst 4220b
Sent 376650351 bytes 353253 pkts (dropped 0, overlimits 0)
rate 39221bps 33pps
lended: 352961 borrowed: 292 giants: 0
tokens: 17588 ctokens: 12890
class htb 1:1 root rate 2Mbit ceil 2Mbit burst 4220b cburst 4220b
Sent 438329007 bytes 422695 pkts (dropped 0, overlimits 0)
rate 54625bps 49pps
lended: 301 borrowed: 0 giants: 0
tokens: 12890 ctokens: 12890
class htb 1:10 parent 1:1 leaf 10: prio 0 rate 1Mbit ceil 2Mbit burst 2909b cburst 4220b
Sent 61678656 bytes 69442 pkts (dropped 0, overlimits 0)
rate 15430bps 16pps
lended: 69433 borrowed: 9 giants: 0
tokens: 9588 ctokens: 8890