How to limit the upload/download of a program already running (A process)?

1

1

I have already tried trickle and wondershaper.

I need a program that can limit the speed of download/upload of an already running program. Similar to the how NetLimiter in Windows limits already running processes.

I am using Linux.

CYREX

Posted 2011-06-02T13:33:36.697

Reputation: 336

Answers

0

You might want to try pyshaper to download, and an install tutorial here.

soandos

Posted 2011-06-02T13:33:36.697

Reputation: 22 744

Thank you but it did not work. It did not specify a process but instead only an network interface or ports. – CYREX – 2011-06-02T14:00:27.697

I don't run linux, but it seems to be that "pid of locally connected program" is one of the criteria you can use to select a program... – soandos – 2011-06-02T14:02:08.430

It show that option in the webpage but it does not appear implemented. – CYREX – 2011-06-02T14:03:04.530

the man page also shows a way to do it... what does running the suggested command do (example shown here)

– soandos – 2011-06-02T14:05:07.070

Does not do anything. I already tried the way the man page said. It loads the service and then i load the program. If i change anything it does not work. The option of pid like i said is not implemented. – CYREX – 2011-06-02T14:10:22.077

here its mentioned as a key feature, but I guess its possible its not implemented. – soandos – 2011-06-02T14:13:52.090

What amazes me is how tough it is to find one. i mean windows has several like the netlimiter and mentioned. But Linux, an operating system that is an expert in networks does not even have a tool to easily limit (Something that should be very easy to do in linux) the bandwidth of not only an interface like the above mention programs i tried but to limit how a process uses the bandwidth. This option that i thought to be a part of the way the network in Linux is made is not found. So my best bet is that the option i have not found it yet or it does not exist....yet – CYREX – 2011-06-02T15:12:11.203