]> git.ipfire.org Git - thirdparty/man-pages.git/blame - man1/memusagestat.1
rename.2: SEE ALSO: add rename(1)
[thirdparty/man-pages.git] / man1 / memusagestat.1
CommitLineData
f170e1cc 1.\" Copyright (c) 2013, Peter Schiffer <pschiffe@redhat.com>
16e05f30
PS
2.\"
3.\" %%%LICENSE_START(GPLv2+_DOC_FULL)
4.\" This is free documentation; you can redistribute it and/or
5.\" modify it under the terms of the GNU General Public License as
6.\" published by the Free Software Foundation; either version 2 of
7.\" the License, or (at your option) any later version.
8.\"
9.\" The GNU General Public License's references to "object code"
10.\" and "executables" are to be interpreted as the output of any
11.\" document formatting or typesetting system, including
12.\" intermediate and printed output.
13.\"
14.\" This manual is distributed in the hope that it will be useful,
15.\" but WITHOUT ANY WARRANTY; without even the implied warranty of
16.\" MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17.\" GNU General Public License for more details.
18.\"
19.\" You should have received a copy of the GNU General Public
20.\" License along with this manual; if not, see
21.\" <http://www.gnu.org/licenses/>.
22.\" %%%LICENSE_END
9ba01802 23.TH MEMUSAGESTAT 1 2019-03-06 "GNU" "Linux programmer's manual"
16e05f30
PS
24.SH NAME
25memusagestat \- generate graphic from memory profiling data
26.SH SYNOPSIS
27.BR memusagestat " [\fIoption\fR]... \fIdatafile\fR [\fIoutfile\fR]"
28.SH DESCRIPTION
29.B memusagestat
a863cb3a
MK
30creates a PNG file containing a graphical representation of the
31memory profiling data in the file
32.IR datafile ;
33that file is generated via the
34.I -d
35(or
36.IR --data )
37option of
38.BR memusage (1).
2a86152e 39.PP
a863cb3a
MK
40The red line in the graph shows the heap usage (allocated memory)
41and the green line shows the stack usage.
42The x-scale is either the number of memory-handling function calls or
43(if the
44.I -t
45option is specified)
46time.
16e05f30
PS
47.SH OPTIONS
48.TP
49.BI \-o\ file \fR,\ \fB\-\-output= file
50Name of the output file.
51.TP
52.BI \-s\ string \fR,\ \fB\-\-string= string
a863cb3a
MK
53Use
54.I string
55as the title inside the output graph.
16e05f30 56.TP
a28b73cd 57.B \-t\fR,\ \fB\-\-time
a863cb3a 58Use time (rather than number of function calls) as the scale for the X axis.
16e05f30 59.TP
a28b73cd 60.B \-T\fR,\ \fB\-\-total
a863cb3a 61Also draw a graph of total memory consumption.
16e05f30
PS
62.TP
63.BI \-x\ size \fR,\ \fB\-\-x-size= size
a863cb3a
MK
64Make the output graph
65.I size
66pixels wide.
16e05f30
PS
67.TP
68.BI \-y\ size \fR,\ \fB\-\-y\-size= size
a863cb3a
MK
69Make the output graph
70.I size
71pixels high.
16e05f30 72.TP
a28b73cd 73.B \-?\fR,\ \fB\-\-help
a863cb3a 74Print a help message and exit.
16e05f30 75.TP
a28b73cd 76.B \-\-usage
16e05f30
PS
77Print a short usage message and exit.
78.TP
a28b73cd 79.B \-V\fR,\ \fB\-\-version
16e05f30 80Print version information and exit.
16e05f30 81.SH BUGS
a863cb3a
MK
82To report bugs, see
83.UR http://www.gnu.org/software/libc/bugs.html
84.UE
f2ae94cd
MK
85.SH EXAMPLE
86See
87.BR memusage (1).
16e05f30 88.SH SEE ALSO
a863cb3a
MK
89.BR memusage (1),
90.BR mtrace (1)