dd can take a command line argument to show progress, but often you don't know you want to see the progress until after you have already started it (and are wondering why it is taking so long). Run this in another terminal window and your dd will barf up it's progress every 600 seconds.

dick=$(ps a | grep "dd if" | grep -v -E "(sudo|grep)" | sed 's/^ *//' | cut -d " " -f 1); while sudo kill -USR1 ${dick} ; do sleep 600 ; done 
tips/dd_progress_one-liner.txt · Last modified: 2023-08-15 13:27 by snork
 
Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 3.0 Unported
Recent changes RSS feed Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki