本文详细介绍Linux操作系统下的多线程下载
迅雷外部出口带宽为100M,但是每次在linux下用wget感觉速度还是比较慢,要害是wget不支持多线程。
而在windows下用迅雷下载好后传到linux里面又麻烦,有没有linux命令行下的多线程下载工具呢?答案是有的。
lftp就是这样一个工具,可以这样来使用
[root@AS5 ~]# lftp -c "pget -n 10 http://downloads.sourceforge.net/kvm/kvm-17.tar.gz"
这样就指定线程为10个(pget -n 10),并且断点续传(-c)。
[root@AS5 ~]# lftp -v
LFTP | Version 3.5.1 | Copyright (c) 1996-2006 Alexander V. Lukyanov
LFTP is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
There is absolutely no warranty for LFTP. See COPYING for details.
Send bug reports and questions to .
Libraries used: Readline 5.1
可以看看它的 man 文档,说明如下:
############################
pget [OPTS] rfile [-o lfile]
Gets the specified file using several connections. This can speed up transfer,
but loads the net and server heavily impacting other users.
Use only if you really have to transfer the file ASAP. Options:
-c continue transfer. Requires lfile.lftp-pget-status file.
-n maxconn set maximum number of connections (default is taken from pget:default-n setting)
##############################
真的很不多,大家可以试试。多看看man手册,会有很多收获哦。
责编:豆豆技术应用
- Linux/Unix新闻
- Linux/Unix入门
- Linux/Unix命令
- Linux/Unix安装
- Linux/Unix编程
- Linux/Unix管理
- Linux/Unix桌面
- Linux/Unix内核
- Linux/Unix软件
- Linux/Unix发行版
- redhat/Fedora
- Ubuntu Linux
- IBM AIX
- FreeBSD
- Solaris
- NetBSD
- SCO Unix
- find基本用法
- ldd命令原理及用法例子
- su和sudo命令的区别与使用技巧
- Linux操作系统下的dd命令技巧
- 关于Top命令的参数详解
- 关于Tar命令的使用
- SSH实用技巧及常用命令使用
- Linux后台执行命令
- VI命令使用技巧集锦
- Vmstat命令列出的属性详解
- 如何查看及修改文件读写权限
- 最大可存储的单文件容量
- ext2/ext3文件系统介绍
- 常用压缩格式的压缩解压方法
- Linux系统的引导过程详细解析
- Configure参数解释说明
- Linux下硬盘和分区的命名方法
- 硬链接与软链接的区别
- 权限和所有权模型
- 存储设备的两种表示方法