I'm running 'rsync -a -i /foo /bar'. Every now and then I would like to know what exactly rsync is doing at the moment without having the -v output all the time. Is it possible to increase the verbosity of running processes e.g. by sending a kill signal?
I use
rsync -v --stats --progress
I would redirect the output in a file and then
tail -f
to see the output when desired:when needed:
In addition of -i, you can use --progress for more verbosity in sending data. for example:
If need more and more the better way is logging it as @Marc M said above.
The
rsync
documentation does not describe such behaviour, nor is there a (proper or de-facto) standard signal to send to a process in order to modify its verbosity.However thanks to the incremental nature of
rsync
you should be able to abort a runningrsync
with Ctrl+C and re-run it with '-v' and not lose much time as a consequence.