[Bug 10636] New: Feature request: Show current source path on receipt of Posix signal

samba-bugs at samba.org samba-bugs at samba.org
Tue May 27 08:08:24 MDT 2014


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

           Summary: Feature request: Show current source path on receipt
                    of Posix signal
           Product: rsync
           Version: 3.1.0
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: enhancement
          Priority: P5
         Component: core
        AssignedTo: wayned at samba.org
        ReportedBy: brent at jfi.uchicago.edu
         QAContact: rsync-qa at samba.org


It would be nice if rsync would print the subdirectory path it is currently
traversing on the sending host to stderr on receipt of some signal, perhaps
with a percent done as well.  The dd command does something similar; when sent
SIGUSR1, it prints its i/o statistics and how much has been copied.

The reason this would be nicer than rsync's --verbose and --progress options is
because they're *too* verbose -- they print messages for almost everything. 
One has to redirect the output from them to a file, otherwise anything one is
looking for will probably scroll off the terminal before it can be read.

A signal would let the user get a quick overview of what is happening right
now, when the information is wanted, emitting no more than a line or two of
information.  Printing of the currently traversed path would help in diagnosis
of performance problems that may be caused by the data itself (thousands or
millions of files in a folder).

Most of this could be done with current options by enabling --verbose and
redirecting output to a file, and then running tail on that file, but it's
inconvenient, and probably the file would just be deleted later after being
read.

-- 
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