On Mon, Jun 25, 2018 at 06:07:23PM -0600, Todd C. Miller wrote:
> As someone else mentioned you would use pkill on OpenBSD.
> 
> However, you will also need to use SIGINFO, not SIGUSR1, to get
> dd's status.  BSD systems have traditionally used SIGINFO for this
> purpose.  Linux lacks SIGINFO so there is no consistent signal for
> this kind of a thing there.
> 
>  - todd

... and do not send random signals to all processes.  Find some way to
target the right signal to the right process.  For example from a shell
script starting a dd background process use kill $! which will send a
signal to the most recent background command.


-- 

/ Raimo Niskanen, Erlang/OTP, Ericsson AB

Reply via email to