dd progress

Run normal dd normal like:

/bin/dd if=gw-1.iso of=/dev/sr0

For progress open a new terminal on the host and run:

killall -USR1 dd

dd’s working and it puts you info to the terminal.

e.g.:

353049+0 Datens├Ątze ein
353049+0 Datens├Ątze aus
180761088 Bytes (181 MB) kopiert, 254,912 s, 709 kB/s

some script snippets:


#!/bin/sh

dd if=$1 of=$2 &
while [ !  $(ps -p $! > /dev/null ) ]; do kill -USR1 $! ; sleep 1; done
exit 0