Monitor the dd command



This is the procedure to monitor progress of a dd. This will be specially useful when zeroing a drive.

  1. First, find out the process id of the dd process by running the following in the new virtual terminal.

     $ pgrep -l '^dd$'
     8789 dd
  2. Send the USR1 signal to the dd prcoess to retrieve stats in STDERR:

     $ sudo kill -USR1  8789

    Note: that as soon as the USR1 signal is detected, dd will print out the current statistics to its STDERR.

  3. After reporting the status, dd will resume copying.

  4. You can repeat the above kill command any time you want to see the interim statistics.

  5. To continuously monitor progress, you can make use of the watch command.