Giter Site home page Giter Site logo

daemon's Introduction

测试环境:
centos 7

现有服务:
memory_monitor:监控某个进程的内存使用量,如果使用量超过6%(可通过配置文件设置)则强制终结
test:测试

执行方法:
启动所有eayunstack相关的服务
python control.py start
关闭所有eayunstack相关的服务
python control.py stop
重启所有eayunstack相关的服务
python control.py restart

memory_monitor要求
1.需要安装python-daemon和yaml的包
2.执行此服务需要超级用户权限
3.执行前,需将以内存使用量来排序的设置写入top的配置文件(先输入top,再输入M,最后输入W)


daemon's People

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.