Skip to contentSkip to conversation

Output of tc -s -d qdisc

LARTC Alex Leyva 2 participants 3 messages Dec 19, 2001

lore
Share & tools
lore

Alex Leyva

author
#0 lore raw

Hi, im using tc with cbq and tbf, i dont know how to interpret the output from tc -s -d qdisc, i get something like:

qdisc tbf 8109: dev eth0 rate 6Kbit burst 10Kb/8 mpu 64b [00a6aaaa] limit 1Kb lat 4280.3s
Sent 0 bytes 0 pkts (dropped 0, overlimits 0)

i only want to know how can i know what qdisc is 8109 for example, because i have a lot of qdisc and i dont know who is who.
Thanks.

_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://ds9a.nl/lartc/

#1 lore raw
Quoted 6 lines · Alex Leyva

qdisc tbf 8109: dev eth0 rate 6Kbit burst 10Kb/8 mpu 64b [00a6aaaa] limit 1Kb lat 4280.3s
Sent 0 bytes 0 pkts (dropped 0, overlimits 0)

i only want to know how can i know what qdisc is 8109 for example, because i have a lot of qdisc and i dont know who is who.

Did you name your qdiscs yourself using "handle"? If so, these numbers should match. If not, these were assigned by the kernel and you should be assigning them yourself.

Signature · 7 lines
Michael T. Babcock
CTO, FibreSpeed Ltd.     (Hosting, Security, Consultation, Database, etc)
http://www.fibrespeed.net/~mbabcock/

_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://ds9a.nl/lartc/
author
#2 lore raw
In reply to Alex Leyva

Thanks, i only add "handle x:" to the lines and now the light came to my life :P

Quoted 5 lines · Michael T. Babcock
Quoted 4 lines · Alex Leyva

qdisc tbf 8109: dev eth0 rate 6Kbit burst 10Kb/8 mpu 64b [00a6aaaa] limit 1Kb lat 4280.3s
Sent 0 bytes 0 pkts (dropped 0, overlimits 0)

Quoted 7 lines
Quoted 2 lines

i only want to know how can i know what qdisc is 8109 for example, because i have a lot of qdisc and i dont know who is who.

Did you name your qdiscs yourself using "handle"? If so, these numbers should match. If not, these were assigned by the kernel and you should be assigning them yourself.

_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://ds9a.nl/lartc/