{
    "content": [
        {
            "type": "text",
            "text": "# memusagestat (man)\n\n## NAME\n\nmemusagestat - generate graphic from memory profiling data\n\n## SYNOPSIS\n\nmemusagestat [option]... datafile [outfile]\n\n## DESCRIPTION\n\nmemusagestat creates a PNG file containing a graphical representation of the memory profiling\ndata in the file datafile;  that  file  is  generated  via  the  -d  (or  --data)  option  of\nmemusage(1).\n\n## Sections\n\n- **NAME**\n- **SYNOPSIS**\n- **DESCRIPTION**\n- **OPTIONS** (8 subsections)\n- **BUGS**\n- **EXAMPLES**\n- **SEE ALSO**\n- **COLOPHON**\n\nUse structuredContent.sections for detailed options, examples, and full documentation.\n"
        }
    ],
    "structuredContent": {
        "command": "memusagestat",
        "section": "",
        "mode": "man",
        "summary": "memusagestat - generate graphic from memory profiling data",
        "synopsis": "memusagestat [option]... datafile [outfile]",
        "tldr_summary": null,
        "tldr_examples": [],
        "tldr_source": null,
        "flags": [
            {
                "flag": "-o",
                "long": null,
                "arg": null,
                "description": "Name of the output file."
            },
            {
                "flag": "-s",
                "long": null,
                "arg": null,
                "description": "Use string as the title inside the output graph."
            },
            {
                "flag": "-t",
                "long": "--time",
                "arg": null,
                "description": "Use time (rather than number of function calls) as the scale for the X axis."
            },
            {
                "flag": "-T",
                "long": "--total",
                "arg": null,
                "description": "Also draw a graph of total memory consumption."
            },
            {
                "flag": "-x",
                "long": null,
                "arg": null,
                "description": "Make the output graph size pixels wide."
            },
            {
                "flag": "-y",
                "long": null,
                "arg": null,
                "description": "Make the output graph size pixels high. -?, --help Print a help message and exit."
            },
            {
                "flag": "",
                "long": "--usage",
                "arg": null,
                "description": "Print a short usage message and exit."
            },
            {
                "flag": "-V",
                "long": "--version",
                "arg": null,
                "description": "Print version information and exit."
            }
        ],
        "examples": [
            "See memusage(1)."
        ],
        "see_also": [
            {
                "name": "memusage",
                "section": "1",
                "url": "https://www.chedong.com/phpMan.php/man/memusage/1/json"
            },
            {
                "name": "mtrace",
                "section": "1",
                "url": "https://www.chedong.com/phpMan.php/man/mtrace/1/json"
            }
        ],
        "section_outline": [
            {
                "name": "NAME",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "SYNOPSIS",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "DESCRIPTION",
                "lines": 8,
                "subsections": []
            },
            {
                "name": "OPTIONS",
                "lines": 1,
                "subsections": [
                    {
                        "name": "-o --output=",
                        "lines": 2,
                        "flag": "-o"
                    },
                    {
                        "name": "-s --string=",
                        "lines": 2,
                        "flag": "-s"
                    },
                    {
                        "name": "-t --time",
                        "lines": 2,
                        "flag": "-t",
                        "long": "--time"
                    },
                    {
                        "name": "-T --total",
                        "lines": 2,
                        "flag": "-T",
                        "long": "--total"
                    },
                    {
                        "name": "-x --x-size=",
                        "lines": 2,
                        "flag": "-x"
                    },
                    {
                        "name": "-y --y-size=",
                        "lines": 5,
                        "flag": "-y"
                    },
                    {
                        "name": "--usage",
                        "lines": 2,
                        "long": "--usage"
                    },
                    {
                        "name": "-V --version",
                        "lines": 2,
                        "flag": "-V",
                        "long": "--version"
                    }
                ]
            },
            {
                "name": "BUGS",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "EXAMPLES",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "SEE ALSO",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "COLOPHON",
                "lines": 7,
                "subsections": []
            }
        ],
        "sections": {
            "NAME": {
                "content": "memusagestat - generate graphic from memory profiling data\n",
                "subsections": []
            },
            "SYNOPSIS": {
                "content": "memusagestat [option]... datafile [outfile]\n",
                "subsections": []
            },
            "DESCRIPTION": {
                "content": "memusagestat creates a PNG file containing a graphical representation of the memory profiling\ndata in the file datafile;  that  file  is  generated  via  the  -d  (or  --data)  option  of\nmemusage(1).\n\nThe  red  line  in the graph shows the heap usage (allocated memory) and the green line shows\nthe stack usage.  The x-scale is either the number of memory-handling function calls  or  (if\nthe -t option is specified) time.\n",
                "subsections": []
            },
            "OPTIONS": {
                "content": "",
                "subsections": [
                    {
                        "name": "-o --output=",
                        "content": "Name of the output file.\n",
                        "flag": "-o"
                    },
                    {
                        "name": "-s --string=",
                        "content": "Use string as the title inside the output graph.\n",
                        "flag": "-s"
                    },
                    {
                        "name": "-t --time",
                        "content": "Use time (rather than number of function calls) as the scale for the X axis.\n",
                        "flag": "-t",
                        "long": "--time"
                    },
                    {
                        "name": "-T --total",
                        "content": "Also draw a graph of total memory consumption.\n",
                        "flag": "-T",
                        "long": "--total"
                    },
                    {
                        "name": "-x --x-size=",
                        "content": "Make the output graph size pixels wide.\n",
                        "flag": "-x"
                    },
                    {
                        "name": "-y --y-size=",
                        "content": "Make the output graph size pixels high.\n\n-?, --help\nPrint a help message and exit.\n",
                        "flag": "-y"
                    },
                    {
                        "name": "--usage",
                        "content": "Print a short usage message and exit.\n",
                        "long": "--usage"
                    },
                    {
                        "name": "-V --version",
                        "content": "Print version information and exit.\n",
                        "flag": "-V",
                        "long": "--version"
                    }
                ]
            },
            "BUGS": {
                "content": "To report bugs, see ⟨http://www.gnu.org/software/libc/bugs.html⟩\n",
                "subsections": []
            },
            "EXAMPLES": {
                "content": "See memusage(1).\n",
                "subsections": []
            },
            "SEE ALSO": {
                "content": "memusage(1), mtrace(1)\n",
                "subsections": []
            },
            "COLOPHON": {
                "content": "This  page  is  part  of  release  5.10 of the Linux man-pages project.  A description of the\nproject, information about reporting bugs, and the latest version of this page, can be  found\nat https://www.kernel.org/doc/man-pages/.\n\n\n\nGNU                                          2020-06-09                              MEMUSAGESTAT(1)",
                "subsections": []
            }
        }
    }
}