martymac / fpart

Sort files and pack them into partitions
https://www.fpart.org/
BSD 2-Clause "Simplified" License
231 stars 39 forks source link

Currently transferred data measurement? #27

Closed gamename closed 4 years ago

gamename commented 4 years ago

Hi Ganael,

Is there any way to figure out how much data has been transferred while FPSync is running?

For example, if I start a transfer of a 3TB volume, how can I tell after 3 hours how much has actually been sent?

Possible?

Thank you, -Tennis

martymac commented 4 years ago

Hello Tennis,

You can see the current transfer status by sending a SIGINFO to fpsync (on FreeBSD, this can be done by pressing CTRL-T. On GNU/Linux, you can use the kill command to send it). It will display the number of partitions transferred so far, the number of partitions remaining, and estimated remaining time. It will not display data volumes, I keep the idea in mind as this is related to issue #24

Best regards,

Ganael.

gamename commented 4 years ago

Hi Ganael,

I don't think GNU/Linux has a SIGINFO signal.

martymac commented 4 years ago

Hello Tennis,

signal(7) man page shows SIGINFO (29).

You can use it that way :

$ kill -29

Best regards,

Ganael.

gamename commented 4 years ago

Thanks!