[Bug 10738] New: report --stats output when termination signal arrives

samba-bugs at samba.org samba-bugs at samba.org
Wed Jul 23 19:56:30 MDT 2014


https://bugzilla.samba.org/show_bug.cgi?id=10738

           Summary: report --stats output when termination signal arrives
           Product: rsync
           Version: 3.0.9
          Platform: x64
        OS/Version: Linux
            Status: NEW
          Severity: enhancement
          Priority: P5
         Component: core
        AssignedTo: wayned at samba.org
        ReportedBy: mark.bugzilla at winksmith.com
         QAContact: rsync-qa at samba.org


i am using Ubuntu 12.04.4LTS.  The use case I have is to run an rsync during
the hours of 1am to 7am.  I use the timeout(1) program for this purpose:

    timeout -s ALRM 6h rsync --stats -av /source /destination

With the above usage, rsync receives a SIGALRM signal after 6h of running. 
when this happens, it just terminates with no further output.

I would find it useful to display the current --stats output when the signal
arrives.  This signal may SIGINT, SIGTERM, or SIGALRM, but in my case, I would
really like SIGALRM to be handled at the very least.  I can definitely see a
user wanting to see stats even when they type ^C on the terminal though
(SIGINT).

-- 
Configure bugmail: https://bugzilla.samba.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.


More information about the rsync mailing list