Re: Any command to control the upload bandwidth of a running program
J. Bakshi <bakshi12@gmail.com> wrote:
> I wonder if there is any linux command which can decrease / reshape
> the bandwidth usage of a running program. Say upload via scp..
If you know that you want to limit the bandwidth when you start the
program, "trickle" may work for you:
scp -p netinst.iso other_host:DELETE_ME.1
netinst.iso 100% 191MB 2.9MB/s 01:06
and
trickle -s -u 500 scp -p netinst.iso other_host:DELETE_ME.2
netinst.iso 100% 191MB 681.5KB/s 04:47
Or if you want a more complex solution, take a look at "wondershaper".
Chris
Reply to: