Git Product home page Git Product logo

serverstatus-goclient's Introduction

ServerStatus-goclient

使用Golang写的ServerStatus-Hotaru客户端。

请直接下载release下的对应平台的二进制文件。

使用说明

运行时需传入客户端对应参数。

假设你的服务端地址是yourip,客户端用户名username,密码password

端口号35601

你可以这样运行

chmod +x status-client
./status-client -dsn="username:password@yourip:35601"

即用户名密码以:分割,登录信息和服务器信息以@分割,地址与端口号以:分割。

默认端口号是35601,所以你可以忽略端口号不写,即直接写username:password@yourip

或者使用一键脚本

wget https://raw.githubusercontent.com/cokemine/ServerStatus-goclient/master/install.sh

#安装

bash install.sh

#

bash install.sh -dsn username:password@yourip:35601

#修改配置

bash install.sh reset_conf #(re)

#卸载

bash install.sh uninstall #(uni)

Usage

  -dsn string
        Input DSN, format: username:password@host:port
  -h string
        Input the host of the server
  -interval float
        Input the INTERVAL (default 2.0)
  -p string
        Input the client's password
  -port int
        Input the port of the server (default 35601)
  -u string
        Input the client's username
  -vnstat
        Use vnstat for traffic statistics, linux only

serverstatus-goclient's People

Contributors

cokemine avatar cubercsl avatar renovate[bot] 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.