Status of "dd" process

Linux howto's, compile information, information on whatever we learned on working with linux, MACOs and - of course - Products of the big evil....
Post Reply
User avatar
^rooker
Site Admin
Posts: 1483
Joined: Fri Aug 29, 2003 8:39 pm

Status of "dd" process

Post 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>
Jumping out of an airplane is not a basic instinct. Neither is breathing underwater. But put the two together and you're traveling through space!
Post Reply