Hi, >Hi All > >Is there any output that counts the number of dropped bytes >(not packets) just as in "Sent" in "tc -s class" output? No. A simple workaround (for simple configurations) consists of redirecting all the traffic you want to drop to a dedicated class and attach a blackhole qdisc (i.e., drop everything) to it. Supposing you redirect to class 1:12 all the traffic that is to be dropped, all you need is: tc qdisc add dev eth1 parent 1:12 handle 12: blackhole The counters of class 1:12 are what you are looking for: class htb 1:12 parent 1:1 leaf 12: prio 0 quantum 1600 rate 128000bit ceil 128000bit burst 1664b/8 mpu 0b overhead 0b cburst 1664b/8 mpu 0b overhead 0b level 0 Sent 2352 bytes 24 pkt (dropped 0, overlimits 0 requeues 0) ^^^^^^^^^^^^^^^^^^^^^^ qdisc blackhole 12: dev eth1 parent 1:12 Sent 0 bytes 0 pkt (dropped 24, overlimits 0 requeues 0) ^^^^^^^^^^ >I have an HTB arrangement here I can see "dropped" in father/mother 1:0 qdisc >but NOT in each class (they are all zeroes). >These dropped are packets or bytes? Number of packets. >Why these "drops" do not show thenselves in its own class(es) under its >qdisc? > >Any patch perhaps?? >Regards Regards /Christian [http://benve.info] _______________________________________________ LARTC mailing list LARTC@xxxxxxxxxxxxxxx http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc