运行:$ nohup python train.py &
输出id号:[1] 16363
输出: nohup: ignoring input and appending output to ‘nohup.out’
记录id号,备用。
查看.py文件名下运行的程序id:$ ps -aux | grep train.py
查看程序id号下运行情况:$ ps -aux | grep 16363
ps 查看当前运行的程序id
运行:$ nohup python train.py &
输出id号:[1] 16363
输出: nohup: ignoring input and appending output to ‘nohup.out’
记录id号,备用。
查看.py文件名下运行的程序id:$ ps -aux | grep train.py
查看程序id号下运行情况:$ ps -aux | grep 16363
ps 查看当前运行的程序id