making dd to report the copy status
Dec.23, 2009 in
Think Linux
the linux “dd” command is indispensible to all sys admin. Many people already know that by killing the dd process with the usr1 signal, we can force it to display the file transfer status which is useful.
You can either run a script or check the dd process id from “ps aux”, then
kill -usr1 pid
The shell that runs the dd command will churn out the transfer status. cool!!
the signal man page is also useful:
man 7 signal

Leave a Reply