The DD command runs on the Linux operating system, and we use the "KILLALL-USR1 DD" command to display the progress of the current DD command burning, but executing this command on OS X may cause the DD process to abort;
Wikipedia's introduction to the DD command says: "to a runningdd
Process SendSiginfoThe signal (USR1 on Linux) allows it to print I/O statistics toStandard erroronce, and then continue copying (note that on OS X, the signal can cause the process to terminate). "The focus is on the SIGINFP signal, whichsends a siginfo signal to a running process using" KILLALL-USR1 DD "on Linux, but the command to send Siginfo to the process in OS X is not " KILLALL-USR1 DD " , instead of "Kill-siginfo PID" or "killall-29 dd" (because Siginfo is numbered 29 in OS X, it can be viewed using kill-l siginfo);
Here's how to use the demo:
1. Use PS aux to get the PID that the DD command is currently running;
# PS aux | grep DD | Grep-v "grep" # root 40637 0.0 0.0 2463108 2136 s006 s+ 7:07 pm 0:00.01 sudo dd If=downloads/opensu Se-leap-42.2-dvd-x86_64.iso/opensuse-leap-42.2-dvd-x86_64.iso Of=/dev/disk5 bs=1m
2. Use the KILL command to send the siginfo signal to the DD command PID;
# sudo kill-siginfo 40637
3, you can display the DD command is currently burning USB drive progress;
578+0 Records in577+0 records out605028352 bytes transferred in 201.823793 secs (2997805 bytes/sec)
Or:
sudo killall-29 dd #一条命令搞定!
Note: The output of the information unit is bytes, please convert to MB,GB;
This article is from the "Wangjian it road!" "Blog, be sure to keep this provenance http://asherwang.blog.51cto.com/11255017/1942171
Mac OS X view DD command to burn USB drive Progress