ubuntu命令行多线程断点续传下载工具-axel

命令行多线程断点续传下载工具-axel参数介绍:

deepfuture@server-deepfuture1:~$ axel --hUsage: axel [options] url1 [url2] [url...]

--max-speed=x           -s x    Specify maximum speed (bytes per second)

--num-connections=x-nxSpecifymaximumnumberofconnections

--output=f-ofSpecifylocaloutputfile

--search[=x]-S[x]Searchformirrorsanddownloadfromxservers

--header=x-HxAddheaderstring

--user-agent=x-UxSetuseragent

--no-proxy-NJustdon'tuseanyproxyserver

--quiet-qLeavestdoutalone

--verbose-vMorestatusinformation

--alternate-aAlternateprogressindicator

--help-hThisinformation

--version               -V      Version information

Report bugs to submit@bugs.debian.org (using reportbug)

deepfuture@server-deepfuture1:~$

主要参数:

n:线程数

-o:指定本地输出文件

操作如下:

deepfuture@server-deepfuture1:~$ sudo apt-get install axel

正在读取软件包列表...完成

正在分析软件包的依赖关系树

正在读取状态信息...完成

下列【新】软件包将被安装:

axel

共升级了0个软件包,新安装了1个软件包,要卸载0个软件包,有3个软件未被升级。

需要下载50.1kB的软件包。

解压缩后会消耗掉217kB的额外空间。

获取:1http://cn.archive.ubuntu.comjaunty/universeaxel2.3-1[50.1kB]

下载50.1kB,耗时22s(2190B/s)

选中了曾被取消选择的软件包axel。

(正在读取数据库...系统当前总共安装有26280个文件和目录。)

正在解压缩axel(从.../archives/axel_2.3-1_amd64.deb)...

正在处理用于man-db的触发器...

正在设置axel(2.3-1)...

deepfuture@server-deepfuture1:~$mkdirdownfiles

deepfuture@server-deepfuture1:~$ls

downfiles

deepfuture@server-deepfuture1:~$cddownfiles

deepfuture@server-deepfuture1:~/downfiles$axel-n10-o/home/deepfuture/downfileshttp://labs.xiaonei.com/apache-mirror/hadoop/core/hadoop-0.20.0/hadoop-0.20.0.tar.gz

Initializingdownload:http://labs.xiaonei.com/apache-mirror/hadoop/core/hadoop-0.20.0/hadoop-0.20.0.tar.gz

Filesize:42813980bytes

Openingoutputfile/home/deepfuture/downfiles/hadoop-0.20.0.tar.gz

Starting download

[  0%]  .......... .......... .......... .......... ..........  [ 109.9KB/s]

[0%]..................................................[146.9KB/s]

[0%]..................................................[166.8KB/s]

[0%]..................................................[179.0KB/s]

[0%]..................................................[167.9KB/s]

[0%]..................................................[142.7KB/s]

[0%]..................................................[155.7KB/s]

[0%]..................................................[167.0KB/s]

[0%]..................................................[182.7KB/s]

[1%]..................................................[192.7KB/s]

[  1%]  .......... .......... .......... .......... ..........  [ 198.8KB/s]
ubuntu命令行多线程断点续传下载工具-axel 有0人推荐  
阅读(8)| 评论(0)| 引用(0) |举报

相关推荐