type
status
date
slug
summary
tags
category
icon
password
supervisord简介:
supervisord是一个c/s模式的进程管理程序,它可以用来监控应用程序的进程,并且可以管理应用程序的start/stop/restart/reload等功能。
安装supervisord:
supervisord配置文件:
supervisord监控进程配置文件:
启动supervisord程序:
打开http://IP:9080,输入用户名和密码就可以在web页面查看监控的应用程序:

supervisordctl命令行
命令 | 参数 | 作用 |
supervisorctl | stop program:name | 停止配置文件中的某个应用程序 |
supervisorctl | start program:name | 启动配置文件中的某个应用程序 |
supervisorctl | restart program:name | 重启配置文件中的某个应用程序 |
supervisorctl | stop all | 停止全部进程 |
supervisorctl | relod | 载入新配置文件然后启动应用程序 |
supervisorctl | update | 载入新配置文件启动,没有改变就不重启进程 |
supervisorctl | tail program:name | 查看应用程序的日志 |
- 作者:lion
- 链接:https://blog-flame-tau.vercel.app/article/supervisord%E5%AE%89%E8%A3%85%E4%BD%BF%E7%94%A8
- 声明:本文采用 CC BY-NC-SA 4.0 许可协议,转载请注明出处。
相关文章