linux 下 python 常用的命令


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


查询 启动的 python  程序

ps -ef |grep python

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

原文地址:https://www.cnblogs.com/xibanqiu/p/13545590.html