由此,我有man axel,不大确定该用哪个命令
代码: 全选
axel -nX
那么,它能否设置连接重试的时间间隔呢?
还有,若是axel配套-S 命令当话,能否做到在源地址限制为2个线程,其他选择的地址不限制(或者说是按默认)线程来下载呢?
希望指导,谢谢。
代码: 全选
axel -nX
代码: 全选
--max-speed=x -s x Specify maximum speed (bytes per second)
--num-connections=x -n x Specify maximum number of connections
--output=f -o f Specify local output file
--search[=x] -S [x] Search for mirrors and download from x servers
--no-proxy -N Just don't use any proxy server
--quiet -q Leave stdout alone
--verbose -v More status information
--alternate -a Alternate progress indicator
--help -h This information
--version -V Version information
谢谢,很详细,很好。xhy 写了:-S 表示从多个镜像中搜索 并且同时在多个服务器中下载代码: 全选
--max-speed=x -s x Specify maximum speed (bytes per second) --num-connections=x -n x Specify maximum number of connections --output=f -o f Specify local output file --search[=x] -S [x] Search for mirrors and download from x servers --no-proxy -N Just don't use any proxy server --quiet -q Leave stdout alone --verbose -v More status information --alternate -a Alternate progress indicator --help -h This information --version -V Version information
-n x表示最多x个连接数 作用于所有服务器
-n 1就是单线程下载
代码: 全选
cat .axelrc
....没看全吧。。。其实xhy给的那个help当内容我都看过,但他告诉我了 -S -n连用时连接数的问题。。很好阿。没建立个人的设置文件。。eexpress 写了:/etc/axelrc System-wide configuration file
~/.axelrc Personal configuration file
我以为你会看man的。就是复制一个过来,全解释的。
这样啊。。xhy 写了:如何设置连接重试时间
似乎没有这个选项 axel的特色是分块下载和简单
需要复杂功能的不妨用wget
不知道为什么,wget下载时速度有时不稳定,时快时慢。。axel一般不会这样。。bones7456 写了:如果已经被限制了线程数,用axel和wget下载应该速度差不多吧.
我现在看过了,确实很详细。谢谢。eexpress 写了:哦。你还是应该看看rc文件的。我只是说这里面的参数,说明很详细的意思。