getnettotals

Back to network

Summary

Returns information about network traffic, including bytes in, bytes out,

Description

Returns information about network traffic, including bytes in, bytes out, and current system time.

Arguments

None.

Results

  • value (OBJ): No description.
  • totalbytesrecv (NUM): Total bytes received
  • totalbytessent (NUM): Total bytes sent
  • timemillis (NUM_TIME): Current system UNIX epoch time in milliseconds
  • uploadtarget (OBJ): No description.
    • timeframe (NUM): Length of the measuring timeframe in seconds
    • target (NUM): Target in bytes
    • target_reached (BOOL): True if target is reached
    • serve_historical_blocks (BOOL): True if serving historical blocks
    • bytes_left_in_cycle (NUM): Bytes left in current time cycle
    • time_left_in_cycle (NUM): Seconds left in current time cycle

Examples

qbit-cli getnettotals
curl --user myusername --data-binary '{"jsonrpc": "2.0", "id": "curltest", "method": "getnettotals", "params": []}' -H 'content-type: application/json' http://127.0.0.1:8352/