App Stats

Returns system info.

HTTP GET:

$ curl localhost:9123/stats
HTTP POST: N/A
CLI: N/A

Response example:

{
    "version": "AtomMiner CLI 1.0.3RC6",
    "status": "Ready",
    "miners": 2,
    "uptime": 463427,
    "pid": 26325,
    "online": false,
    "cloud": false,
    "coins": "SLOTH,LOG",
    "accepted": 396374,
    "rejected": 1,
    "ram": 17186816,
    "cpu": 7.295731
}

Field Type Description
version string Software version
status string Current status
miners int Amount of known/connected miners
uptime int App uptime in seconds
pid int PID of the process
online bool Indicates if software is online
cloud bool Cloud connection status
coins string List of currently mined coins
accepted int Amount of accepted shares (global)
rejected int Amount of rejected shares (global)
ram int AtomMiner RAM usage
cpu double AtomMiner CPU usage