Debian Codegraph @

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