I am trying to write Raspbian to an SD card and see the progress of the write procedure, is there another command that will do this?
Asked
Active
Viewed 5,438 times
1 Answers
1
To see the progress of dd
, You can use eg. this command to send usr1 signal. When dd
receive the signal it will print it's current status.
Open an extra terminal window and copy paste this:
sudo kill -usr1 $(ps aux | grep " dd " | grep -v sudo | grep -v grep | awk 'begin{}{print $2}end')
If you want to do it manually, use ps aux
and find the pid of dd
.If you run dd
with sudo
, you should also use sudo
for kill
command. sudo kill -usr1 pid
Edit:
Found a shorter one-line here using pgrep
https://askubuntu.com/a/215521/196592
However, when I am at it, I see no reason for not using pkill
instead eg. sudo pkill -USR1 ^dd

Anders F. U. Kiær
- 2,171
-
I will give that a try next time I dd it finished writing while I was waiting for replies up votes in the future – Todd May 29 '15 at 23:36
-
After reading further on dcfldd I wonder why it isn't incorporated into ubu/linux as a standard command – Todd May 29 '15 at 23:41
sudo apt-get install dcfldd
. – saiarcot895 May 29 '15 at 23:08