[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

per-process bandwidth limiting?



hi,
since potato's rsync seems not to support the --bwlimit flag, and i am
looking for a general solution anyway, let me ask you this:

do you know of a tool that let's you limit the bandwidth in and out of
a process? i envision something like nice (without renice though), so
that you'd call something like

  bwlimit 4k /usr/local/bin/myprocess

and all myprocess would ever get was 4kbps of network bandwidth. i
*don't* want to use the kernel traffic shaper, and i a per-host
configuration is not ideal either. is there such a tool?

if not, i might well have to write it... *but*... is it at all
possible? it would have to intercept and relay the bsd socket
functions, which might not be an easy task.

martin;              (greetings from the heart of the sun.)
  \____ echo mailto: !#^."<*>"|tr "<*> mailto:"; net@madduck
-- 
1-800-psych 
hello, welcome to the psychiatric hotline. 
if you are paranoid-delusional, we know who you are and what you want.
just stay on the line so we can trace the call. 



Reply to: