ppid が同一のもののリストを作る
ps ho pid --ppid=xxxxxoptions
h ヘッダを出力しない
o pid 出力内容を編集し pid だけ出力する
kill に渡す
ps ho pid --ppid=xxxxx|xargs kill -9コンテナの掃除に便利
対象の ppid を完全に特定してから使うこと
おしまい

ps ho pid --ppid=xxxxxh ヘッダを出力しない
o pid 出力内容を編集し pid だけ出力する
ps ho pid --ppid=xxxxx|xargs kill -9コンテナの掃除に便利
対象の ppid を完全に特定してから使うこと
おしまい
Written by sakakinox
Server enginier