samba-bugs at samba.org
2015-Oct-19 23:30 UTC
[Bug 11561] New: [PATCH] Show progress information when SIGINFO is caught on platforms that have it
https://bugzilla.samba.org/show_bug.cgi?id=11561 Bug ID: 11561 Summary: [PATCH] Show progress information when SIGINFO is caught on platforms that have it Product: rsync Version: 3.1.2 Hardware: All OS: All Status: NEW Severity: normal Priority: P5 Component: core Assignee: wayned at samba.org Reporter: des at des.no QA Contact: rsync-qa at samba.org Created attachment 11508 --> https://bugzilla.samba.org/attachment.cgi?id=11508&action=edit Show progress information when SIGINFO is caught The attached patch causes the receiver to show the current file name and the progress line (same output as --progress) when SIGINFO (traditionally bound to ^T on ttys in BSD derivatives) is caught. Compare with, for instance, tcpdump, which prints statistics (the same information that it usually prints when you kill it) on SIGINFO. -- You are receiving this mail because: You are the QA Contact for the bug.
samba-bugs at samba.org
2015-Oct-19 23:44 UTC
[Bug 11561] [PATCH] Show progress information when SIGINFO is caught on platforms that have it
https://bugzilla.samba.org/show_bug.cgi?id=11561 Dag-Erling Smørgrav <des at des.no> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #11508|0 |1 is obsolete| | --- Comment #1 from Dag-Erling Smørgrav <des at des.no> --- Created attachment 11509 --> https://bugzilla.samba.org/attachment.cgi?id=11509&action=edit Show progress information when SIGINFO is caught Updated patch eliminates compiler warning on platforms that lack SIGINFO. -- You are receiving this mail because: You are the QA Contact for the bug.
samba-bugs at samba.org
2019-Jun-05 12:17 UTC
[Bug 11561] [PATCH] Show progress information when SIGINFO is caught on platforms that have it
https://bugzilla.samba.org/show_bug.cgi?id=11561 --- Comment #2 from Daniel O'Connor <darius at dons.net.au> --- What are the prospects for getting this committed? It works fine on FreeBSD & OSX applied to the latest Samba release and it's quiiiite handy. -- You are receiving this mail because: You are the QA Contact for the bug.
samba-bugs at samba.org
2020-Apr-05 22:09 UTC
[Bug 11561] [PATCH] Show progress information when SIGINFO is caught on platforms that have it
https://bugzilla.samba.org/show_bug.cgi?id=11561 Wayne Davison <wayne at opencoder.net> changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |FIXED Status|NEW |RESOLVED --- Comment #3 from Wayne Davison <wayne at opencoder.net> --- This is a cool idea, but I hadn't taken the time (before today) to tweak it to make it work just right. As written it only output status on a pull, not a push (and thus not for a local copy which uses the push idiom internally). It also had a bug in the output of the file counts (the to-chk=N/TOTAL values) since we now need to set the file index values even when --progress isn't enabled (since a progress output can happen at any time now). I also made it not output the file name again if rsync is running with -v or -i and a status request comes in (it now outputs just the status line under the existing filename). I also wanted it to be able to work for Linux, so I decided to enable the instant progress output on SIGVTALRM as well as SIGINFO (since Linux doesn't support SIGINFO). Finally, I decided to change the type of status that gets output to the total-transfer info that is output when using --info=progress2. This gives you the total file size processed, percent of finished file sizes vs total file sizes (for known files), and the average speed of all received data since the start of the transfer (this is both because the show_progress() calls are not being made and because I think the total-transfer stats are more useful in this sporadic display). -- You are receiving this mail because: You are the QA Contact for the bug.