Threat Level: green Handler on Duty: Didier Stevens

SANS ISC: dd progress indicator on Linux - Internet Security | DShield SANS ISC InfoSec Forums

Sign Up for Free!   Forgot Password?
Log In or Sign Up for Free!
dd progress indicator on Linux

When I have to use dd (if I can, I use dc3dd) I try to remember to include option status=progress to have a progress indicator.

Last time on a Linux machine, I forgot to include that option. Reading the man page for a solution, I found this:

I could get a progress indication, without having to restart dd with the missing status option, by sending it the sigusr1 signal (on Linux).


Didier Stevens
Senior handler
Microsoft MVP


240 Posts
ISC Handler
Such a great tip! Again... waiting right in front of our eyes, on the man page all along. Thanks.

1 Posts Posts
nice tip. I like pv also. dd if=/xxx | pv | dd of=/yyy
Good tip! I was not familiar with pv.

240 Posts Posts
ISC Handler
This works really well so long as you remember to send the correct signal. Otherwise, it can be somewhat embarrassing to find out that your dd has somehow died (*cough* caught a kill signal)

I may or may not have done this before... :-)
Thanks for the tip! I too found pv because I couldn't achieve progress with dd.

3 Posts Posts
Quoting Anonymous:nice tip. I like pv also. dd if=/xxx | pv | dd of=/yyy

Useless use of dd!

</xxx pv >/yyy

Sign Up for Free or Log In to start participating in the conversation!