{
    "mode": "man",
    "parameter": "memusagestat",
    "section": "1",
    "url": "https://www.chedong.com/phpMan.php/man/memusagestat/1/json",
    "generated": "2026-06-15T13:16:29Z",
    "synopsis": "memusagestat [option]... datafile [outfile]",
    "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": []
        }
    },
    "summary": "memusagestat - generate graphic from memory profiling data",
    "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"
        }
    ]
}