Re: Progress of dd

Originally Posted by
rbc
I love the dd command. I use it frequently to zero out hard drives and flash drives, but when i issue the command, the cursor just sits there until it is done. I have no way of knowing how far along the process is. Is there something I can include in the command to tell me how much progress the dd command has made?
Yep it is even in the help file. I just ran dd --help and found this at the bottom:
Code:
$ dd if=/dev/zero of=/dev/null& pid=$!
$ kill -USR1 $pid; sleep 1; kill $pid
18335302+0 records in
18335302+0 records out
9387674624 bytes (9.4 GB) copied, 34.6279 seconds, 271 MB/s
After running the kill -USR1 command it will resume the transfer.
Desktop: Q6600 OC: 343 x 9, 4 GB RAM, 8600 GTS Twinview (22",17"), 1.5 TB RAID 5
Laptop: Lenovo T61 T7300 @ 2 GHz, 2GB RAM, Nvidia 140M Quadro, 160 GB harddrive
Remember to mark posts as [SOLVED] when your problem is resolved
Bookmarks