]> git.ipfire.org Git - thirdparty/iproute2.git/commit
Filter class output by classid
authorDenys Fedoryshchenko <denys@visp.net.lb>
Tue, 26 May 2009 22:20:26 +0000 (15:20 -0700)
committerStephen Hemminger <stephen.hemminger@vyatta.com>
Tue, 26 May 2009 22:20:26 +0000 (15:20 -0700)
commitf4a8b23d39813b5f839b9bd6ba780544fa803428
tree8ee8b065af3966eea63702f46bdd8db75ea43bef
parentcb2eb9997a0292a144968d117f4d831c155ca71d
Filter class output by classid

Sometimes while dividing bandwidth by classes it is useful to see how some
specific class doing things live.

Which my simple patch it is possible to do
watch -n1 "tc -s -d class show dev eth0.2022 classid 1:1520"
and to get live statistics, how packets queued or dropped, and how much
bandwidth used (if estimator defined) for specific class.

Signed-off-by: Denys Fedoryshchenko <denys@visp.net.lb>
tc/tc_class.c