making dd to report the copy status

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

Author: bpeh

Bernard Peh is a great passioner of web technologies and one of the co-founder of Sitecritic.net Website Design and Reviews. He works with experienced web designers and developers everyday, developing and designing commercial websites. He specialises mainly in SEO and PHP programming.