国产探花免费观看_亚洲丰满少妇自慰呻吟_97日韩有码在线_资源在线日韩欧美_一区二区精品毛片,辰东完美世界有声小说,欢乐颂第一季,yy玄幻小说排行榜完本

首頁 > 系統 > Linux > 正文

linux下Supervisor進程管理

2024-08-28 00:00:03
字體:
來源:轉載
供稿:網友

超級用戶,監管員 Supervisor 超級用戶是一個負責管理和維護網絡的用戶,這個術語在NetWare網上有特殊的含義,超級用戶對所有的文件卷宗、目錄和文件有完全的訪問權限,下面我們來看一個Supervisor進程管理.

功能,優點,配置簡單,管理精準,進程組管理,RPC擴展,API支持,FastCGI進程管理,事件支持(如定時任務)

缺點:被管理進程必須前臺運行,退出后會使被監管的進程也退出.

配置:

  1. [unix_http_server] 
  2. file=/var/run/supervisor.sock 
  3. chmod=0700 
  4. [supervisord] 
  5. logfile=/var/log/supervisor/supervisord.log 
  6. pidfile=/var/run/supervisord.pid 
  7. childlogdir=/var/log/supervisor 
  8. [rpcinterface:supervisor] 
  9. supervisor.rpcinterface_factory = supervisor.rpcinterface:make_main_rpcinterface 
  10. [supervisorctl] 
  11. serverurl=unix:///var/run/supervisor.sock 
  12. [program:cow] 
  13. command=/web/root/bin/cow -rc="/web/root/etc/cow.conf" 
  14. autostart=true 
  15. autorestart=true 
  16. redirect_stderr=true 
  17. stderr_logfile=NONE 
  18. --Vevb.com 
  19. [include] 
  20. files = /etc/supervisor/conf.d/*.conf 

操作:

supervisorctl status 查看進程狀態

supervisorctl reload 重啟supervisord

supervisorctl start|stop|restart 啟動關閉重啟進程

發表評論 共有條評論
用戶名: 密碼:
驗證碼: 匿名發表
主站蜘蛛池模板: 隆德县| 屏东县| 东兴市| 德令哈市| 瓦房店市| 拜泉县| 广平县| 聂拉木县| 铁岭县| 龙山县| 三台县| 靖边县| 海原县| 彰武县| 方山县| 双江| 铜川市| 龙州县| 大丰市| 健康| 夹江县| 大渡口区| 塔河县| 龙山县| 芒康县| 伊金霍洛旗| 蓬莱市| 黑水县| 万宁市| 图们市| 玛沁县| 丰原市| 宜兰市| 皮山县| 龙里县| 曲沃县| 蓝山县| 家居| 尤溪县| 浦北县| 宁远县|