a simple serverStatus mointor
APACHE-2.0 License
|_ web React
|_ server
|_ client
, Client, Web, server.
Server Workerman
, config.phptoken, ServerWorkermanWeb, Web, /sever/Web/Applications/Web/ .
/Server, composer install
php start.php start
. Websocket8282, Web8283.
php start.php start -d #
php start.php stop #
php start.php status -d #
WebReact
/webnpm install
, /web/src/config.js, npm run build
.
/web/build. nginx, /server/Applications/Web/ web
clone, client, Release.
Usage of serverStatus:
-duration int
Data send Duration, Unit:ms (default 5000)
-host string
Server address (including protocol,ip and port), ex: ws://127.0.0.1:8282
-tag string
Server tag (default "xcsoftsMBP")
-token string
Server token
./serverStatus -host=ws://127.0.0.1:8282 -tag=server1 -token=myToken