[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: DD command



2008/12/19 rjubio <rjubio@gmail.com>:
> How long does a dd command take for an 80 GB IDE hd?
>
>
> --
> To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org with a subject
> of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
>
>

Hey,

As a tangent to the question, try running it in the background and
checking the progress using kill -USR1
This should make it easier to figure out how long it will take.

>From the dd man page:

|       Sending a USR1 signal to a running 'dd'  process  makes  it  print  I/O
|       statistics to standard error and then resume copying.
|
|              $ 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

cheers,
Owen.


Reply to: