Skip to content

Instantly share code, notes, and snippets.

@vignesh0025-zz
Created December 25, 2015 13:14
Show Gist options
  • Save vignesh0025-zz/25ad0328b4ba6f0e9e56 to your computer and use it in GitHub Desktop.
Save vignesh0025-zz/25ad0328b4ba6f0e9e56 to your computer and use it in GitHub Desktop.
display dd command feedback
To see the progress of dd once it's running, open another terminal and enter:
sudo kill -USR1 $(pgrep ^dd)
Regular:
watch -n5 'sudo kill -USR1 $(pgrep ^dd)'
watch will probe the dd process every -n seconds (-n5 = 5 seconds) and report without halting it.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment