关键词搜索

全站搜索
×
密码登录在这里
×
注册会员

已有账号? 请点击

忘记密码

已有账号? 请点击

使用其他方式登录

linux手册

linux supervisord命令–配置后台服务/常驻进程的进程工具

supervisor是一个用 Python 写的进程管理工具,可以很方便的用来在 UNIX-like 系统(不支持 Windows)下启动、重启(自动重启程序)、关闭进程(不仅仅是 Python 进程)。

语法格式: supervisord [参数]

常用参数:

status 查看程序状态
start 启动程序
stop 关闭程序
update 重启配置文件修改过的程序

参考实例

查看进程运行状态:

[root@linuxcool ~]# supervisorctl status

启动进程:

[root@linuxcool ~]# supervisorctl start 进程名

关闭进程:

[root@linuxcool ~]# supervisorctl stop 进程名

清空进程日志:

[root@linuxcool ~]# supervisorctl clear 进程名

重新载入配置文件:

[root@linuxcool ~]# supervisorctl update
点击QQ咨询
开通会员
上传资源赚钱
返回顶部
×
  • 微信支付
  • 支付宝付款
扫码支付
微信扫码支付
请使用微信描二维码支付
×

提示信息

×

选择支付方式

  • 微信支付
  • 支付宝付款
确定支付下载