后台运行某程序 nohup train.py & tail -f nohup.out 进程 查看python进程 ps -ef | grep python 查看进程详细信息 先执行cd /proc/{PID} 再执行ls -l 干掉进程 kill -9 {PID}