download limit

Diez B. Roggisch deets at nospam.web.de
Sun Aug 10 14:55:13 EDT 2008


Mathieu Prevot schrieb:
> Hi,
> 
> I have a multithreaded script that  mainly creates several wget
> processes to download files. I would like to check/see and eventually
> limit the bandwidth of the pool of processes. One way to do this is to
> change the number of wget instances, but it's a workaround.
> 
> What do you recommend to do the following in python:
> 1) know the bitrate at the script scale
> 2) control, and limit or not this bitrate

I'm not aware that python can do that. But under Linux you might 
consider using trickled.

Diez



More information about the Python-list mailing list