Difference between revisions of "CentOS 7.x parallel command line download"

From Notes_Wiki
(Created page with "<yambe:breadcrumb>CentOS_7.x_command_line_tools_and_utilities|CentOS 7.x command line tools and utilities</yambe:breadcrumb> =CentOS 7.x parallel command line download= For p...")
 
m
Line 9: Line 9:
</pre>
</pre>
Here, -16 refers to number of parallel threads that should be used for downloading given file / URL.
Here, -16 refers to number of parallel threads that should be used for downloading given file / URL.
'''If the goal is to check bandwidth between two machines then [[CentOS 8.x iperf3|iperf3]] has better options to the same without getting into setting up webserver and a large file to download.'''

Revision as of 04:57, 11 November 2020

<yambe:breadcrumb>CentOS_7.x_command_line_tools_and_utilities|CentOS 7.x command line tools and utilities</yambe:breadcrumb>

CentOS 7.x parallel command line download

For parallel download in centOS 7.x install aria2 package and use aria2c command as follows:

   yum -y install aria2
   aria2c -x 16 http://centos.excellmedia.net/6/isos/x86_64/CentOS-6.9-x86_64-bin-DVD1.iso

Here, -16 refers to number of parallel threads that should be used for downloading given file / URL.

If the goal is to check bandwidth between two machines then iperf3 has better options to the same without getting into setting up webserver and a large file to download.