LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   how to get rsync status and how to make prioritize rsync jobs? (https://www.linuxquestions.org/questions/linux-newbie-8/how-to-get-rsync-status-and-how-to-make-prioritize-rsync-jobs-4175548812/)

rayalab 07-24-2015 04:35 AM

how to get rsync status and how to make prioritize rsync jobs?
 
Hi,

I have few rsync jobs running on server.

I need to check the following:

-current estimated finish time
-current throughput
-transferred data
-how much is left to transfer
-restart the upload if it stops
-how to determine if the transfer is still ongoing or stop?
-I need to prioritize the emergency files. how can I do?

Can you please help me for the above requirement.

Thanks.

descendant_command 07-24-2015 04:58 AM

Run it with the --progress switch will give some more info.
Also, iotop, iftop etc. can provide some more.

Quote:

I have few rsync jobs running on server.
Hw many jobs and files - rsync can be pretty memory-intenstive if you have a lot of files.

rayalab 07-24-2015 05:26 AM

Thanks for your reply.

This is what we are doing.

1. we will put files on one system whenever we want to transfer to all servers.
2. java process checks for each 1 hour, and generate rsync commands to transfer the files to all servers.
3. this is a continuous process.
4. java checks the size of the files in both target and source, if both are not identical then transfer starts again.

the above is existing system.
Now my requirement is :
I have to show the runtime status with below details against each file name.

-current estimated finish time
-current throughput
-transferred data
-how much is left to transfer
-restart the upload if it stops
-how to determine if the transfer is still ongoing or stopped?


All times are GMT -5. The time now is 06:22 PM.