Rsync & SCP Speed limit

Source: Internet
Author: User
Tags rsync

One, SCP speed limit 1M

#scp-l 1000 file name account @ remote machine IP

At this point the transfer rate is 1m/8=100k around

Second, Rsync is (limited to 100k bytes/s):

#rsync-auvzp--bwlimit=100 Local Files Remote files

Parameter description:

V: Detailed Tips

A: Operation in archive mode, copy directory, symbolic connection, equivalent to-rlptgod.

Z: Compression

U: Update only to prevent local new files from being rewritten, noting both machine clocks while

P: is a synthesis of--partial--progress two parameters,

So at this point, rsync supports the continuation of the breakpoint.

Files between computer rooms are generally concerned about bandwidth consumption, especially in the case of shared bandwidth. Two commonly used software can speed limit:

SCP can be prefixed with the-l parameter:

Reference

-L Limit

Limits The used bandwidth, specified in kbit/s.

Rsync can be added with--bwlimit parameters

Reference

-I,--itemize-changes output a change-summary for all updates

--log-format=format output filenames using the specified format

--password-file=file read password from file

--list-only list the files instead of copying them

--bwlimit=kbps limit I/O bandwidth; Kbytes per second

--write-batch=file Write a batched update to FILE

--only-write-batch=file like--write-batch but w/o updating dest


This article is from the "OPS rookie" blog, please be sure to keep this source http://ckl893.blog.51cto.com/8827818/1682243

Rsync & SCP Speed limit

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.