From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stef Coene Date: Sat, 11 Jan 2003 10:54:48 +0000 Subject: Re: [LARTC] Question on TC filter Message-Id: List-Id: References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: lartc@vger.kernel.org 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/