https://github.com/bbfamily/monitor_parallel
多进程并行运行管理监控
https://github.com/bbfamily/monitor_parallel
Last synced: 6 months ago
JSON representation
多进程并行运行管理监控
- Host: GitHub
- URL: https://github.com/bbfamily/monitor_parallel
- Owner: bbfamily
- Created: 2016-09-12T18:03:39.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2016-11-17T17:18:55.000Z (almost 9 years ago)
- Last Synced: 2025-03-27T06:22:10.053Z (6 months ago)
- Language: Python
- Homepage:
- Size: 1.3 MB
- Stars: 14
- Watchers: 4
- Forks: 19
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
# paraller monitor
* 目的解决并行运算长时间任务导致cpu长时间运行的问题,自动没隔一段时间挂起运行的进程,休息一段时间后再此运行
* 运行一段时间后,需要使用电脑cpu,可以暂定任务
* 父进程已经停止,统一关闭管理所有子进程,kill所有子进程
* 修改monitor_parallel.pth为你的位置,放入**lib/python2.7/site-packages库中方便随时使用
控制mul process挂起及恢复
避免长时间任务连续占据cpu,通过监控
classmethod add_procee进来的process
运行时间来确保cpu连续长时间稳定运行
ConfigParser+socket方式进程间传递消息,没有
使用Queue、Pipes目的一简单插入成熟模块
目的二适用于各个开源成熟并行框架如parallel等**
