Skip to contentSkip to conversation

commands to see Entire Configuration

LARTC rajesh revuru 3 participants 5 messages Jan 28, 2002

lore
Share & tools
lore
#0 lore raw

Hi all,

This may sound strange, but i have a question..

is there any commands which we can use to see the entire TC configurations..

iam new to this TC ,

thanks,

Rajesh

Rajesh Revuru,
Res:105 smith lane,#33,
Syracuse-NY 13210.
Ph.315-422-8908(R)
Ph.315-443-9120(O)

---------------------------------
Do You Yahoo!?
Yahoo! Auctions Great stuff seeking new owners! Bid now!

#1 lore raw
Quoted 5 lines · rajesh revuru

Hi all,

This may sound strange, but i have a question..

is there any commands which we can use to see the entire TC configurations..

tc qdisc show dev eth0
tc class show dev eth0

You can add couple command line options to those so that they
show more information, but you'll have to find them from the tc manpage :)

                -j

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

#2 lore raw
In reply to rajesh revuru

hi..all,
is there any method to measure the bandwidth allocation after setting the configuration with commands, thanks,
Rajesh

Quoted 5 lines · Jaakko Niemi <[email protected]> wrote: rajesh revuru writes:

Hi all,

This may sound strange, but i have a question..

is there any commands which we can use to see the entire TC configurations..

tc qdisc show dev eth0
tc class show dev eth0

You can add couple command line options to those so that they show more information, but you'll have to find them from the tc manpage :)

-j

Rajesh Revuru,
Res:105 smith lane,#33,
Syracuse-NY 13210.
Ph.315-422-8908(R)
Ph.315-443-9120(O)

---------------------------------
Do You Yahoo!?
Yahoo! Auctions Great stuff seeking new owners! Bid now!

#3 lore raw
In reply to rajesh revuru
Quoted 3 lines · rajesh revuru

hi..all,
is there any method to measure the bandwidth allocation after setting the configuration with commands, thanks,

I have a perl script that reads the iptables byte counters (but you can adapt it to use the output of tc) and calculates the bandwith. Can be found on www.docum.org and the script is called monitor.pl

Stef

Signature · 7 lines
[email protected]
 More QOS info : http://www.docum.org/
 Title : "Using Linux as bandwidth manager"
     
_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://ds9a.nl/lartc/