4 ms·
Or use "kill -0 <pid>" to check if a signal can be sent/the pid exists.
by twinge 13y ago
Or use "kill -0 <pid>" to check if a signal can be sent/the pid exists.
- rahimnathwani 13y agoOr use kill -USR1 <pid> to check the progress of dd
- DHowett 13y agoOnly 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.
- jsight 13y agoIs that a BSD thing? I've never had to enable it on Linux to avoid killing the process.
- rahimnathwani 13y agoMe neither, on debian.
- Freaky 13y agoIt's SIGINFO on the BSD's, and works with just about any process (though obviously not everything has a customized handler). Also handily mapped to Ctrl-T.