`
deepfuture
  • 浏览: 4331730 次
  • 性别: Icon_minigender_1
  • 来自: 湛江
博客专栏
073ec2a9-85b7-3ebf-a3bb-c6361e6c6f64
SQLite源码剖析
浏览量:79401
1591c4b8-62f1-3d3e-9551-25c77465da96
WIN32汇编语言学习应用...
浏览量:68340
F5390db6-59dd-338f-ba18-4e93943ff06a
神奇的perl
浏览量:101463
Dac44363-8a80-3836-99aa-f7b7780fa6e2
lucene等搜索引擎解析...
浏览量:281100
Ec49a563-4109-3c69-9c83-8f6d068ba113
深入lucene3.5源码...
浏览量:14594
9b99bfc2-19c2-3346-9100-7f8879c731ce
VB.NET并行与分布式编...
浏览量:65528
B1db2af3-06b3-35bb-ac08-59ff2d1324b4
silverlight 5...
浏览量:31304
4a56b548-ab3d-35af-a984-e0781d142c23
算法下午茶系列
浏览量:45181
社区版块
存档分类
最新评论

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

阅读更多

 

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

deepfuture@server-deepfuture1:~$ 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

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 的额外空间。
获取:1 http://cn.archive.ubuntu.com jaunty/universe axel 2.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:~$ mkdir downfiles
deepfuture@server-deepfuture1:~$ ls
downfiles
deepfuture@server-deepfuture1:~$ cd downfiles
deepfuture@server-deepfuture1:~/downfiles$ axel -n 10 -o /home/deepfuture/downfiles http://labs.xiaonei.com/apache-mirror/hadoop/core/hadoop-0.20.0/hadoop-0.20.0.tar.gz
Initializing download: http://labs.xiaonei.com/apache-mirror/hadoop/core/hadoop-0.20.0/hadoop-0.20.0.tar.gz
File size: 42813980 bytes
Opening output file /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]

0人推荐  
阅读(8)| 评论(0)| 引用(0) |举报

 

1
0
分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics