Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

So the question is in the name of topic. How to limit bandwidth I know. Using tc. But how to do so after, for example, traffic had reached 500MB. And after some time reset the limits.

share|improve this question
Maybe pyshaper can do this... See the answer to this question – Stefan Schmiedl May 20 '14 at 13:02
@StefanSchmiedl no, that's not what I'm looking for :( – JagaJaga May 21 '14 at 20:15
@JagaJaga Could you figure out how to do this? Tomato's QoS does, but I also would like to know how to do this. – brauliobo Nov 7 '14 at 0:20
@brauliobo no, I haven't figured out how to do it. Only maybe using tc and it's classes. Seems to be very hard or very rare problem. – JagaJaga Nov 8 '14 at 1:26
@JagaJaga maybe we should look at tomato.groov.pl source code – brauliobo Nov 8 '14 at 17:38

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.