
mallocinfo.pl -- Memory allocation details
This library is provided if the clib package is compiled on a glibc based system, typically Linux. It provides access to the glibc ptmalloc informational functions for diagnosing memory usage. This library exports
mallinfo(-Info:dict) is det- Return the content of the
struct mallinforeturned bymallinfo()as a dict. Seeman mallinfofor an explanation of the fields.
malloc_info(-Info:dict) is det- Interface to
malloc_info(), which provides an XML document describing the status of the GNU glibc malloc implementation. The XML document is parsed and translated into a dict with a similar structure. Themalloc_info()XML is supposed to be self-explanatory.