1:cenots7后台运行python脚本
nohup python -u Scheduler_job.py > debug.log 2>&1 &
2:查看当前运行的进程列表
netstat -tunlp
3:ps aux | grep python
查看包含python的进程
4:kill -9 14316 强制结束进程
5:gunicorn --config=config.py index:app
通过配置文件的方式,启动flask站点
1:cenots7后台运行python脚本
nohup python -u Scheduler_job.py > debug.log 2>&1 &
2:查看当前运行的进程列表
netstat -tunlp
3:ps aux | grep python
查看包含python的进程
4:kill -9 14316 强制结束进程
5:gunicorn --config=config.py index:app
通过配置文件的方式,启动flask站点
本文标题:收藏常用命令
本文链接:https://www.haomeiwen.com/subject/pvknuktx.html
网友评论