Debian Codegraph @

upstream/debian-trixie/man1/memusagestat.1

raw
1 .\" Copyright (c) 2013, Peter Schiffer <[email protected]>
2 .\"
3 .\" SPDX-License-Identifier: GPL-2.0-or-later
4 .TH memusagestat 1 2024-05-02 "Linux man-pages 6.9.1"
5 .SH NAME
6 memusagestat \- generate graphic from memory profiling data
7 .SH SYNOPSIS
8 .nf
9 .BR memusagestat " [\fIoption\fR]... \fIdatafile\fR [\fIoutfile\fR]"
10 .fi
11 .SH DESCRIPTION
12 .B memusagestat
13 creates a PNG file containing a graphical representation of the
14 memory profiling data in the file
15 .IR datafile ;
16 that file is generated via the
17 .I \-d
18 (or
19 .IR \-\-data )
20 option of
21 .BR memusage (1).
22 .P
23 The red line in the graph shows the heap usage (allocated memory)
24 and the green line shows the stack usage.
25 The x-scale is either the number of memory-handling function calls or
26 (if the
27 .I \-t
28 option is specified)
29 time.
30 .SH OPTIONS
31 .TP
32 .BI \-o\ file \fR,\ \fB\-\-output= file
33 Name of the output file.
34 .TP
35 .BI \-s\ string \fR,\ \fB\-\-string= string
36 Use
37 .I string
38 as the title inside the output graph.
39 .TP
40 .B \-t\fR,\ \fB\-\-time
41 Use time (rather than number of function calls) as the scale for the X axis.
42 .TP
43 .B \-T\fR,\ \fB\-\-total
44 Also draw a graph of total memory consumption.
45 .TP
46 .BI \-x\ size \fR,\ \fB\-\-x\-size= size
47 Make the output graph
48 .I size
49 pixels wide.
50 .TP
51 .BI \-y\ size \fR,\ \fB\-\-y\-size= size
52 Make the output graph
53 .I size
54 pixels high.
55 .TP
56 .B \-?\fR,\ \fB\-\-help
57 Print a help message and exit.
58 .TP
59 .B \-\-usage
60 Print a short usage message and exit.
61 .TP
62 .B \-V\fR,\ \fB\-\-version
63 Print version information and exit.
64 .SH BUGS
65 To report bugs, see
66 .UR http://www.gnu.org/software/libc/bugs.html
67 .UE
68 .SH EXAMPLES
69 See
70 .BR memusage (1).
71 .SH SEE ALSO
72 .BR memusage (1),
73 .BR mtrace (1)