Re:Why not kill -9 a process?
by twinge on Tuesday January 28, 2014 @12:46AM
(#7135572)
Or use "kill -0 <pid>" to check if a signal can be sent/the pid exists.
[ Parent
| on HN ]
Re:Why not kill -9 a process?
by rahimnathwani on Tuesday January 28, 2014 @01:07AM
(#7135634)
Or use kill -USR1 <pid> to check the progress of dd
Only if you've enabled it. If you've not, the process will terminate unceremoniously (in a mechanism borne entirely out of hatred for users.)
This is my favourite part of dd: The "will I receive a status report or will I terminate my long-running copy?" gamble.
Is that a BSD thing? I've never had to enable it on Linux to avoid killing the process.
Re:Why not kill -9 a process?
by rahimnathwani on Tuesday January 28, 2014 @12:12PM
(#7138249)
Me neither, on debian.