aboutsummaryrefslogtreecommitdiff
path: root/src/bench
diff options
context:
space:
mode:
authorWladimir J. van der Laan <laanwj@gmail.com>2016-09-18 10:22:30 +0200
committerWladimir J. van der Laan <laanwj@gmail.com>2016-10-27 13:17:26 +0200
commit65679990967c0fa4fc0320907d9cd33c801faf5a (patch)
tree79d56f6c8ac32fffda84e49c16a87216b15f618c /src/bench
parent4536148b15595229d0563fb60913b23cb78788ed (diff)
downloadbitcoin-65679990967c0fa4fc0320907d9cd33c801faf5a.tar.xz
rpc: Add `getmemoryinfo` call
``` getmemoryinfo Returns an object containing information about memory usage. Result: { "locked": { (json object) Information about locked memory manager "used": xxxxx, (numeric) Number of bytes used "free": xxxxx, (numeric) Number of bytes available in current arenas "total": xxxxxxx, (numeric) Total number of bytes managed "locked": xxxxxx, (numeric) Amount of bytes that succeeded locking. If this number is smaller than total, locking pages failed at some point and key data could be swapped to disk. } } Examples: > bitcoin-cli getmemoryinfo > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getmemoryinfo", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:8332/ ```
Diffstat (limited to 'src/bench')
0 files changed, 0 insertions, 0 deletions