zoukankan      html  css  js  c++  java
  • Linux下axel多线程下载

    axel插件是基于yum下的一个多线程下载

    01、下载

    wget http://www.ha97.com/code/axel-2.4.tar.gz

    wget https://files.cnblogs.com/files/xiaochina/axel-2.4.tar.gz

    02、编译安装

    tar zxvf axel-2.4.tar.gz
    cd axel-2.4
    ./configure
    make -s
    make install -s

    03、参数

    [root@mvp ~]# axel -h
    Usage: axel [options] url1 [url2] [url...]

    --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
    --header=x -H x Add header string
    --user-agent=x -U x Set user agent
    --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

    04、实践

    axel -a -n 10 -s url

    参数如下:
    一般使用:axel url(下载文件地址);
    限速使用:-s 10240,即每秒下载的字节数,这里是 10 Kb;
    限制连接数:-n 10,即打开10个连接

    axel -a -n 10 http://xxx.com/xxx.iso

  • 相关阅读:
    LabVIEW入门第三天(软件及驱动包下载)
    poj1732
    poj1722
    poj1821
    poj1770
    poj1949
    poj1726
    poj1699
    poj1682
    poj1853
  • 原文地址:https://www.cnblogs.com/xiaochina/p/8516875.html
Copyright © 2011-2022 走看看