[Discuss] dd - is there any way to show the progress after it has started?

mskala at ansuz.sooke.bc.ca mskala at ansuz.sooke.bc.ca
Sun Jul 27 20:29:32 PDT 2014


On Sun, 27 Jul 2014, Murray Strome wrote:
> In any case, I would like to find out how far the dd operation has progresse
> d to this point so that I can estimate how much longer it will take. I
> have not found out a way to do this.
>
> Any suggestions?

Get the process ID using top or ps, and then send SIGUSR1 to the process
using "kill -USR1".  See the "dd" man page for an example.  You can even
set up a loop in the shell to send the signal periodically, something like
this:

while true ; do kill -USR1 12345 ; sleep 60 ; done

-- 
Matthew Skala
mskala at ansuz.sooke.bc.ca                 People before principles.
http://ansuz.sooke.bc.ca/


More information about the Discuss mailing list