dd command "progress bar"

Sat 28 March 2009

I am using sometimes

$ sudo dd if=/dev/urandom of=/dev/sdd1
$ sudo dd if=/dev/zero of=/dev/sdd1

and I would like to see the progress of dd command. So, do the following:

1. open a new terminal/console and type:

$ sudo killall -USR1

2. open the terminal/console where your dd is running and you will see something like this:

2242867712 bytes (2.2 GB) copied, 396.007 s, 5.7 MB/s
5625297+0 records in
5625297+0 records out

Anyway, your dd command will continue without any problem.
That's all!