1.0.0-alpha.4 • Published 3 years ago

nodestatus-client v1.0.0-alpha.4

Weekly downloads
-
License
MIT
Repository
github
Last release
3 years ago

NodeStatus-client

The client of NodeStatus written in TypeScript

How To Use

1、Install Node.js first

2、Install NodeStatus-client

npm i pm2 nodestatus-client -g
status-client -dsn "ws://username:password@localhost" # start nodestatus-client
status-client-run -dsn "ws://username:password@localhost" # start nodestatus-client with pm2
pm2 status # check running status
pm2 log nodestatus-client # check logs

Usage

Usage: status-client [options]

Options:
  -dsn, --dsn <dsn>          Data Source Name, format: ws(s)://username:password@host:port (default: "")
  -h, --host <host>          The host of the server (default: "")
  -u, --user <username>      The username of the client
  -p, --password <password>  The password of the client
  -p, --port <port>          the port of the server
  -i, --interval <interval>  the interval (default: "1500")
  --help                     display help for command