Home‎ > ‎Server config‎ > ‎

Monitor dd in OSX

check the status of 'dd' in progress (OS X)

Terminal - check the status of 'dd' in progress (OS X)
killall -INFO dd
2010-04-22 18:38:37
User: jearsh
Functions: killall
check the status of 'dd' in progress (OS X)

"killall -USR1 dd" does not work in OS X for me. However, sending INFO instead of USR1 works.

Alternatives

There are 8 alternatives - vote for the best!

Terminal - Alternatives
CTRL + T
2012-12-19 02:21:41
Tags: dd progress

Sends SIGINFO to the process. This is a BSD feature OS X inherited. You must have the terminal window executing dd selected when entering CTRL + T for this to work.

pv -tpreb /dev/sda | dd of=/dev/sdb bs=1M
2013-08-19 23:04:15
User: sc0ttyd
Functions: dd
Tags: dd progress pv,

Your platform may not have pv by default. If you are using Homebew on OSX, simply 'brew install pv'.

2014-01-28 03:09:25
User: sternebrau
Functions: sleep
Tags: dd progress

While a dd is running in one terminal, open another and enter the while loop. The sample output will be displayed in the window running the dd and the while loop will exit when the dd is complete. It's possible that a "sudo" will need to be inserted before "pkill", depending on your setup, for example:

while pgrep ^dd; do sudo pkill -INFO dd; sleep 10; done
while killall -USR1 dd; do sleep 5; done
2009-11-09 00:27:33
User: Mikachu
Functions: killall sleep

Stops when the (last) dd process exits.