How To Watch The Progress Of Existing Rsync Process

Posted by Weston Ganger

Oops you ran a long running rsync task and its taking forever. Now your wondering if its frozen. Here are two methods to see what rsync is doing.


# see what its doing
strace -e open $(ps -o lwp= -LC rsync | sed 's/^/-p/')

# see which files it currently has open
lsof -ad3-999 -c rsync


Related External Links:

Article Topic:Software Development - Linux

Date:January 03, 2017

Recommended Posts

Contact

604-309-8713
info@solidfoundationwebdev.com

Send Me A Message

I would love to get in touch and talk about your next project. Feel free to send a message and I will get back to you shortly.

Get Connected