Thossapron Apinyapanha wrote: > after i use "tc -s -d class ls dev eth0" will show statistic data about HFSC ,like this > > root@ubuntu:/home/shaper# tc -s -d class ls dev eth2 > class hfsc 1: root > Sent 0 bytes 0 pkts (dropped 0, overlimits 0) > period 24 work 13844792199226589188 bytes rtwork 20937281664 bytes level 3461036864 > class hfsc 1:11 parent 1:1 sc m1 30720Kbit d 10.0ms m2 30000bit ul m1 0bit d 0us m2 300000bit > Sent 332564 bytes 235 pkts (dropped 0, overlimits 0) > period 24 work 13844792199226589188 bytes rtwork 20937281664 bytes level 3461036864 > class hfsc 1:1 parent 1: sc m1 0bit d 0us m2 10000bit ul m1 0bit d 0us m2 10000Kbit > Sent 0 bytes 0 pkts (dropped 0, overlimits 0) > period 24 work 13844792199226589188 bytes rtwork 20937281664 bytes level 3461036864 > class hfsc 1:13 parent 1:1 ls m1 0bit d 0us m2 350000bit ul m1 0bit d 0us m2 500000bit > Sent 84 bytes 2 pkts (dropped 0, overlimits 0) > period 24 work 13844792199226589188 bytes rtwork 20937281664 bytes level 3461036864 > class hfsc 1:12 parent 1:1 ls m1 0bit d 0us m2 100000bit ul m1 0bit d 0us m2 300000bit > Sent 0 bytes 0 pkts (dropped 0, overlimits 0) > period 24 work 13844792199226589188 bytes rtwork 20937281664 bytes level 3461036864 > root@ubuntu:/home/shaper# tc -s -d qdisc ls dev eth2 > qdisc hfsc 1: default 13 > Sent 332648 bytes 237 pkts (dropped 0, overlimits 382) > root@ubuntu:/home/shaper# > > but i'm doubt what is each field mean ?? such period, work ,rtwork > and what field are same like "rate" in HTB statistic command You're using a broken version of iproute (well, actually the kernel is broken, but a new iproute fixes it). The statistics mean: period: number of times the class went to active state (no packets queued -> packets queued) work: number of bytes handled by real-time and link-sharing criteria rtwork: number of bytes handled by real-time criterion level: level in the class hierarchy When using only linear service curves "m2" is the equivalent to rate. _______________________________________________ LARTC mailing list LARTC@xxxxxxxxxxxxxxx http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc