LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 08-21-2009, 04:09 PM   #1
slackass
Member
 
Registered: Apr 2006
Location: SE Texas
Distribution: Slack64-15.0
Posts: 910

Rep: Reputation: 90
Question Limit speed for slackpkg


Hi,
I want to limit slackpkg download speed.

In slackpkg.conf:

If I change this:
# Special options for wget (default is WGETFLAGS="--passive-ftp")
WGETFLAGS=" --passive-ftp"

To this:
# Special options for wget (default is WGETFLAGS="--passive-ftp")
WGETFLAGS=" --limit-rate=100k --passive-ftp"

Will it limit slackpkg download speed?
Or;
What would be the correct way to do it?

Thanks.
slackass
 
Old 08-21-2009, 05:26 PM   #2
MS3FGX
LQ Guru
 
Registered: Jan 2004
Location: NJ, USA
Distribution: Slackware, Debian
Posts: 5,852

Rep: Reputation: 361Reputation: 361Reputation: 361Reputation: 361
slackpkg is basically a front-end for tools like wget and the Slackware package management applications, so adjusting that parameter changes the command slackpkg will pass to the wget program.

So the edit you mentioned would limit slackpkg's wget use to 100KBps.
 
Old 08-21-2009, 06:23 PM   #3
slackass
Member
 
Registered: Apr 2006
Location: SE Texas
Distribution: Slack64-15.0
Posts: 910

Original Poster
Rep: Reputation: 90
Perfect!
Thanks!
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Upstream speed - How do I limit ? overproof Linux - Networking 1 04-23-2005 09:31 AM
How can i Limit FTP speed for any particular USER ??? saeed Linux - Networking 10 08-02-2004 05:13 AM
Limit Apache2's Speed NightShade737 Linux - Software 1 02-08-2004 03:42 PM
How to limit upload speed for IP? wild_beast Linux - Networking 4 11-18-2003 01:14 AM
any possible way to limit wget d/l speed? ziggie216 Linux - Software 3 10-13-2003 04:27 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 11:28 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration