## NAME

memusagestat - generate graphic from memory profiling data

## SYNOPSIS

memusagestat [\fIoption\fR]... \fIdatafile\fR [\fIoutfile\fR]

## DESCRIPTION

memusagestat creates a PNG file containing a graphical representation of the memory profiling data in the file datafile ; that file is generated via the -d (or --data ) option of memusage (1).

The red line in the graph shows the heap usage (allocated memory) and the green line shows the stack usage. The x-scale is either the number of memory-handling function calls or (if the -t option is specified) time.

## OPTIONS

-o\ file ,\ \fB--output= file Name of the output file.

-s\ string ,\ \fB--string= string Use string as the title inside the output graph.

-t,\ \fB--time Use time (rather than number of function calls) as the scale for the X axis.

-T,\ \fB--total Also draw a graph of total memory consumption.

-x\ size ,\ \fB--x-size= size Make the output graph size pixels wide.

-y\ size ,\ \fB--y-size= size Make the output graph size pixels high.

-?,\ \fB--help Print a help message and exit.

\fB--usage Print a short usage message and exit.

-V,\ \fB--version Print version information and exit.

## EXAMPLE

See memusage (1).

## BUGS

To report bugs, see

## SEE ALSO

memusage (1), mtrace (1)

## COLOPHON

This page is part of release 3.74 of the Linux man-pages project. A description of the project, information about reporting bugs, and the latest version of this page, can be found at %http://www.kernel.org/doc/man-pages/.