getmemoryinfo
Summary
Returns an object containing information about memory usage.
Description
Returns an object containing information about memory usage.
Arguments
mode(STR): determines what kind of information is returned.- "stats" returns general statistics about memory usage in the daemon.
- "mallocinfo" returns an XML string describing low-level heap state (only available if compiled with glibc).
Results
value(OBJ): No description.locked(OBJ): Information about locked memory managerused(NUM): Number of bytes usedfree(NUM): Number of bytes available in current arenastotal(NUM): Total number of bytes managedlocked(NUM): 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.chunks_used(NUM): Number allocated chunkschunks_free(NUM): Number unused chunks
value(STR): "..."
Examples
qbit-cli getmemoryinfo
curl --user myusername --data-binary '{"jsonrpc": "2.0", "id": "curltest", "method": "getmemoryinfo", "params": []}' -H 'content-type: application/json' http://127.0.0.1:8352/