dean 0c1c82e67d first commit in gogs. преди 6 години
..
DYProcessManager.py 0c1c82e67d first commit in gogs. преди 6 години
DyComponentSoketAgent.py 0c1c82e67d first commit in gogs. преди 6 години
DyDanMuProcessDeamon.py 0c1c82e67d first commit in gogs. преди 6 години
Msg_Sender.py 0c1c82e67d first commit in gogs. преди 6 години
ProcessCpuUseage.py 0c1c82e67d first commit in gogs. преди 6 години
PyServerMonitor.py 0c1c82e67d first commit in gogs. преди 6 години
README.md 0c1c82e67d first commit in gogs. преди 6 години
SendCommandWithSalt.py 0c1c82e67d first commit in gogs. преди 6 години
__init__.py 0c1c82e67d first commit in gogs. преди 6 години
component_alived_check.py 0c1c82e67d first commit in gogs. преди 6 години
component_controler.py 0c1c82e67d first commit in gogs. преди 6 години
randomlog_compared.py 0c1c82e67d first commit in gogs. преди 6 години

README.md

基于linux screen的一些进程控制和指令下发的工具集合

名称 用法 功能 参数说明
component_controler.py python component_controler.py [screen name][range] [command] [odd/even] 对screen内的进程发送指令 python component_controler.py screen1-10 restart even 对名为screen1、screen2...screen10在内的10个screen 取偶数发送restart指令
component_alived_check.py python component_alived_check.py 数据库查询进程工作状态 NONE
DyComponentSoketAgent.py python DyComponentSoketAgent.py component_controler的socket server实现 无参数,进程常驻
Msg_Sender.py NONE 通过RPC调用cpp的短信接口 NONE
PyServerMonitor.py python PyServerMonitor.py 获取cpp组件运行状态并根据磁盘,cpu、内存等状态发送短信告警 依赖Msg_Sender模块,进程常驻
DyDanMuProcessDeamon.py python DyDanMuProcessDeamon.py 针对部分有内存泄露现象的进程,做进程守护,以及到达阀值触发重启 依赖PyServerMonitor模块,进程常驻
DYProcessManager.py python DYProcessManager.py 基于数据库进程写入状态做的进程守护 依赖component_controler, 进程常驻