MEMUSAGESTATSection: Linux programmer's manual (1)
Index | Return to Main Contents
NAMEmemusagestat - generate graphic from memory profiling data
SYNOPSISmemusagestat [option]... datafile [outfile]
DESCRIPTIONmemusagestat 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.
- -o file, --output=file
- Name of the output file.
- -s string, --string=string
- Use string as the title inside the output graph.
- -t, --time
- Use time (rather than number of function calls) as the scale for the X axis.
- -T, --total
- Also draw a graph of total memory consumption.
- -x size, --x-size=size
- Make the output graph size pixels wide.
- -y size, --y-size=size
- Make the output graph size pixels high.
- -?, --help
- Print a help message and exit.
- Print a short usage message and exit.
- -V, --version
- Print version information and exit.
BUGSTo report bugs, see
SEE ALSOmemusage(1), mtrace(1)
COLOPHONThis page is part of release 4.15 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 https://www.kernel.org/doc/man-pages/.
Return to Main Contents