linux 下 python 常用的命令


python  程序 后台启动
nohup python3 -u webservice_ins01.py production >nohup.out 2>&1 &


查询 启动的 python  程序

ps -ef |grep python

根据上述的pid 杀死进程
kill -9 pid

posted @ 2020-08-22 14:43  西半球  阅读(238)  评论(0编辑  收藏  举报