-
# 执行文件
-
nohup python ./test.py &
-
终止程序
-
pkill -f "train_ISIC2017_resnet50_teacher.py"
-
#让不同文件输出到不同的日志文件中去 nohup python name.py > name.log 2>&1 & nohup python name.py > name.log 2>&1 &
-
查看程序
-
ps -ef|grep python
Linux——让程序在后台运行 &
于 2024-12-26 11:00:35 首次发布