1
I use Debian 6 - 64bit and I've been using "trickle" for limiting my download/uploads speed on different kinds of programs like "wget" or "ftp". But now I want to reduce speeds for different kinds of network scripts. They are basically files that run as:
./Executable.script
I tried using trickle on this but it didn't limit the speed as I checked through iftop, although it didn't give an error as well.
trickle -u 1000 ./Executable.script
# Didn't work
The script is basically a status script that would check status of different network applications and they would then reply with the result. The upload is what matters here. How should I limit this?
Our programmers wrote the script long ago so I don't know if it forks. I cannot share the exact script but it's based on this udp flood script: http://paste.ubuntu.com/5970370/
– Asad Moeen – 2013-08-10T16:02:16.6931I appreciate the use of tc/iptables though but that would kill my purpose by limiting everything. I only need it on specific script and further more, specific things I run on that script. – Asad Moeen – 2013-08-10T16:08:07.787
iptables/tc would not get in the way of other communications, IF, you can define a rule based on ip/port for example to match your traffic. – vahidne – 2013-08-12T11:10:13.990
I would be more interested in getting the script to work with trickle. – Asad Moeen – 2013-08-13T09:58:21.717