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: [email protected]
ReportedBy: [email protected]
QAContact: [email protected]
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.
--
Please use reply-all for most replies to avoid omitting the mailing list.
To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html