服务器后台跑程序

mac2025-03-01  3

切换到当前目录

后台运行: nohup python3 ./train.py &

查看关于python的进程: ps -ef |grep python

查看运行过程中的信息 tail -fn 300 ./nohup.out

杀死进程 kill -15 进程id号

最新回复(0)