The Go Language Process management tool-practice

Source: Internet
Author: User

GO-Written Process management tool GOSUV

GOSUV is a process management tool that is written in the go language. Inspired by Python-supervisor, he learned a lot about its functions and usage.

First, the characteristics of GOSUV:

    1. Web Console part of the focus on strengthening, because the frequency is too high, on the Web page can now be directly added to the first application, the Web page to view the log section has also been optimized, look not so laborious. Using the WebSocket connection backend, the front desk can instantly see the changes as the status changes.

    2. The reload command is not a reboot command, but instead reads the configuration file again and applies the part that has changed.

    3. The log section for output with ANSI color, no longer report XML RPC errors, this only with the Python XML RPC library will be out of this problem, write in the go language naturally does not have this problem.

    4. The configuration file was also changed by me in YAML format, which is much easier to modify. So the configuration is all placed in a file, easy to manage the program automation.

    5. Increased monitoring of CPU and memory

    6. Default Killasgroup, all startup programs will not have a residual process after they are stopped

    7. Added function of pushover notification for fatal status

    8. Support for GitHub's webhook, which triggers the update command and restarts the program when the GitHub code is updated

    9. GOSUV program has added self-updating function

is still in the trial stage, the personal use is quite cool.

Intercept the use of GIF

650) this.width=650; "src=" Https://raw.githubusercontent.com/codeskyblue/gosuv/master/docs/gosuv.gif "style=" border:0px;vertical-align:middle;margin:5px 0px;height:auto; "/>


This article is from the "funny Brother Notes" blog, be sure to keep this source http://qiuyt.blog.51cto.com/1229789/1955519

The Go Language Process management tool-practice

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.