getmemoryinfo
getmemoryinfo ( "mode" )
Returns an object containing information about memory usage.
Argument #1 – mode
Type: string, optional, default=”stats”
-
Specifies the type of information to return:
-
"stats"
: Provides general statistics about the memory usage of the daemon. -
"mallocinfo"
: Returns an XML string describing the low-level heap state (available only if compiled with glibc 2.10+).
-
Result (mode “stats”)
Result (mode “mallocinfo”)
Name |
Type |
Description |
---|---|---|
str |
string |
“<malloc version=”1”>…” |