Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

according to trickle's man page, http://linux.die.net/man/1/trickle i can limit the download speed of a process, e.g.

trickle -u 10 -d 20 ncftp to Launch ncftp(1) limiting its upload capacity to 10 KB/s, and download capacity at 20 KB/s.

how would I go about limiting google-chrome or firefox with trickle?

Edit: For those of you asking why I asked such an obvious question, I tried

trickle -u 10 -d 20 firefox

and I'm getting an error

trickle: Could not reach trickled, working independently: No such file or directory

firefox opens right after, but is definitely not rate limited...

share|improve this question
1  
The question belongs on Stackoverflow. It's recursive and never ends. –  gparent Apr 3 '12 at 0:57
    
In all seriousness, I don't get it. You're answering yourself in the question. –  gparent Apr 3 '12 at 0:57
1  
I tried running ubuntuone-syncdaemon through trickle; using the daemon, I get rate limiting, without it, I don't. I wonder if some forking activity in the process leads to this problem ... either way it does seem to be a bug, so I'm not sure why the answer below got accepted. –  David Fraser Jul 30 '13 at 10:26

1 Answer 1

up vote 3 down vote accepted

I think the confusion stems from your comprehension of the man page. ncftp is the name of the process being limited, so to limit firefox you would do:

trickle -u 10 -d 20 firefox
share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.