Page 1 of 1

Status of "dd" process

Posted: Mon Aug 01, 2011 11:51 am
by ^rooker
[PROBLEM]
When using the powerful tool "dd", it would sometimes be nice to know how much data is has already copied. By default it's not outputting anything until it's done.

[SOLUTION]
Sending a "USR1" signal to the dd process, will make it output its status:

Code: Select all

kill -USR1 <process_id_of_dd>
In case you'd like to have status information printed out every x seconds, just use "watch" in combination:

Code: Select all

watch -n <seconds> kill -USR1 <process_id_of_dd>