diff --git a/man1/memusagestat.1 b/man1/memusagestat.1 index dd8c690d7..181681cdf 100644 --- a/man1/memusagestat.1 +++ b/man1/memusagestat.1 @@ -1,4 +1,5 @@ -.\" Copyright (c) 2013, Peter Schiffer (pschiffe@redhat.com) +.\" Copyright (c) 2013, Peter Schiffer +.\" and Copyright (C) 2014, Michael Kerrisk .\" .\" %%%LICENSE_START(GPLv2+_DOC_FULL) .\" This is free documentation; you can redistribute it and/or @@ -89,6 +90,25 @@ a graph of the memory usage of the program can be found in the file .in +4n .nf $ \fBmemusage --data=memusage.dat ./a.out\fP +\&... +Memory usage summary: heap total: 45200, heap peak: 6440, stack peak: 224 + total calls total memory failed calls + malloc| 1 400 0 +realloc| 40 44800 0 (nomove:40, dec:19, free:0) + calloc| 0 0 0 + free| 1 440 +Histogram for block sizes: + 192-207 1 2% ================ +\&... + 2192-2207 1 2% ================ + 2240-2255 2 4% ================================= + 2832-2847 2 4% ================================= + 3440-3455 2 4% ================================= + 4032-4047 2 4% ================================= + 4640-4655 2 4% ================================= + 5232-5247 2 4% ================================= + 5840-5855 2 4% ================================= + 6432-6447 1 2% ================ $ \fBmemusagestat memusage.dat memusage.png\fP .fi .in