View the process
ps -ef | grep python
Close process
kill -9 26879
Where 26879 is the process ID.
linux under the background of a script
nohup python -u xxx.py > out.log 2>&1 &
Which xxx.py is your python script file to be executed
View the process
ps -ef | grep python
Close process
kill -9 26879
Where 26879 is the process ID.
linux under the background of a script
nohup python -u xxx.py > out.log 2>&1 &
Which xxx.py is your python script file to be executed