Dd notes

From Zanecorpwiki

Jump to: navigation, search

Tracking Progress[1]

dd can take a very long time to run, but strangely does not report progress (by default or via any options). It is possible to query the progress with:

kill -USR1 `pgrep -l '^dd$' | awk '{print $1}'`

use watch to get regular updates:

watch -n 20 kill -USR1 `pgrep -l '^dd$' | awk '{print $1}'`

Note that if executing dd remotely, the progress will print on the initiating host, not on the host where the kill is executed.

References

  1. http://linuxcommando.blogspot.com/2008/06/show-progress-during-dd-copy.html