Section: Linux Programmer's Manual (3)
Return to Main Contents
malloc_stats - print memory allocation statistics
function prints (on standard error) statistics about memory allocated by
and related functions.
For each arena (allocation area), this function prints
the total amount of memory allocated
and the total number of bytes consumed by in-use allocations.
(These two values correspond to the
fields retrieved by
the function prints the sum of these two statistics for all arenas,
and the maximum number of blocks and bytes that were ever simultaneously
This function is a GNU extension.
More detailed information about memory allocations in the main arena
can be obtained using
This page is part of release 3.74 of the Linux
A description of the project,
information about reporting bugs,
and the latest version of this page,
can be found at
- CONFORMING TO
- SEE ALSO