[TriLUG] Throttling SFTP bandwidth

Jon Carnes jonc at nc.rr.com
Mon Mar 7 18:06:22 EST 2005


On Mon, 2005-03-07 at 13:30, Christopher L Merrill wrote:
> Jon Carnes wrote:
> > The "tc" commands are a bit intimidating when you first look at them,
> > but they are very handy to know. 
> 
> Fantastic, Jon!  That worked great (once I corrected my typos...).
> My upload is now proceeding at a leisurely 12k/sec and not disturbing
> the 'net access for anyone else.
> 
> For anyone else listening in...I'll add that this command:
>    tc qdisc del dev eth0 root
> will undo the changes and revert to normal operation.  At least,
> according to the docs I found and the article that Jon quoted.
> I think that will remove the applied rules - i.e. clean up the
> mess I created.
> 
> My only remaining question is: Are these changes permanent?
> Or do they return to normal on reboot or logout?  (Alas..."No
> manual entry for tc" on this machine)

As you suspect, the commands vanish on reboot - unless you include them
in your /etc/rc.d/rc.local file...

I'm glad it helped!

Jon





More information about the TriLUG mailing list