Skip to main content

uptime

uptime

Returns the total uptime of the server.

yerbas-cli uptime

Output

ResultTypeDescription
ttt(numeric)The number of seconds that the server has been running
Result:
ttt (numeric) The number of seconds that the server has been running

Examples

curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "uptime", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:9998/