linux后台运行程序:
nohup python -u main.py > log.file 2>&1 &
查看输出的命令:
tail -f log.file
查看任务
ps -aux|grep chat.js
终止任务
jobs -l
Smilie Vote is loading.
turn on
linux后台运行程序:
nohup python -u main.py > log.file 2>&1 &
查看输出的命令:
tail -f log.file
查看任务
ps -aux|grep chat.js
终止任务
jobs -l