同一プロセスグループのプロセスをまとめて kill


$ kill -- -$PID

infoに書いてあった。

If PID is less than -1, the signal is sent to all processes in
the process group that equals the absolute value of PID.

コメントする

メールアドレスが公開されることはありません。 が付いている欄は必須項目です

This site uses Akismet to reduce spam. Learn how your comment data is processed.