4 ms·
Actually, you can send signal USR1 to a GNU `dd` process to see the progress: $ pgrep dd 22230 $ kill -USR1 22230 - and `dd` prints its progress.
by dmytrish 11y ago
Actually, you can send signal USR1 to a GNU `dd` process to see the progress:
$ pgrep dd
22230
$ kill -USR1 22230
- and `dd` prints its progress.
- stewbrew 11y agoI guess you could pkill directly. Anyway, this "trick" is mentioned on the man page, which isn't that long. No additional tool required.
- kenko 11y agoHuh, on my laptop (running OSX) it's SIGINFO. Read the man pages!
- TazeTSchnitzel 11y agoIf you're on OS X, it's SIGINFO instead. SIGUSR1 will kill it D: (This has caught me out before. Oh how I wish these things were standardised...)
- dmytrish 11y agoIt seems to be a difference between GNU and BSD variants of `dd`.
- TazeTSchnitzel 11y agoYeah, OS X doesn't use the GNU one. It's irritating that there's a difference.