App Status
Returns current app status.
HTTP GET: N/A
HTTP POST:
$ curl localhost:9123 --data-binary '{"cmd":"status","params":[]}'
CLI:
$ atomminer-cli status
Response example:
{ "result": true, "error": null, "response": [{ "status": "Running", "running": true, "pid": 26325, "version": "1.0.3RC6", "api": true, "api_port": 9123, "api_bind": "0.0.0.0", "www": false, "www_port": 0, "www_bind": "", "uptime": 463445 }] }
Response fields
| Field | Type | Description | 
|---|---|---|
| version | string | Software version | 
| status | string | Current status | 
| running | bool | Indicates when app is online and working | 
| pid | int | PID of the process | 
| api | bool | Indicates if API server is running | 
| api_port | int | API server port | 
| api_bind | string | IP address API is bound to (default: 0.0.0.0) | 
| www | bool | Deprecated | 
| www_port | int | Deprecated | 
| www_bind | string | Deprecated | 
| uptime | int | App uptime in seconds |