Giter Club home page Giter Club logo

sgt's Introduction

SGT

背景

此进程在滴滴云上用于管理机器上面的其他agent,比如监控的agent、安全的agent,管理主要是:安装、升级、卸载、查看启动状态,不做其他事情。省去客户手工安装其他agent的工作。

安装

虚机创建的时候会自动安装此进程,如需对存量虚机安装,可以执行:

curl -s http://mirrors.intra.didiyun.com/didiyun_resource/sgd-v1.sh | bash

只能在滴滴云的虚机里运行这条指令,适用64位linux系统

资源占用

安装完成之后机器上会有sgd和sga两个进程,sgd内存占用小于10MB,承担管理其他agent的核心业务逻辑,sga内存占用小于4MB,是sgd进程的伴生进程,在sgd挂掉的时候负责将其拉起。cpu使用率小于1%

规范要求

sgd管理的其他agent需要提供control脚本,打到tar.gz包里,control脚本需要具备可执行权限,支持这些参数:pid | version | start | stop | uninstall | install,sgd就是利用业务agent的control脚本来做管理的

sgt's People

Contributors

ulricqin avatar wbtiger avatar

Watchers

James Cloos 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.