curl --request POST \
--url https://nd-202-842-353.p2pify.com/788f110831fe13808302bd79796d55e8 \
--header 'Content-Type: application/json' \
--data '{
"jsonrpc": "1.0",
"method": "getmemoryinfo",
"params": [
"stats"
],
"id": 1
}'
{
"result": {},
"error": {},
"id": 123
}
curl --request POST \
--url https://nd-202-842-353.p2pify.com/788f110831fe13808302bd79796d55e8 \
--header 'Content-Type: application/json' \
--data '{
"jsonrpc": "1.0",
"method": "getmemoryinfo",
"params": [
"stats"
],
"id": 1
}'
{
"result": {},
"error": {},
"id": 123
}
getmemoryinfo
method provides detailed information about the memory usage of the node. It can return data in two formats: a summary view (stats
) or a detailed XML format (mallocinfo
).
mode
(optional): Specifies the format of the memory information. Can be either stats
for a summary view or mallocinfo
for detailed XML format. The default is stats
.result
— an object containing memory information in the requested format.error
— an object containing an error message if an error occurred, otherwise null
.id
— an integer representing the ID of the request.getmemoryinfo
method is useful for monitoring the memory usage of the node, helping in diagnosing memory-related issues or for general performance monitoring.Detailed information about the node's memory usage.
The response is of type object
.
Was this page helpful?