Randall A Sindlinger on 22 Feb 2011 14:05:57 -0800 |
[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]
Re: [PLUG] Fw: Throttling network bandwidth usage ala nice or ionice... |
On Sun, Feb 20, 2011 at 11:42:08AM -0500, Edmond Rodriguez wrote: > Trickle and trickled does this to a point. Trickle lets you limit > bandwidth for a process started with it. > Trickled lets you add priorities to bandwidth for different network types. > > So a trickled config file like this one will not help give the browser > more priority than the wget:?: > If you always want wget to be throttled, then a quick-and-dirty solution (that's not really all that dirty) would be to just write a wrapper for wget. Just make an executable in /usr/local/bin that says #!/bin/sh exec trickle -d 20 /usr/bin/wget $@ Then, you just need to double-check that your path correctly has /usr/local/bin precede /usr/bin. HTH, -Randall ___________________________________________________________________________ Philadelphia Linux Users Group -- http://www.phillylinux.org Announcements - http://lists.phillylinux.org/mailman/listinfo/plug-announce General Discussion -- http://lists.phillylinux.org/mailman/listinfo/plug