mirror of https://github.com/mkerrisk/man-pages
memusage.1: Add notes on additional fields displayed for realloc() and mremap()
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
parent
41deb515fd
commit
983700efea
|
@ -106,6 +106,19 @@ The maximum of these differences is then the stack peak.
|
||||||
Immediately following this summary line, a table shows the number calls,
|
Immediately following this summary line, a table shows the number calls,
|
||||||
total memory allocated or deallocated,
|
total memory allocated or deallocated,
|
||||||
and number of failed calls for each intercepted function.
|
and number of failed calls for each intercepted function.
|
||||||
|
For
|
||||||
|
.BR realloc (3)
|
||||||
|
and
|
||||||
|
.BR mremap (2),
|
||||||
|
the additional field "nomove" shows reallocations that
|
||||||
|
changed the address of a block,
|
||||||
|
and the additional "dec" field shows reallocations that
|
||||||
|
decreased the size of the block.
|
||||||
|
For
|
||||||
|
.BR realloc (3),
|
||||||
|
the additional field "free" shows reallocations that
|
||||||
|
caused a block to be freed (i.e., the reallocated size was 0).
|
||||||
|
|
||||||
|
|
||||||
The "realloc/total memory" of the table output by
|
The "realloc/total memory" of the table output by
|
||||||
.B memusage
|
.B memusage
|
||||||
|
|
Loading…
Reference in New Issue