Kill python interpeter in linux from the terminal

前端 未结 7 661
情话喂你
情话喂你 2021-01-30 05:23

I want to kill python interpeter - The intention is that all the python files that are running in this moment will stop (without any informantion about this files). obviously th

7条回答
  •  时光取名叫无心
    2021-01-30 05:45

    If you want to show the name of processes and kill them by the command of the kill, I recommended using this script to kill all python3 running process and set your ram memory free :

    ps auxww | grep 'python3' | awk '{print $2}' | xargs kill -9
    

提交回复
热议问题