Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
127 views
in Technique[技术] by (71.8m points)

What do the numbers in rsync's output mean?

When I run rsync with the --progress flag, I get information about the transfers as follows.

path/to/file
          16 100%    0.01kB/s    0:00:01 (xfer#10857, to-check=427700/441502)

What do the numbers in the second row mean? I know what some of them are, but what do the others mean (marked with ??? below)?

16 ???

100% amount of transfer completed in this file

0.0.1kB/s speed of current file transfer

0:00:01: time elapsed in current file transfer

10857 count of files transferred

427700 ???

441502 ???

question from:https://stackoverflow.com/questions/625467/what-do-the-numbers-in-rsyncs-output-mean

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Reply

0 votes
by (71.8m points)

When the file transfer finishes, rsync replaces the progress line with a summary line that looks like this:

 1238099 100%  146.38kB/s    0:00:08  (xfer#5, to-check=169/396)

In this example, the file was 1238099 bytes long in total, the average rate of transfer for the whole file was 146.38 kilobytes per second over the 8 seconds that it took to complete, it was the 5th transfer of a regular file during the current rsync session, and there are 169 more files for the receiver to check (to see if they are up-to-date or not) remaining out of the 396 total files in the file-list.

from http://samba.anu.edu.au/ftp/rsync/rsync.html under --progress switch


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
OGeek|极客中国-欢迎来到极客的世界,一个免费开放的程序员编程交流平台!开放,进步,分享!让技术改变生活,让极客改变未来! Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...