Linux 按照文件名找到所有Python 进程并且结束
kill $(ps aux | grep XXX.py | grep -v grep | awk '{print $2}')
https://leimao.github.io/blog/PyTorch-Distributed-Training
原创文章,作者:wdmbts,如若转载,请注明出处:https://blog.ytso.com/276644.html
kill $(ps aux | grep XXX.py | grep -v grep | awk '{print $2}')
https://leimao.github.io/blog/PyTorch-Distributed-Training
原创文章,作者:wdmbts,如若转载,请注明出处:https://blog.ytso.com/276644.html