* Re: [LARTC] Question on TC filter
2003-01-10 18:24 [LARTC] Question on TC filter Cheng Kwok Wing, William
@ 2003-01-10 23:00 ` Stef Coene
2003-01-11 4:54 ` Cheng Kwok Wing, William
` (2 subsequent siblings)
3 siblings, 0 replies; 5+ messages in thread
From: Stef Coene @ 2003-01-10 23:00 UTC (permalink / raw)
To: lartc
On Friday 10 January 2003 19:24, Cheng Kwok Wing, William wrote:
> Hi,
>
> I want work out a GUI interface for htb and now here
> comes to the part about adding and removing classes
> and filters.
Like I do :à
http://home.docum.org/qos/
> Suppose I want to remove the class 1:20. What should I
> do? I need to first remove the filters with flowid
> 1:20, but how can I remove it independently???
> If I run "tc filter del $DEV parent 1:0......", then
> all filters will be removed. Any suggestion on how to
> solve this problem or a better way to organise the
> classes or filters??
I create all rules, generate the tc script, execute the script. So no
changing of running classes and filters. I don't think you can delete 1
filter like you want.
Stef
--
stef.coene@docum.org
"Using Linux as bandwidth manager"
http://www.docum.org/
#lartc @ irc.oftc.net
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
^ permalink raw reply [flat|nested] 5+ messages in thread* Re: [LARTC] Question on TC filter
2003-01-10 18:24 [LARTC] Question on TC filter Cheng Kwok Wing, William
2003-01-10 23:00 ` Stef Coene
@ 2003-01-11 4:54 ` Cheng Kwok Wing, William
2003-01-11 4:57 ` Cheng Kwok Wing, William
2003-01-11 10:54 ` Stef Coene
3 siblings, 0 replies; 5+ messages in thread
From: Cheng Kwok Wing, William @ 2003-01-11 4:54 UTC (permalink / raw)
To: lartc
Thanks for your reply. I've visited your web
http://home.docum.org/qos/ already. I just wonder if
there are some better ways to add and remove class one
by one rather than writing the script all the time.
Wing
--- Stef Coene <stef.coene@docum.org> wrote:
> On Friday 10 January 2003 19:24, Cheng Kwok Wing,
> William wrote:
> > Hi,
> >
> > I want work out a GUI interface for htb and now
> here
> > comes to the part about adding and removing
> classes
> > and filters.
> Like I do :?> http://home.docum.org/qos/
>
>
> > Suppose I want to remove the class 1:20. What
> should I
> > do? I need to first remove the filters with flowid
> > 1:20, but how can I remove it independently???
> > If I run "tc filter del $DEV parent 1:0......",
> then
> > all filters will be removed. Any suggestion on how
> to
> > solve this problem or a better way to organise the
> > classes or filters??
> I create all rules, generate the tc script, execute
> the script. So no
> changing of running classes and filters. I don't
> think you can delete 1
> filter like you want.
>
> Stef
>
> --
>
> stef.coene@docum.org
> "Using Linux as bandwidth manager"
> http://www.docum.org/
> #lartc @ irc.oftc.net
>
__________________________________________________
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [LARTC] Question on TC filter
2003-01-10 18:24 [LARTC] Question on TC filter Cheng Kwok Wing, William
2003-01-10 23:00 ` Stef Coene
2003-01-11 4:54 ` Cheng Kwok Wing, William
@ 2003-01-11 4:57 ` Cheng Kwok Wing, William
2003-01-11 10:54 ` Stef Coene
3 siblings, 0 replies; 5+ messages in thread
From: Cheng Kwok Wing, William @ 2003-01-11 4:57 UTC (permalink / raw)
To: lartc
Thanks for your reply. I've visited your web
http://home.docum.org/qos/ already. I just wonder if
there are some better ways to add and remove class one
by one rather than writing the script all the time.
In addition, each time your run the tc script. You
need to remove the root qdisc, i.e. clear all setting,
first. Then, all counters are reset......... How to
solve such problem if I want to dump the data from "tc
-s -d class dev eth1" and plot graph using rrdtools
(without losing previous data)??
Wing
--- Stef Coene <stef.coene@docum.org> wrote:
> On Friday 10 January 2003 19:24, Cheng Kwok Wing,
> William wrote:
> > Hi,
> >
> > I want work out a GUI interface for htb and now
> here
> > comes to the part about adding and removing
> classes
> > and filters.
> Like I do :?> http://home.docum.org/qos/
>
>
> > Suppose I want to remove the class 1:20. What
> should I
> > do? I need to first remove the filters with flowid
> > 1:20, but how can I remove it independently???
> > If I run "tc filter del $DEV parent 1:0......",
> then
> > all filters will be removed. Any suggestion on how
> to
> > solve this problem or a better way to organise the
> > classes or filters??
> I create all rules, generate the tc script, execute
> the script. So no
> changing of running classes and filters. I don't
> think you can delete 1
> filter like you want.
>
> Stef
>
> --
>
> stef.coene@docum.org
> "Using Linux as bandwidth manager"
> http://www.docum.org/
> #lartc @ irc.oftc.net
>
__________________________________________________
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [LARTC] Question on TC filter
2003-01-10 18:24 [LARTC] Question on TC filter Cheng Kwok Wing, William
` (2 preceding siblings ...)
2003-01-11 4:57 ` Cheng Kwok Wing, William
@ 2003-01-11 10:54 ` Stef Coene
3 siblings, 0 replies; 5+ messages in thread
From: Stef Coene @ 2003-01-11 10:54 UTC (permalink / raw)
To: lartc
On Saturday 11 January 2003 05:57, Cheng Kwok Wing, William wrote:
> Thanks for your reply. I've visited your web
> http://home.docum.org/qos/ already. I just wonder if
> there are some better ways to add and remove class one
> by one rather than writing the script all the time.
>
> In addition, each time your run the tc script. You
> need to remove the root qdisc, i.e. clear all setting,
> first. Then, all counters are reset......... How to
> solve such problem if I want to dump the data from "tc
> -s -d class dev eth1" and plot graph using rrdtools
> (without losing previous data)??
rrdtool is smart enough to understand what happens. It stores the difference
between 2 updates and a negative update is not possible. So that update is
ignored. But that's hardly visible on a graph.
So restting the counters is no problem if you use rrdtool to store the data.
Stef
--
stef.coene@docum.org
"Using Linux as bandwidth manager"
http://www.docum.org/
#lartc @ irc.oftc.net
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
^ permalink raw reply [flat|nested] 5+ messages in thread