tc: Show classes more hierarchically]
Subsystems (2)
Hi All,
I am playing with showing classes in more hierarchically format and I have some code and example of output from my TC looks like:
# tc/tc -t class show dev tap0
\---1:2 (htb) prio 0 rate 1Kbit ceil 6Mbit burst 15Kb cburst 1599b
\---1:40 (htb) prio 0 rate 1Kbit ceil 6Mbit burst 15Kb cburst 1599b
\---1:50 (htb) prio 0 rate 1Kbit ceil 6Mbit burst 15Kb cburst 1599b
\---1:60 (htb) prio 0 rate 1Kbit ceil 6Mbit burst 15Kb cburst 1599b
\---1:1 (htb) prio 0 rate 1Kbit ceil 6Mbit burst 15Kb cburst 1599b
\---1:10 (htb) prio 0 rate 1Kbit ceil 6Mbit burst 15Kb cburst 1599b
\---1:11 (htb) prio 0 rate 1Kbit ceil 6Mbit burst 15Kb cburst 1599b
\---1:111 (htb) prio 0 rate 1Kbit ceil 6Mbit burst 15Kb cburst 1599b
\---1:20 (htb) prio 0 rate 1Kbit ceil 6Mbit burst 15Kb cburst 1599b
\---1:30 (htb) prio 0 rate 1Kbit ceil 6Mbit burst 15Kb cburst 1599b which in standart output mode it looks like:
# tc/tc class show dev tap0
class htb 1:11 parent 1:10 rate 3Mbit ceil 6Mbit burst 15Kb cburst 1599b class htb 1:111 parent 1:11 prio 0 rate 1Kbit ceil 6Mbit burst 15Kb cburst 1599b class htb 1:10 parent 1:1 rate 5Mbit ceil 5Mbit burst 15Kb cburst 1600b class htb 1:1 root rate 6Mbit ceil 6Mbit burst 15Kb cburst 1599b
class htb 1:20 parent 1:1 leaf 20: prio 0 rate 3Mbit ceil 6Mbit burst 15Kb cburst 1599b class htb 1:2 root rate 6Mbit ceil 6Mbit burst 15Kb cburst 1599b
class htb 1:30 parent 1:1 leaf 30: prio 0 rate 1Kbit ceil 6Mbit burst 15Kb cburst 1599b class htb 1:40 parent 1:2 leaf 40: prio 0 rate 5Mbit ceil 5Mbit burst 15Kb cburst 1600b class htb 1:50 parent 1:2 leaf 50: prio 0 rate 3Mbit ceil 6Mbit burst 15Kb cburst 1599b class htb 1:60 parent 1:2 leaf 60: prio 0 rate 1Kbit ceil 6Mbit burst 15Kb cburst 1599b
So I'd like to ask if it might be useful for the TC users (may be better format ?) to have this ?
Thanks,
Quoted 20 lines · On Tue, 2014-12-16 at 00:48 +0200, [email protected] wrote:
Hi All,
I am playing with showing classes in more hierarchically format and I have some code and example of output from my TC looks like:
# tc/tc -t class show dev tap0\---1:2 (htb) prio 0 rate 1Kbit ceil 6Mbit burst 15Kb cburst 1599b
\---1:40 (htb) prio 0 rate 1Kbit ceil 6Mbit burst 15Kb cburst 1599b \---1:50 (htb) prio 0 rate 1Kbit ceil 6Mbit burst 15Kb cburst 1599b \---1:60 (htb) prio 0 rate 1Kbit ceil 6Mbit burst 15Kb cburst 1599b \---1:1 (htb) prio 0 rate 1Kbit ceil 6Mbit burst 15Kb cburst 1599b \---1:10 (htb) prio 0 rate 1Kbit ceil 6Mbit burst 15Kb cburst 1599b \---1:11 (htb) prio 0 rate 1Kbit ceil 6Mbit burst 15Kb cburst 1599b \---1:111 (htb) prio 0 rate 1Kbit ceil 6Mbit burst 15Kb cburst 1599b \---1:20 (htb) prio 0 rate 1Kbit ceil 6Mbit burst 15Kb cburst 1599b \---1:30 (htb) prio 0 rate 1Kbit ceil 6Mbit burst 15Kb cburst 1599b
Quoted 2 lines
So I'd like to ask if it might be useful for the TC users (may be better format ?) to have this ?
Sure, this seems interesting, thanks !
Quoted 34 lines · On 15-12-2014 20:48, [email protected] wrote:
Hi All,
I am playing with showing classes in more hierarchically format and I have some code and example of output from my TC looks like:
# tc/tc -t class show dev tap0\---1:2 (htb) prio 0 rate 1Kbit ceil 6Mbit burst 15Kb cburst 1599b
\---1:40 (htb) prio 0 rate 1Kbit ceil 6Mbit burst 15Kb cburst 1599b \---1:50 (htb) prio 0 rate 1Kbit ceil 6Mbit burst 15Kb cburst 1599b \---1:60 (htb) prio 0 rate 1Kbit ceil 6Mbit burst 15Kb cburst 1599b \---1:1 (htb) prio 0 rate 1Kbit ceil 6Mbit burst 15Kb cburst 1599b \---1:10 (htb) prio 0 rate 1Kbit ceil 6Mbit burst 15Kb cburst 1599b \---1:11 (htb) prio 0 rate 1Kbit ceil 6Mbit burst 15Kb cburst 1599b \---1:111 (htb) prio 0 rate 1Kbit ceil 6Mbit burst 15Kb cburst 1599b \---1:20 (htb) prio 0 rate 1Kbit ceil 6Mbit burst 15Kb cburst 1599b \---1:30 (htb) prio 0 rate 1Kbit ceil 6Mbit burst 15Kb cburst 1599bwhich in standart output mode it looks like:
# tc/tc class show dev tap0class htb 1:11 parent 1:10 rate 3Mbit ceil 6Mbit burst 15Kb cburst 1599b class htb 1:111 parent 1:11 prio 0 rate 1Kbit ceil 6Mbit burst 15Kb cburst 1599b class htb 1:10 parent 1:1 rate 5Mbit ceil 5Mbit burst 15Kb cburst 1600b class htb 1:1 root rate 6Mbit ceil 6Mbit burst 15Kb cburst 1599b
class htb 1:20 parent 1:1 leaf 20: prio 0 rate 3Mbit ceil 6Mbit burst 15Kb cburst 1599b class htb 1:2 root rate 6Mbit ceil 6Mbit burst 15Kb cburst 1599b
class htb 1:30 parent 1:1 leaf 30: prio 0 rate 1Kbit ceil 6Mbit burst 15Kb cburst 1599b class htb 1:40 parent 1:2 leaf 40: prio 0 rate 5Mbit ceil 5Mbit burst 15Kb cburst 1600b class htb 1:50 parent 1:2 leaf 50: prio 0 rate 3Mbit ceil 6Mbit burst 15Kb cburst 1599b class htb 1:60 parent 1:2 leaf 60: prio 0 rate 1Kbit ceil 6Mbit burst 15Kb cburst 1599b
Quoted 2 lines
So I'd like to ask if it might be useful for the TC users (may be better format ?) to have this ?
Good idea! It already looks good, but what about:
|-- 1:2 (htb) prio 0 rate 1Kbit ceil 6Mbit burst 15Kb cburst 1599b | |-- 1:40 (htb) prio 0 rate 1Kbit ceil 6Mbit burst 15Kb cburst 1599b | |-- 1:50 (htb) prio 0 rate 1Kbit ceil 6Mbit burst 15Kb cburst 1599b | '-- 1:60 (htb) prio 0 rate 1Kbit ceil 6Mbit burst 15Kb cburst 1599b |-- 1:1 (htb) prio 0 rate 1Kbit ceil 6Mbit burst 15Kb cburst 1599b
...
just another idea..
Thanks.
Marcelo
Quoted 45 lines · On Tue, 16 Dec 2014 16:12:41 -0200 Marcelo Ricardo Leitner…
Quoted 34 lines · On 15-12-2014 20:48, [email protected] wrote:
Hi All,
I am playing with showing classes in more hierarchically format and I have some code and example of output from my TC looks like:
# tc/tc -t class show dev tap0\---1:2 (htb) prio 0 rate 1Kbit ceil 6Mbit burst 15Kb cburst 1599b
\---1:40 (htb) prio 0 rate 1Kbit ceil 6Mbit burst 15Kb cburst 1599b \---1:50 (htb) prio 0 rate 1Kbit ceil 6Mbit burst 15Kb cburst 1599b \---1:60 (htb) prio 0 rate 1Kbit ceil 6Mbit burst 15Kb cburst 1599b \---1:1 (htb) prio 0 rate 1Kbit ceil 6Mbit burst 15Kb cburst 1599b \---1:10 (htb) prio 0 rate 1Kbit ceil 6Mbit burst 15Kb cburst 1599b \---1:11 (htb) prio 0 rate 1Kbit ceil 6Mbit burst 15Kb cburst 1599b \---1:111 (htb) prio 0 rate 1Kbit ceil 6Mbit burst 15Kb cburst 1599b \---1:20 (htb) prio 0 rate 1Kbit ceil 6Mbit burst 15Kb cburst 1599b \---1:30 (htb) prio 0 rate 1Kbit ceil 6Mbit burst 15Kb cburst 1599bwhich in standart output mode it looks like:
# tc/tc class show dev tap0class htb 1:11 parent 1:10 rate 3Mbit ceil 6Mbit burst 15Kb cburst 1599b class htb 1:111 parent 1:11 prio 0 rate 1Kbit ceil 6Mbit burst 15Kb cburst 1599b class htb 1:10 parent 1:1 rate 5Mbit ceil 5Mbit burst 15Kb cburst 1600b class htb 1:1 root rate 6Mbit ceil 6Mbit burst 15Kb cburst 1599b
class htb 1:20 parent 1:1 leaf 20: prio 0 rate 3Mbit ceil 6Mbit burst 15Kb cburst 1599b class htb 1:2 root rate 6Mbit ceil 6Mbit burst 15Kb cburst 1599b
class htb 1:30 parent 1:1 leaf 30: prio 0 rate 1Kbit ceil 6Mbit burst 15Kb cburst 1599b class htb 1:40 parent 1:2 leaf 40: prio 0 rate 5Mbit ceil 5Mbit burst 15Kb cburst 1600b class htb 1:50 parent 1:2 leaf 50: prio 0 rate 3Mbit ceil 6Mbit burst 15Kb cburst 1599b class htb 1:60 parent 1:2 leaf 60: prio 0 rate 1Kbit ceil 6Mbit burst 15Kb cburst 1599bQuoted 2 lines
So I'd like to ask if it might be useful for the TC users (may be better format ?) to have this ?
Good idea! It already looks good, but what about:
|-- 1:2 (htb) prio 0 rate 1Kbit ceil 6Mbit burst 15Kb cburst 1599b | |-- 1:40 (htb) prio 0 rate 1Kbit ceil 6Mbit burst 15Kb cburst 1599b | |-- 1:50 (htb) prio 0 rate 1Kbit ceil 6Mbit burst 15Kb cburst 1599b | '-- 1:60 (htb) prio 0 rate 1Kbit ceil 6Mbit burst 15Kb cburst 1599b |-- 1:1 (htb) prio 0 rate 1Kbit ceil 6Mbit burst 15Kb cburst 1599b
Quoted 6 lines
...
just another idea..
Thanks.
Marcelo
There are several places that also print tree format, hopefully there would be reusable code (lspci, tree, ps).
Quoted 50 lines · Stephen Hemminger
Quoted 47 lines · On Tue, 16 Dec 2014 16:12:41 -0200 Marcelo Ricardo Leitner…
Quoted 34 lines · On 15-12-2014 20:48, [email protected] wrote:
Hi All,
I am playing with showing classes in more hierarchically format and I have some code and example of output from my TC looks like:
# tc/tc -t class show dev tap0\---1:2 (htb) prio 0 rate 1Kbit ceil 6Mbit burst 15Kb cburst 1599b
\---1:40 (htb) prio 0 rate 1Kbit ceil 6Mbit burst 15Kb cburst 1599b \---1:50 (htb) prio 0 rate 1Kbit ceil 6Mbit burst 15Kb cburst 1599b \---1:60 (htb) prio 0 rate 1Kbit ceil 6Mbit burst 15Kb cburst 1599b \---1:1 (htb) prio 0 rate 1Kbit ceil 6Mbit burst 15Kb cburst 1599b \---1:10 (htb) prio 0 rate 1Kbit ceil 6Mbit burst 15Kb cburst 1599b \---1:11 (htb) prio 0 rate 1Kbit ceil 6Mbit burst 15Kb cburst 1599b \---1:111 (htb) prio 0 rate 1Kbit ceil 6Mbit burst 15Kb cburst 1599b \---1:20 (htb) prio 0 rate 1Kbit ceil 6Mbit burst 15Kb cburst 1599b \---1:30 (htb) prio 0 rate 1Kbit ceil 6Mbit burst 15Kb cburst 1599bwhich in standart output mode it looks like:
# tc/tc class show dev tap0class htb 1:11 parent 1:10 rate 3Mbit ceil 6Mbit burst 15Kb cburst 1599b class htb 1:111 parent 1:11 prio 0 rate 1Kbit ceil 6Mbit burst 15Kb cburst 1599b class htb 1:10 parent 1:1 rate 5Mbit ceil 5Mbit burst 15Kb cburst 1600b class htb 1:1 root rate 6Mbit ceil 6Mbit burst 15Kb cburst 1599b
class htb 1:20 parent 1:1 leaf 20: prio 0 rate 3Mbit ceil 6Mbit burst 15Kb cburst 1599b class htb 1:2 root rate 6Mbit ceil 6Mbit burst 15Kb cburst 1599b
class htb 1:30 parent 1:1 leaf 30: prio 0 rate 1Kbit ceil 6Mbit burst 15Kb cburst 1599b class htb 1:40 parent 1:2 leaf 40: prio 0 rate 5Mbit ceil 5Mbit burst 15Kb cburst 1600b class htb 1:50 parent 1:2 leaf 50: prio 0 rate 3Mbit ceil 6Mbit burst 15Kb cburst 1599b class htb 1:60 parent 1:2 leaf 60: prio 0 rate 1Kbit ceil 6Mbit burst 15Kb cburst 1599bQuoted 2 lines
So I'd like to ask if it might be useful for the TC users (may be better format ?) to have this ?
Good idea! It already looks good, but what about:
|-- 1:2 (htb) prio 0 rate 1Kbit ceil 6Mbit burst 15Kb cburst 1599b | |-- 1:40 (htb) prio 0 rate 1Kbit ceil 6Mbit burst 15Kb cburst 1599b | |-- 1:50 (htb) prio 0 rate 1Kbit ceil 6Mbit burst 15Kb cburst 1599b | '-- 1:60 (htb) prio 0 rate 1Kbit ceil 6Mbit burst 15Kb cburst 1599b |-- 1:1 (htb) prio 0 rate 1Kbit ceil 6Mbit burst 15Kb cburst 1599b...
Quoted 8 lines
Quoted 4 lines
just another idea..
Thanks.
MarceloThere are several places that also print tree format, hopefully there would be reusable code (lspci, tree, ps).
OK, currently I have the following output:
+---1:2(htb) rate 6Mbit ceil 6Mbit burst 15Kb cburst 1599b
| +---1:40(htb) prio 0 rate 5Mbit ceil 5Mbit burst 15Kb cburst 1600b
| +---1:50(htb) prio 0 rate 3Mbit ceil 6Mbit burst 15Kb cburst 1599b
| +---1:60(htb) prio 0 rate 1Kbit ceil 6Mbit burst 15Kb cburst 1599b
|
+---1:1(htb) rate 6Mbit ceil 6Mbit burst 15Kb cburst 1599b
+---1:10(htb) rate 5Mbit ceil 5Mbit burst 15Kb cburst 1600b
| +---1:11(htb) rate 3Mbit ceil 6Mbit burst 15Kb cburst 1599b
| | +---1:111(htb) prio 0 rate 1Kbit ceil 6Mbit burst 15Kb cburst 1599b
| | +---1:112(htb) prio 0 rate 1Kbit ceil 6Mbit burst 15Kb cburst 1599b
| |
| +---1:12(htb) prio 0 rate 1Kbit ceil 6Mbit burst 15Kb cburst 1599b
|
+---1:20(htb) prio 0 rate 3Mbit ceil 6Mbit burst 15Kb cburst 1599b
+---1:30(htb) prio 0 rate 1Kbit ceil 6Mbit burst 15Kb cburst 1599bHow about this ?
Regards,
Vadim Kochan
Quoted 78 lines · Vadim Kochan
Quoted 50 lines · Stephen Hemminger
Quoted 47 lines · On Tue, 16 Dec 2014 16:12:41 -0200 Marcelo Ricardo Leitner…
Quoted 34 lines · On 15-12-2014 20:48, [email protected] wrote:
Hi All,
I am playing with showing classes in more hierarchically format and I have some code and example of output from my TC looks like:
# tc/tc -t class show dev tap0\---1:2 (htb) prio 0 rate 1Kbit ceil 6Mbit burst 15Kb cburst 1599b \---1:40 (htb) prio 0 rate 1Kbit ceil 6Mbit burst 15Kb cburst 1599b \---1:50 (htb) prio 0 rate 1Kbit ceil 6Mbit burst 15Kb cburst 1599b \---1:60 (htb) prio 0 rate 1Kbit ceil 6Mbit burst 15Kb cburst 1599b \---1:1 (htb) prio 0 rate 1Kbit ceil 6Mbit burst 15Kb cburst 1599b \---1:10 (htb) prio 0 rate 1Kbit ceil 6Mbit burst 15Kb cburst 1599b \---1:11 (htb) prio 0 rate 1Kbit ceil 6Mbit burst 15Kb cburst 1599b \---1:111 (htb) prio 0 rate 1Kbit ceil 6Mbit burst 15Kb cburst 1599b \---1:20 (htb) prio 0 rate 1Kbit ceil 6Mbit burst 15Kb cburst 1599b \---1:30 (htb) prio 0 rate 1Kbit ceil 6Mbit burst 15Kb cburst 1599bwhich in standart output mode it looks like:
# tc/tc class show dev tap0class htb 1:11 parent 1:10 rate 3Mbit ceil 6Mbit burst 15Kb cburst 1599b class htb 1:111 parent 1:11 prio 0 rate 1Kbit ceil 6Mbit burst 15Kb cburst 1599b class htb 1:10 parent 1:1 rate 5Mbit ceil 5Mbit burst 15Kb cburst 1600b class htb 1:1 root rate 6Mbit ceil 6Mbit burst 15Kb cburst 1599b
class htb 1:20 parent 1:1 leaf 20: prio 0 rate 3Mbit ceil 6Mbit burst 15Kb cburst 1599b class htb 1:2 root rate 6Mbit ceil 6Mbit burst 15Kb cburst 1599b
class htb 1:30 parent 1:1 leaf 30: prio 0 rate 1Kbit ceil 6Mbit burst 15Kb cburst 1599b class htb 1:40 parent 1:2 leaf 40: prio 0 rate 5Mbit ceil 5Mbit burst 15Kb cburst 1600b class htb 1:50 parent 1:2 leaf 50: prio 0 rate 3Mbit ceil 6Mbit burst 15Kb cburst 1599b class htb 1:60 parent 1:2 leaf 60: prio 0 rate 1Kbit ceil 6Mbit burst 15Kb cburst 1599bQuoted 2 lines
So I'd like to ask if it might be useful for the TC users (may be better format ?) to have this ?
Good idea! It already looks good, but what about:
|-- 1:2 (htb) prio 0 rate 1Kbit ceil 6Mbit burst 15Kb cburst 1599b | |-- 1:40 (htb) prio 0 rate 1Kbit ceil 6Mbit burst 15Kb cburst 1599b | |-- 1:50 (htb) prio 0 rate 1Kbit ceil 6Mbit burst 15Kb cburst 1599b | '-- 1:60 (htb) prio 0 rate 1Kbit ceil 6Mbit burst 15Kb cburst 1599b |-- 1:1 (htb) prio 0 rate 1Kbit ceil 6Mbit burst 15Kb cburst 1599b ...Quoted 8 lines
Quoted 4 lines
just another idea..
Thanks.
MarceloThere are several places that also print tree format, hopefully there would be reusable code (lspci, tree, ps).
OK, currently I have the following output:
+---1:2(htb) rate 6Mbit ceil 6Mbit burst 15Kb cburst 1599b | +---1:40(htb) prio 0 rate 5Mbit ceil 5Mbit burst 15Kb cburst 1600b | +---1:50(htb) prio 0 rate 3Mbit ceil 6Mbit burst 15Kb cburst 1599b | +---1:60(htb) prio 0 rate 1Kbit ceil 6Mbit burst 15Kb cburst 1599b | +---1:1(htb) rate 6Mbit ceil 6Mbit burst 15Kb cburst 1599b +---1:10(htb) rate 5Mbit ceil 5Mbit burst 15Kb cburst 1600b | +---1:11(htb) rate 3Mbit ceil 6Mbit burst 15Kb cburst 1599b | | +---1:111(htb) prio 0 rate 1Kbit ceil 6Mbit burst 15Kb cburst 1599b | | +---1:112(htb) prio 0 rate 1Kbit ceil 6Mbit burst 15Kb cburst 1599b | | | +---1:12(htb) prio 0 rate 1Kbit ceil 6Mbit burst 15Kb cburst 1599b | +---1:20(htb) prio 0 rate 3Mbit ceil 6Mbit burst 15Kb cburst 1599b +---1:30(htb) prio 0 rate 1Kbit ceil 6Mbit burst 15Kb cburst 1599b
Quoted 1 line
How about this ?
Looks very good to me, thanks!
Quoted 3 lines
Regards,
Vadim Kochan
Quoted 79 lines · Marcelo Ricardo Leitner
Quoted 78 lines · Vadim Kochan
Quoted 50 lines · Stephen Hemminger
Quoted 47 lines · On Tue, 16 Dec 2014 16:12:41 -0200 Marcelo Ricardo Leitner…
Quoted 34 lines · On 15-12-2014 20:48, [email protected] wrote:
Hi All,
I am playing with showing classes in more hierarchically format and I have some code and example of output from my TC looks like:
# tc/tc -t class show dev tap0\---1:2 (htb) prio 0 rate 1Kbit ceil 6Mbit burst 15Kb cburst 1599b
\---1:40 (htb) prio 0 rate 1Kbit ceil 6Mbit burst 15Kb cburst 1599b \---1:50 (htb) prio 0 rate 1Kbit ceil 6Mbit burst 15Kb cburst 1599b \---1:60 (htb) prio 0 rate 1Kbit ceil 6Mbit burst 15Kb cburst 1599b \---1:1 (htb) prio 0 rate 1Kbit ceil 6Mbit burst 15Kb cburst 1599b \---1:10 (htb) prio 0 rate 1Kbit ceil 6Mbit burst 15Kb cburst 1599b \---1:11 (htb) prio 0 rate 1Kbit ceil 6Mbit burst 15Kb cburst 1599b \---1:111 (htb) prio 0 rate 1Kbit ceil 6Mbit burst 15Kb cburst 1599b \---1:20 (htb) prio 0 rate 1Kbit ceil 6Mbit burst 15Kb cburst 1599b \---1:30 (htb) prio 0 rate 1Kbit ceil 6Mbit burst 15Kb cburst 1599bwhich in standart output mode it looks like:
# tc/tc class show dev tap0class htb 1:11 parent 1:10 rate 3Mbit ceil 6Mbit burst 15Kb cburst 1599b class htb 1:111 parent 1:11 prio 0 rate 1Kbit ceil 6Mbit burst 15Kb cburst 1599b class htb 1:10 parent 1:1 rate 5Mbit ceil 5Mbit burst 15Kb cburst 1600b class htb 1:1 root rate 6Mbit ceil 6Mbit burst 15Kb cburst 1599b
class htb 1:20 parent 1:1 leaf 20: prio 0 rate 3Mbit ceil 6Mbit burst 15Kb cburst 1599b class htb 1:2 root rate 6Mbit ceil 6Mbit burst 15Kb cburst 1599b
class htb 1:30 parent 1:1 leaf 30: prio 0 rate 1Kbit ceil 6Mbit burst 15Kb cburst 1599b class htb 1:40 parent 1:2 leaf 40: prio 0 rate 5Mbit ceil 5Mbit burst 15Kb cburst 1600b class htb 1:50 parent 1:2 leaf 50: prio 0 rate 3Mbit ceil 6Mbit burst 15Kb cburst 1599b class htb 1:60 parent 1:2 leaf 60: prio 0 rate 1Kbit ceil 6Mbit burst 15Kb cburst 1599bQuoted 2 lines
So I'd like to ask if it might be useful for the TC users (may be better format ?) to have this ?
Good idea! It already looks good, but what about:
|-- 1:2 (htb) prio 0 rate 1Kbit ceil 6Mbit burst 15Kb cburst 1599b | |-- 1:40 (htb) prio 0 rate 1Kbit ceil 6Mbit burst 15Kb cburst 1599b | |-- 1:50 (htb) prio 0 rate 1Kbit ceil 6Mbit burst 15Kb cburst 1599b | '-- 1:60 (htb) prio 0 rate 1Kbit ceil 6Mbit burst 15Kb cburst 1599b |-- 1:1 (htb) prio 0 rate 1Kbit ceil 6Mbit burst 15Kb cburst 1599b...
Quoted 8 lines
Quoted 4 lines
just another idea..
Thanks.
MarceloThere are several places that also print tree format, hopefully there would be reusable code (lspci, tree, ps).
OK, currently I have the following output:
+---1:2(htb) rate 6Mbit ceil 6Mbit burst 15Kb cburst 1599b | +---1:40(htb) prio 0 rate 5Mbit ceil 5Mbit burst 15Kb cburst 1600b | +---1:50(htb) prio 0 rate 3Mbit ceil 6Mbit burst 15Kb cburst 1599b | +---1:60(htb) prio 0 rate 1Kbit ceil 6Mbit burst 15Kb cburst 1599b | +---1:1(htb) rate 6Mbit ceil 6Mbit burst 15Kb cburst 1599b +---1:10(htb) rate 5Mbit ceil 5Mbit burst 15Kb cburst 1600b | +---1:11(htb) rate 3Mbit ceil 6Mbit burst 15Kb cburst 1599b | | +---1:111(htb) prio 0 rate 1Kbit ceil 6Mbit burst 15Kb cburst 1599b | | +---1:112(htb) prio 0 rate 1Kbit ceil 6Mbit burst 15Kb cburst 1599b | | | +---1:12(htb) prio 0 rate 1Kbit ceil 6Mbit burst 15Kb cburst 1599b | +---1:20(htb) prio 0 rate 3Mbit ceil 6Mbit burst 15Kb cburst 1599b +---1:30(htb) prio 0 rate 1Kbit ceil 6Mbit burst 15Kb cburst 1599b
Quoted 8 lines
Quoted 1 line
How about this ?
Looks very good to me, thanks!
Quoted 3 lines
Regards,
Vadim Kochan
There is an exampe output of tree with stats:
+---1:2(htb) rate 6Mbit ceil 6Mbit burst 15Kb cburst 1599b
| | * Send 100 pkts ...
| | * Rate 10mbit ...
| +---1:40(htb) prio 0 rate 5Mbit ceil 5Mbit burst 15Kb cburst 1600b
| | | * Send 100 pkts ...
| | | * Rate 10mbit ...
| +---1:50(htb) prio 0 rate 3Mbit ceil 6Mbit burst 15Kb cburst 1599b
| | | * Send 100 pkts ...
| | | * Rate 10mbit ...
| +---1:60(htb) prio 0 rate 1Kbit ceil 6Mbit burst 15Kb cburst 1599b
| | * Send 100 pkts ...
| | * Rate 10mbit ...
|
+---1:1(htb) rate 6Mbit ceil 6Mbit burst 15Kb cburst 1599b
| * Send 100 pkts ...
| * Rate 10mbit ...
+---1:10(htb) rate 5Mbit ceil 5Mbit burst 15Kb cburst 1600b
| | * Send 100 pkts ...
| | * Rate 10mbit ...
| +---1:11(htb) rate 3Mbit ceil 6Mbit burst 15Kb cburst 1599b
| | | * Send 100 pkts ...
| | | * Rate 10mbit ...
| | +---1:111(htb) prio 0 rate 1Kbit ceil 6Mbit burst 15Kb cburst 1599b
| | | | * Send 100 pkts ...
| | | | * Rate 10mbit ...
| | +---1:112(htb) prio 0 rate 1Kbit ceil 6Mbit burst 15Kb cburst 1599b
| | | * Send 100 pkts ...
| | | * Rate 10mbit ...
| |
| +---1:12(htb) prio 0 rate 1Kbit ceil 6Mbit burst 15Kb cburst 1599b
| | * Send 100 pkts ...
| | * Rate 10mbit ...
|
+---1:20(htb) prio 0 rate 3Mbit ceil 6Mbit burst 15Kb cburst 1599b
| | * Send 100 pkts ...
| | * Rate 10mbit ...
+---1:30(htb) prio 0 rate 1Kbit ceil 6Mbit burst 15Kb cburst 1599b
| * Send 100 pkts ...
| * Rate 10mbit ...Yeah, this is bigger one ...
Regards,
Quoted 108 lines · Vadim Kochan
Quoted 79 lines · Marcelo Ricardo Leitner
Quoted 78 lines · Vadim Kochan
Quoted 50 lines · Stephen Hemminger
Quoted 47 lines · On Tue, 16 Dec 2014 16:12:41 -0200 Marcelo Ricardo Leitner…
Quoted 34 lines · On 15-12-2014 20:48, [email protected] wrote:
Hi All,
I am playing with showing classes in more hierarchically format and I have some code and example of output from my TC looks like:
# tc/tc -t class show dev tap0\---1:2 (htb) prio 0 rate 1Kbit ceil 6Mbit burst 15Kb cburst 1599b \---1:40 (htb) prio 0 rate 1Kbit ceil 6Mbit burst 15Kb cburst 1599b \---1:50 (htb) prio 0 rate 1Kbit ceil 6Mbit burst 15Kb cburst 1599b \---1:60 (htb) prio 0 rate 1Kbit ceil 6Mbit burst 15Kb cburst 1599b \---1:1 (htb) prio 0 rate 1Kbit ceil 6Mbit burst 15Kb cburst 1599b \---1:10 (htb) prio 0 rate 1Kbit ceil 6Mbit burst 15Kb cburst 1599b \---1:11 (htb) prio 0 rate 1Kbit ceil 6Mbit burst 15Kb cburst 1599b \---1:111 (htb) prio 0 rate 1Kbit ceil 6Mbit burst 15Kb cburst 1599b \---1:20 (htb) prio 0 rate 1Kbit ceil 6Mbit burst 15Kb cburst 1599b \---1:30 (htb) prio 0 rate 1Kbit ceil 6Mbit burst 15Kb cburst 1599bwhich in standart output mode it looks like:
# tc/tc class show dev tap0class htb 1:11 parent 1:10 rate 3Mbit ceil 6Mbit burst 15Kb cburst 1599b class htb 1:111 parent 1:11 prio 0 rate 1Kbit ceil 6Mbit burst 15Kb cburst 1599b class htb 1:10 parent 1:1 rate 5Mbit ceil 5Mbit burst 15Kb cburst 1600b class htb 1:1 root rate 6Mbit ceil 6Mbit burst 15Kb cburst 1599b
class htb 1:20 parent 1:1 leaf 20: prio 0 rate 3Mbit ceil 6Mbit burst 15Kb cburst 1599b class htb 1:2 root rate 6Mbit ceil 6Mbit burst 15Kb cburst 1599b
class htb 1:30 parent 1:1 leaf 30: prio 0 rate 1Kbit ceil 6Mbit burst 15Kb cburst 1599b class htb 1:40 parent 1:2 leaf 40: prio 0 rate 5Mbit ceil 5Mbit burst 15Kb cburst 1600b class htb 1:50 parent 1:2 leaf 50: prio 0 rate 3Mbit ceil 6Mbit burst 15Kb cburst 1599b class htb 1:60 parent 1:2 leaf 60: prio 0 rate 1Kbit ceil 6Mbit burst 15Kb cburst 1599bQuoted 2 lines
So I'd like to ask if it might be useful for the TC users (may be better format ?) to have this ?
Good idea! It already looks good, but what about:
|-- 1:2 (htb) prio 0 rate 1Kbit ceil 6Mbit burst 15Kb cburst 1599b | |-- 1:40 (htb) prio 0 rate 1Kbit ceil 6Mbit burst 15Kb cburst 1599b | |-- 1:50 (htb) prio 0 rate 1Kbit ceil 6Mbit burst 15Kb cburst 1599b | '-- 1:60 (htb) prio 0 rate 1Kbit ceil 6Mbit burst 15Kb cburst 1599b |-- 1:1 (htb) prio 0 rate 1Kbit ceil 6Mbit burst 15Kb cburst 1599b ...Quoted 8 lines
Quoted 4 lines
just another idea..
Thanks.
MarceloThere are several places that also print tree format, hopefully there would be reusable code (lspci, tree, ps).
OK, currently I have the following output:
+---1:2(htb) rate 6Mbit ceil 6Mbit burst 15Kb cburst 1599b | +---1:40(htb) prio 0 rate 5Mbit ceil 5Mbit burst 15Kb cburst 1600b | +---1:50(htb) prio 0 rate 3Mbit ceil 6Mbit burst 15Kb cburst 1599b | +---1:60(htb) prio 0 rate 1Kbit ceil 6Mbit burst 15Kb cburst 1599b | +---1:1(htb) rate 6Mbit ceil 6Mbit burst 15Kb cburst 1599b +---1:10(htb) rate 5Mbit ceil 5Mbit burst 15Kb cburst 1600b | +---1:11(htb) rate 3Mbit ceil 6Mbit burst 15Kb cburst 1599b | | +---1:111(htb) prio 0 rate 1Kbit ceil 6Mbit burst 15Kb cburst 1599b | | +---1:112(htb) prio 0 rate 1Kbit ceil 6Mbit burst 15Kb cburst 1599b | | | +---1:12(htb) prio 0 rate 1Kbit ceil 6Mbit burst 15Kb cburst 1599b | +---1:20(htb) prio 0 rate 3Mbit ceil 6Mbit burst 15Kb cburst 1599b +---1:30(htb) prio 0 rate 1Kbit ceil 6Mbit burst 15Kb cburst 1599bQuoted 8 lines
Quoted 1 line
How about this ?
Looks very good to me, thanks!
Quoted 3 lines
Regards,
Vadim KochanThere is an exampe output of tree with stats:
+---1:2(htb) rate 6Mbit ceil 6Mbit burst 15Kb cburst 1599b | | * Send 100 pkts ... | | * Rate 10mbit ... | +---1:40(htb) prio 0 rate 5Mbit ceil 5Mbit burst 15Kb cburst 1600b | | | * Send 100 pkts ... | | | * Rate 10mbit ... | +---1:50(htb) prio 0 rate 3Mbit ceil 6Mbit burst 15Kb cburst 1599b | | | * Send 100 pkts ... | | | * Rate 10mbit ... | +---1:60(htb) prio 0 rate 1Kbit ceil 6Mbit burst 15Kb cburst 1599b | | * Send 100 pkts ... | | * Rate 10mbit ... | +---1:1(htb) rate 6Mbit ceil 6Mbit burst 15Kb cburst 1599b | * Send 100 pkts ... | * Rate 10mbit ... +---1:10(htb) rate 5Mbit ceil 5Mbit burst 15Kb cburst 1600b
Quoted 8 lines
| | * Send 100 pkts ...
| | * Rate 10mbit ...
| +---1:11(htb) rate 3Mbit ceil 6Mbit burst 15Kb cburst 1599b
| | | * Send 100 pkts ...
| | | * Rate 10mbit ...
| | +---1:111(htb) prio 0 rate 1Kbit ceil 6Mbit burst 15Kb cburst 1599b
| | | | * Send 100 pkts ...
| | | | * Rate 10mbit ...^ these are confusing IMHO, rest looks good to me
Marcelo
Quoted 24 lines
| | +---1:112(htb) prio 0 rate 1Kbit ceil 6Mbit burst 15Kb cburst 1599b | | | * Send 100 pkts ... | | | * Rate 10mbit ... | | | +---1:12(htb) prio 0 rate 1Kbit ceil 6Mbit burst 15Kb cburst 1599b | | * Send 100 pkts ... | | * Rate 10mbit ... | +---1:20(htb) prio 0 rate 3Mbit ceil 6Mbit burst 15Kb cburst 1599b | | * Send 100 pkts ... | | * Rate 10mbit ... +---1:30(htb) prio 0 rate 1Kbit ceil 6Mbit burst 15Kb cburst 1599b | * Send 100 pkts ... | * Rate 10mbit ...Yeah, this is bigger one ...
Regards,
--
To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Quoted 12 lines · Marcelo Ricardo Leitner
Quoted 4 lines
+---1:1(htb) rate 6Mbit ceil 6Mbit burst 15Kb cburst 1599b | * Send 100 pkts ... | * Rate 10mbit ... +---1:10(htb) rate 5Mbit ceil 5Mbit burst 15Kb cburst 1600bQuoted 8 lines
| | * Send 100 pkts ... | | * Rate 10mbit ... | +---1:11(htb) rate 3Mbit ceil 6Mbit burst 15Kb cburst 1599b | | | * Send 100 pkts ... | | | * Rate 10mbit ... | | +---1:111(htb) prio 0 rate 1Kbit ceil 6Mbit burst 15Kb cburst 1599b | | | | * Send 100 pkts ... | | | | * Rate 10mbit ...
Quoted 4 lines
^ these are confusing IMHO, rest looks good to me
Marcelo
Yes, just fixed it to :
+---1:2(htb) rate 6Mbit ceil 6Mbit burst 15Kb cburst 1599b
| | * Send 100 pkts ...
| | * Rate 10mbit ...
| +---1:40(htb) prio 0 rate 5Mbit ceil 5Mbit burst 15Kb cburst 1600b
| | * Send 100 pkts ...
| | * Rate 10mbit ...
| +---1:50(htb) prio 0 rate 3Mbit ceil 6Mbit burst 15Kb cburst 1599b
| | * Send 100 pkts ...
| | * Rate 10mbit ...
| +---1:60(htb) prio 0 rate 1Kbit ceil 6Mbit burst 15Kb cburst 1599b
| * Send 100 pkts ...
| * Rate 10mbit ...
|
+---1:1(htb) rate 6Mbit ceil 6Mbit burst 15Kb cburst 1599b
| * Send 100 pkts ...
| * Rate 10mbit ...
+---1:10(htb) rate 5Mbit ceil 5Mbit burst 15Kb cburst 1600b
| | * Send 100 pkts ...
| | * Rate 10mbit ...
| +---1:11(htb) rate 3Mbit ceil 6Mbit burst 15Kb cburst 1599b
| | | * Send 100 pkts ...
| | | * Rate 10mbit ...
| | +---1:111(htb) prio 0 rate 1Kbit ceil 6Mbit burst 15Kb cburst 1599b
| | | * Send 100 pkts ...
| | | * Rate 10mbit ...
| | +---1:112(htb) prio 0 rate 1Kbit ceil 6Mbit burst 15Kb cburst 1599b
| | * Send 100 pkts ...
| | * Rate 10mbit ...
| |
| +---1:12(htb) prio 0 rate 1Kbit ceil 6Mbit burst 15Kb cburst 1599b
| * Send 100 pkts ...
| * Rate 10mbit ...
|
+---1:20(htb) prio 0 rate 3Mbit ceil 6Mbit burst 15Kb cburst 1599b
| * Send 100 pkts ...
| * Rate 10mbit ...
+---1:30(htb) prio 0 rate 1Kbit ceil 6Mbit burst 15Kb cburst 1599b * Send 100 pkts ...
* Rate 10mbit ...
I am not sure about the better format to print stats - use '*' or '>' as prefix, '*' - seems better ?
Regards,
Quoted 13 lines · Vadim Kochan
Quoted 12 lines · Marcelo Ricardo Leitner
Quoted 12 lines
+---1:1(htb) rate 6Mbit ceil 6Mbit burst 15Kb cburst 1599b | * Send 100 pkts ... | * Rate 10mbit ... +---1:10(htb) rate 5Mbit ceil 5Mbit burst 15Kb cburst 1600b | | * Send 100 pkts ... | | * Rate 10mbit ... | +---1:11(htb) rate 3Mbit ceil 6Mbit burst 15Kb cburst 1599b | | | * Send 100 pkts ... | | | * Rate 10mbit ... | | +---1:111(htb) prio 0 rate 1Kbit ceil 6Mbit burst 15Kb cburst 1599b | | | | * Send 100 pkts ... | | | | * Rate 10mbit ...
Quoted 7 lines
Quoted 4 lines
^ these are confusing IMHO, rest looks good to me
Marcelo
Yes, just fixed it to :
Cool
Quoted 37 lines
+---1:2(htb) rate 6Mbit ceil 6Mbit burst 15Kb cburst 1599b
| | * Send 100 pkts ...
| | * Rate 10mbit ...
| +---1:40(htb) prio 0 rate 5Mbit ceil 5Mbit burst 15Kb cburst 1600b
| | * Send 100 pkts ...
| | * Rate 10mbit ...
| +---1:50(htb) prio 0 rate 3Mbit ceil 6Mbit burst 15Kb cburst 1599b
| | * Send 100 pkts ...
| | * Rate 10mbit ...
| +---1:60(htb) prio 0 rate 1Kbit ceil 6Mbit burst 15Kb cburst 1599b
| * Send 100 pkts ...
| * Rate 10mbit ...
|
+---1:1(htb) rate 6Mbit ceil 6Mbit burst 15Kb cburst 1599b
| * Send 100 pkts ...
| * Rate 10mbit ...
+---1:10(htb) rate 5Mbit ceil 5Mbit burst 15Kb cburst 1600b
| | * Send 100 pkts ...
| | * Rate 10mbit ...
| +---1:11(htb) rate 3Mbit ceil 6Mbit burst 15Kb cburst 1599b
| | | * Send 100 pkts ...
| | | * Rate 10mbit ...
| | +---1:111(htb) prio 0 rate 1Kbit ceil 6Mbit burst 15Kb cburst 1599b
| | | * Send 100 pkts ...
| | | * Rate 10mbit ...
| | +---1:112(htb) prio 0 rate 1Kbit ceil 6Mbit burst 15Kb cburst 1599b
| | * Send 100 pkts ...
| | * Rate 10mbit ...
| |
| +---1:12(htb) prio 0 rate 1Kbit ceil 6Mbit burst 15Kb cburst 1599b
| * Send 100 pkts ...
| * Rate 10mbit ...
|
+---1:20(htb) prio 0 rate 3Mbit ceil 6Mbit burst 15Kb cburst 1599b
| * Send 100 pkts ...
| * Rate 10mbit ...
+---1:30(htb) prio 0 rate 1Kbit ceil 6Mbit burst 15Kb cburst 1599bQuoted 5 lines
* Send 100 pkts ...
* Rate 10mbit ...I am not sure about the better format to print stats - use '*' or '>' as prefix, '*' - seems better ?
TBH I don't think we need one in there. It's already linked to the items due to the tree on them. If you just align them to start right where the the first word after the ')' begins, it would be good. Like:
| +---1:11(htb) rate 3Mbit ceil 6Mbit burst 15Kb cburst 1599b
| | | Send 100 pkts ...
| | | Rate 10mbit ...
| | +---1:111(htb) prio 0 rate 1Kbit ceil 6Mbit burst 15Kb
cburst 1599b
| | | Send 100 pkts ...
| | | Rate 10mbit ...
| | +---1:112(htb) prio 0 rate 1Kbit ceil 6Mbit burst 15Kb cburst 1599b
But I don't know how large this will get..
Yet I don't mind having one marker in there. Let's see what others think about it.
Regards,
Marcelo
Quoted 81 lines · Marcelo Ricardo Leitner
Quoted 13 lines · Vadim Kochan
Quoted 12 lines · Marcelo Ricardo Leitner
Quoted 12 lines
+---1:1(htb) rate 6Mbit ceil 6Mbit burst 15Kb cburst 1599b | * Send 100 pkts ... | * Rate 10mbit ... +---1:10(htb) rate 5Mbit ceil 5Mbit burst 15Kb cburst 1600b | | * Send 100 pkts ... | | * Rate 10mbit ... | +---1:11(htb) rate 3Mbit ceil 6Mbit burst 15Kb cburst 1599b | | | * Send 100 pkts ... | | | * Rate 10mbit ... | | +---1:111(htb) prio 0 rate 1Kbit ceil 6Mbit burst 15Kb cburst 1599b | | | | * Send 100 pkts ... | | | | * Rate 10mbit ...Quoted 7 lines
Quoted 4 lines
^ these are confusing IMHO, rest looks good to me
Marcelo
Yes, just fixed it to :
Cool
Quoted 37 lines
+---1:2(htb) rate 6Mbit ceil 6Mbit burst 15Kb cburst 1599b | | * Send 100 pkts ... | | * Rate 10mbit ... | +---1:40(htb) prio 0 rate 5Mbit ceil 5Mbit burst 15Kb cburst 1600b | | * Send 100 pkts ... | | * Rate 10mbit ... | +---1:50(htb) prio 0 rate 3Mbit ceil 6Mbit burst 15Kb cburst 1599b | | * Send 100 pkts ... | | * Rate 10mbit ... | +---1:60(htb) prio 0 rate 1Kbit ceil 6Mbit burst 15Kb cburst 1599b | * Send 100 pkts ... | * Rate 10mbit ... | +---1:1(htb) rate 6Mbit ceil 6Mbit burst 15Kb cburst 1599b | * Send 100 pkts ... | * Rate 10mbit ... +---1:10(htb) rate 5Mbit ceil 5Mbit burst 15Kb cburst 1600b | | * Send 100 pkts ... | | * Rate 10mbit ... | +---1:11(htb) rate 3Mbit ceil 6Mbit burst 15Kb cburst 1599b | | | * Send 100 pkts ... | | | * Rate 10mbit ... | | +---1:111(htb) prio 0 rate 1Kbit ceil 6Mbit burst 15Kb cburst 1599b | | | * Send 100 pkts ... | | | * Rate 10mbit ... | | +---1:112(htb) prio 0 rate 1Kbit ceil 6Mbit burst 15Kb cburst 1599b | | * Send 100 pkts ... | | * Rate 10mbit ... | | | +---1:12(htb) prio 0 rate 1Kbit ceil 6Mbit burst 15Kb cburst 1599b | * Send 100 pkts ... | * Rate 10mbit ... | +---1:20(htb) prio 0 rate 3Mbit ceil 6Mbit burst 15Kb cburst 1599b | * Send 100 pkts ... | * Rate 10mbit ... +---1:30(htb) prio 0 rate 1Kbit ceil 6Mbit burst 15Kb cburst 1599bQuoted 5 lines
* Send 100 pkts ...
* Rate 10mbit ...I am not sure about the better format to print stats - use '*' or '>' as prefix, '*' - seems better ?
TBH I don't think we need one in there. It's already linked to the items due to the tree on them. If you just align them to start right where the the first word after the ')' begins, it would be good. Like:
| +---1:11(htb) rate 3Mbit ceil 6Mbit burst 15Kb cburst 1599b | | | Send 100 pkts ... | | | Rate 10mbit ... | | +---1:111(htb) prio 0 rate 1Kbit ceil 6Mbit burst 15Kb cburst 1599b | | | Send 100 pkts ... | | | Rate 10mbit ... | | +---1:112(htb) prio 0 rate 1Kbit ceil 6Mbit burst 15Kb cburst1599b
Quoted 8 lines
But I don't know how large this will get..
Yet I don't mind having one marker in there. Let's see what others think about it.
Regards,
Marcelo
I corrected regarding to your comments:
+---1:2(htb) rate 6Mbit ceil 6Mbit burst 15Kb cburst 1599b
| | Send 100 pkts ...
| | Rate 10mbit ...
| |
| +---1:40(htb) prio 0 rate 5Mbit ceil 5Mbit burst 15Kb cburst 1600b
| | Send 100 pkts ...
| | Rate 10mbit ...
| |
| +---1:50(htb) prio 0 rate 3Mbit ceil 6Mbit burst 15Kb cburst 1599b
| | Send 100 pkts ...
| | Rate 10mbit ...
| |
| +---1:60(htb) prio 0 rate 1Kbit ceil 6Mbit burst 15Kb cburst 1599b
| Send 100 pkts ...
| Rate 10mbit ...
|
+---1:1(htb) rate 6Mbit ceil 6Mbit burst 15Kb cburst 1599b
| Send 100 pkts ...
| Rate 10mbit ...
|
+---1:10(htb) rate 5Mbit ceil 5Mbit burst 15Kb cburst 1600b
| | Send 100 pkts ...
| | Rate 10mbit ...
| |
| +---1:11(htb) rate 3Mbit ceil 6Mbit burst 15Kb cburst 1599b
| | | Send 100 pkts ...
| | | Rate 10mbit ...
| | |
| | +---1:111(htb) prio 0 rate 1Kbit ceil 6Mbit burst 15Kb cburst 1599b
| | | Send 100 pkts ...
| | | Rate 10mbit ...
| | |
| | +---1:112(htb) prio 0 rate 1Kbit ceil 6Mbit burst 15Kb cburst 1599b
| | Send 100 pkts ...
| | Rate 10mbit ...
| |
| +---1:12(htb) prio 0 rate 1Kbit ceil 6Mbit burst 15Kb cburst 1599b
| Send 100 pkts ...
| Rate 10mbit ...
|
+---1:20(htb) prio 0 rate 3Mbit ceil 6Mbit burst 15Kb cburst 1599b
| Send 100 pkts ...
| Rate 10mbit ...
|
+---1:30(htb) prio 0 rate 1Kbit ceil 6Mbit burst 15Kb cburst 1599b
Send 100 pkts ...
Rate 10mbit ...The problem that this is huge now but looks better visually, I am
thinking also about to possibiliy to show only some part of tree by specified parent id ...
But how much classes can be used usually for traffic control per device ?
Regards,
Vadim Kochan
On 12/18/2014 02:16 PM, Vadim Kochan wrote:
...
Quoted 2 lines
The problem that this is huge now but looks better visually, I am
thinking also about to possibiliy to show only some part of tree by specified parent id ...
I definitely like this work!
Just thinking out loud, what about an output option for tc which is plain DOT [1], thus it can be handed over for rendering in tools like graphviz?
It won't require any dependencies either as it's just plaintext.
[1] https://en.wikipedia.org/wiki/DOT_%28graph_description_language%29
Quoted 5 lines · Daniel Borkmann
On 12/18/2014 02:16 PM, Vadim Kochan wrote:
...Quoted 2 lines
The problem that this is huge now but looks better visually, I am
thinking also about to possibiliy to show only some part of tree by specified parent id ...
Quoted 8 lines
I definitely like this work!
Just thinking out loud, what about an output option for tc which is plain DOT [1], thus it can be handed over for rendering in tools like graphviz?
It won't require any dependencies either as it's just plaintext.
[1] https://en.wikipedia.org/wiki/DOT_%28graph_description_language%29
Yeah, good idea :-)
Quoted 8 lines · Vadim Kochan
Quoted 7 lines · Daniel Borkmann
On 12/18/2014 02:16 PM, Vadim Kochan wrote:
...Quoted 2 lines
The problem that this is huge now but looks better visually, I am
thinking also about to possibiliy to show only some part of tree by specified parent id ...I definitely like this work!
Quoted 8 lines
Quoted 6 lines
Just thinking out loud, what about an output option for tc which is plain DOT [1], thus it can be handed over for rendering in tools like graphviz?
It won't require any dependencies either as it's just plaintext.
[1] https://en.wikipedia.org/wiki/DOT_%28graph_description_language%29
Yeah, good idea :-)
tcng had something like that ;-)
Quoted 12 lines · Thomas Graf
Quoted 11 lines · Vadim Kochan
Quoted 10 lines · Daniel Borkmann
On 12/18/2014 02:16 PM, Vadim Kochan wrote:
...Quoted 2 lines
The problem that this is huge now but looks better visually, I am
thinking also about to possibiliy to show only some part of tree by specified parent id ...I definitely like this work!
Just thinking out loud, what about an output option for tc which is plain DOT [1], thus it can be handed over for rendering in tools like graphviz?
Quoted 7 lines
Quoted 5 lines
Quoted 3 lines
It won't require any dependencies either as it's just plaintext.
[1] https://en.wikipedia.org/wiki/DOT_%28graph_description_language%29
Yeah, good idea :-)
tcng had something like that ;-)
I did not use tcng, but I think that it would be good to adopt some useful features to the tc.
Regards,
Quoted 15 lines · Vadim Kochan
Quoted 14 lines · Thomas Graf
Quoted 13 lines · Vadim Kochan
Quoted 12 lines · Daniel Borkmann
On 12/18/2014 02:16 PM, Vadim Kochan wrote:
...Quoted 2 lines
The problem that this is huge now but looks better visually, I am
thinking also about to possibiliy to show only some part of tree by specified parent id ...I definitely like this work!
Just thinking out loud, what about an output option for tc which is plain DOT [1], thus it can be handed over for rendering in tools like graphviz?
It won't require any dependencies either as it's just plaintext.
Quoted 9 lines
Quoted 5 lines
Quoted 3 lines
Quoted 1 line
[1] https://en.wikipedia.org/wiki/DOT_%28graph_description_language%29Yeah, good idea :-)
tcng had something like that ;-)
I did not use tcng, but I think that it would be good to adopt some useful features to the tc.
Werner unfortunately wont be able to make netdev01 ;-> but we could have this discussion there.
For the record I am enjoying seeing these patches as well;->
cheers,
jamal