You are not logged in.

#1 2016-04-29 16:20:36

zipeldiablo
Member
From: Paris
Registered: 2015-08-15
Posts: 22

Trickle not limiting pacman bandwith

Hi guys, so i have a shitty connection at home with a lot of roomates and i'm trying to limit the bandwith i use so others can still browse and do stuff with internet.
I installed trickle packaged and try to update my system by running :
"trickle -d 100 -s pacman -Syu"

But still pacman uses all bandwith... i read the man and it appears the command line is good, somebody knows what is going on?
Should i use another program for this?

Offline

#2 2016-04-29 16:38:43

alphaniner
Member
From: Ancapistan
Registered: 2010-07-12
Posts: 2,810

Re: Trickle not limiting pacman bandwith

You can use XferCommand (pacman configuration option) to accomplish this, see pacman.conf(5). The default pacman.conf has some examples of this option commented out.


But whether the Constitution really be one thing, or another, this much is certain - that it has either authorized such a government as we have had, or has been powerless to prevent it. In either case, it is unfit to exist.
-Lysander Spooner

Offline

#3 2016-04-29 18:47:38

zipeldiablo
Member
From: Paris
Registered: 2015-08-15
Posts: 22

Re: Trickle not limiting pacman bandwith

I see the options but it is not very clear to me, does pacman already use wget and/or curl?

Offline

#4 2016-04-29 19:22:51

alphaniner
Member
From: Ancapistan
Registered: 2010-07-12
Posts: 2,810

Re: Trickle not limiting pacman bandwith

Based on pacman.conf(5), when the option isn't specified pacman uses "built-in HTTP/FTP support".

A good place to start would be to simply uncomment one of the examples and add the appropriate argument eg.

XferCommand = /usr/bin/curl --limit-rate 100k -C - -f %u > %o

But whether the Constitution really be one thing, or another, this much is certain - that it has either authorized such a government as we have had, or has been powerless to prevent it. In either case, it is unfit to exist.
-Lysander Spooner

Offline

#5 2016-05-01 05:02:17

zipeldiablo
Member
From: Paris
Registered: 2015-08-15
Posts: 22

Re: Trickle not limiting pacman bandwith

Failed to see this line on the man thanks

Offline

#6 2016-05-01 05:17:20

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: Trickle not limiting pacman bandwith

man pacman.conf | less -p Xfer

Moving to NC...


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

Board footer

Powered by FluxBB