148 lines
3.3 KiB
HTML
148 lines
3.3 KiB
HTML
|
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
|
<HTML><HEAD><TITLE>Man page of MEMUSAGESTAT</TITLE>
|
|
</HEAD><BODY>
|
|
<H1>MEMUSAGESTAT</H1>
|
|
Section: Linux programmer's manual (1)<BR>Updated: 2019-03-06<BR><A HREF="#index">Index</A>
|
|
<A HREF="/cgi-bin/man/man2html">Return to Main Contents</A><HR>
|
|
|
|
<A NAME="lbAB"> </A>
|
|
<H2>NAME</H2>
|
|
|
|
memusagestat - generate graphic from memory profiling data
|
|
<A NAME="lbAC"> </A>
|
|
<H2>SYNOPSIS</H2>
|
|
|
|
<B>memusagestat</B> [<I>option</I>]... <I>datafile</I> [<I>outfile</I>]
|
|
|
|
<A NAME="lbAD"> </A>
|
|
<H2>DESCRIPTION</H2>
|
|
|
|
<B>memusagestat</B>
|
|
|
|
creates a PNG file containing a graphical representation of the
|
|
memory profiling data in the file
|
|
<I>datafile</I>;
|
|
|
|
that file is generated via the
|
|
<I>-d</I>
|
|
|
|
(or
|
|
<I>--data</I>)
|
|
|
|
option of
|
|
<B><A HREF="/cgi-bin/man/man2html?1+memusage">memusage</A></B>(1).
|
|
|
|
<P>
|
|
|
|
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
|
|
<I>-t</I>
|
|
|
|
option is specified)
|
|
time.
|
|
<A NAME="lbAE"> </A>
|
|
<H2>OPTIONS</H2>
|
|
|
|
<DL COMPACT>
|
|
<DT id="1"><B>-o </B><I>file</I><B></B>, <B>--output=</B><I>file</I>
|
|
|
|
<DD>
|
|
Name of the output file.
|
|
<DT id="2"><B>-s </B><I>string</I><B></B>, <B>--string=</B><I>string</I>
|
|
|
|
<DD>
|
|
Use
|
|
<I>string</I>
|
|
|
|
as the title inside the output graph.
|
|
<DT id="3"><B>-t</B>, <B>--time</B>
|
|
|
|
<DD>
|
|
Use time (rather than number of function calls) as the scale for the X axis.
|
|
<DT id="4"><B>-T</B>, <B>--total</B>
|
|
|
|
<DD>
|
|
Also draw a graph of total memory consumption.
|
|
<DT id="5"><B>-x </B><I>size</I><B></B>, <B>--x-size=</B><I>size</I>
|
|
|
|
<DD>
|
|
Make the output graph
|
|
<I>size</I>
|
|
|
|
pixels wide.
|
|
<DT id="6"><B>-y </B><I>size</I><B></B>, <B>--y-size=</B><I>size</I>
|
|
|
|
<DD>
|
|
Make the output graph
|
|
<I>size</I>
|
|
|
|
pixels high.
|
|
<DT id="7"><B>-?</B>, <B>--help</B>
|
|
|
|
<DD>
|
|
Print a help message and exit.
|
|
<DT id="8"><B>--usage</B>
|
|
|
|
<DD>
|
|
Print a short usage message and exit.
|
|
<DT id="9"><B>-V</B>, <B>--version</B>
|
|
|
|
<DD>
|
|
Print version information and exit.
|
|
</DL>
|
|
<A NAME="lbAF"> </A>
|
|
<H2>BUGS</H2>
|
|
|
|
To report bugs, see
|
|
|
|
|
|
<A NAME="lbAG"> </A>
|
|
<H2>EXAMPLE</H2>
|
|
|
|
See
|
|
<B><A HREF="/cgi-bin/man/man2html?1+memusage">memusage</A></B>(1).
|
|
|
|
<A NAME="lbAH"> </A>
|
|
<H2>SEE ALSO</H2>
|
|
|
|
<B><A HREF="/cgi-bin/man/man2html?1+memusage">memusage</A></B>(1),
|
|
|
|
<B><A HREF="/cgi-bin/man/man2html?1+mtrace">mtrace</A></B>(1)
|
|
|
|
<A NAME="lbAI"> </A>
|
|
<H2>COLOPHON</H2>
|
|
|
|
This page is part of release 5.05 of the Linux
|
|
<I>man-pages</I>
|
|
|
|
project.
|
|
A description of the project,
|
|
information about reporting bugs,
|
|
and the latest version of this page,
|
|
can be found at
|
|
<A HREF="https://www.kernel.org/doc/man-pages/.">https://www.kernel.org/doc/man-pages/.</A>
|
|
<P>
|
|
|
|
<HR>
|
|
<A NAME="index"> </A><H2>Index</H2>
|
|
<DL>
|
|
<DT id="10"><A HREF="#lbAB">NAME</A><DD>
|
|
<DT id="11"><A HREF="#lbAC">SYNOPSIS</A><DD>
|
|
<DT id="12"><A HREF="#lbAD">DESCRIPTION</A><DD>
|
|
<DT id="13"><A HREF="#lbAE">OPTIONS</A><DD>
|
|
<DT id="14"><A HREF="#lbAF">BUGS</A><DD>
|
|
<DT id="15"><A HREF="#lbAG">EXAMPLE</A><DD>
|
|
<DT id="16"><A HREF="#lbAH">SEE ALSO</A><DD>
|
|
<DT id="17"><A HREF="#lbAI">COLOPHON</A><DD>
|
|
</DL>
|
|
<HR>
|
|
This document was created by
|
|
<A HREF="/cgi-bin/man/man2html">man2html</A>,
|
|
using the manual pages.<BR>
|
|
Time: 00:05:19 GMT, March 31, 2021
|
|
</BODY>
|
|
</HTML>
|