Skip to content

How to kill all subprocesses?

Qunliang Xing edited this page Jul 20, 2021 · 2 revisions
pkill -f train.py
# or
kill -9 `ps -ef | grep train.py | grep -v grep | awk '{print $2}'`
Clone this wiki locally