{
    "mode": "man",
    "parameter": "PMAP",
    "section": "1",
    "url": "https://www.chedong.com/phpMan.php/man/PMAP/1/json",
    "generated": "2026-06-17T11:01:44Z",
    "synopsis": "pmap [options] pid [...]",
    "sections": {
        "NAME": {
            "content": "pmap - report memory map of a process\n",
            "subsections": []
        },
        "SYNOPSIS": {
            "content": "pmap [options] pid [...]\n",
            "subsections": []
        },
        "DESCRIPTION": {
            "content": "The pmap command reports the memory map of a process or processes.\n",
            "subsections": []
        },
        "OPTIONS": {
            "content": "",
            "subsections": [
                {
                    "name": "-x --extended",
                    "content": "Show the extended format.\n",
                    "flag": "-x",
                    "long": "--extended"
                },
                {
                    "name": "-d --device",
                    "content": "Show the device format.\n",
                    "flag": "-d",
                    "long": "--device"
                },
                {
                    "name": "-q --quiet",
                    "content": "Do not display some header or footer lines.\n",
                    "flag": "-q",
                    "long": "--quiet"
                },
                {
                    "name": "-A --range",
                    "content": "Limit  results  to the given range to low and high address range.  Notice that the low\nand high arguments are single string separated with comma.\n",
                    "flag": "-A",
                    "long": "--range"
                },
                {
                    "name": "-X -x",
                    "content": "/proc/PID/smaps\n",
                    "flag": "-x"
                },
                {
                    "name": "-XX",
                    "content": ""
                },
                {
                    "name": "-p --show-path",
                    "content": "Show full path to files in the mapping column\n",
                    "flag": "-p",
                    "long": "--show-path"
                },
                {
                    "name": "-c --read-rc",
                    "content": "Read the default configuration\n",
                    "flag": "-c",
                    "long": "--read-rc"
                },
                {
                    "name": "-C --read-rc-from",
                    "content": "Read the configuration from file\n",
                    "flag": "-C",
                    "long": "--read-rc-from"
                },
                {
                    "name": "-n --create-rc",
                    "content": "Create new default configuration\n",
                    "flag": "-n",
                    "long": "--create-rc"
                },
                {
                    "name": "-N --create-rc-to",
                    "content": "Create new configuration to file\n",
                    "flag": "-N",
                    "long": "--create-rc-to"
                },
                {
                    "name": "-h --help",
                    "content": "Display help text and exit.\n",
                    "flag": "-h",
                    "long": "--help"
                },
                {
                    "name": "-V --version",
                    "content": "Display version information and exit.\n",
                    "flag": "-V",
                    "long": "--version"
                }
            ]
        },
        "EXIT STATUS": {
            "content": "0      Success.\n1      Failure.\n42     Did not find all processes asked for.\n",
            "subsections": []
        },
        "SEE ALSO": {
            "content": "ps(1), pgrep(1)\n",
            "subsections": []
        },
        "STANDARDS": {
            "content": "No standards apply, but pmap looks an awful lot like a SunOS command.\n",
            "subsections": []
        },
        "REPORTING BUGS": {
            "content": "Please send bug reports to ⟨procps@freelists.org⟩\n\n\n\nprocps-ng                                    2020-06-04                                      PMAP(1)",
            "subsections": []
        }
    },
    "summary": "pmap - report memory map of a process",
    "flags": [
        {
            "flag": "-x",
            "long": "--extended",
            "arg": null,
            "description": "Show the extended format."
        },
        {
            "flag": "-d",
            "long": "--device",
            "arg": null,
            "description": "Show the device format."
        },
        {
            "flag": "-q",
            "long": "--quiet",
            "arg": null,
            "description": "Do not display some header or footer lines."
        },
        {
            "flag": "-A",
            "long": "--range",
            "arg": null,
            "description": "Limit results to the given range to low and high address range. Notice that the low and high arguments are single string separated with comma."
        },
        {
            "flag": "-x",
            "long": null,
            "arg": null,
            "description": "/proc/PID/smaps"
        },
        {
            "flag": "",
            "long": null,
            "arg": null,
            "description": ""
        },
        {
            "flag": "-p",
            "long": "--show-path",
            "arg": null,
            "description": "Show full path to files in the mapping column"
        },
        {
            "flag": "-c",
            "long": "--read-rc",
            "arg": null,
            "description": "Read the default configuration"
        },
        {
            "flag": "-C",
            "long": "--read-rc-from",
            "arg": null,
            "description": "Read the configuration from file"
        },
        {
            "flag": "-n",
            "long": "--create-rc",
            "arg": null,
            "description": "Create new default configuration"
        },
        {
            "flag": "-N",
            "long": "--create-rc-to",
            "arg": null,
            "description": "Create new configuration to file"
        },
        {
            "flag": "-h",
            "long": "--help",
            "arg": null,
            "description": "Display help text and exit."
        },
        {
            "flag": "-V",
            "long": "--version",
            "arg": null,
            "description": "Display version information and exit."
        }
    ],
    "examples": [],
    "see_also": [
        {
            "name": "ps",
            "section": "1",
            "url": "https://www.chedong.com/phpMan.php/man/ps/1/json"
        },
        {
            "name": "pgrep",
            "section": "1",
            "url": "https://www.chedong.com/phpMan.php/man/pgrep/1/json"
        }
    ],
    "tldr": {
        "source": "official",
        "description": "Report memory map of a process or processes.",
        "examples": [
            {
                "description": "Print memory map for a specific process ID (PID)",
                "command": "pmap {{pid}}"
            },
            {
                "description": "Show the extended format",
                "command": "pmap --extended {{pid}}"
            },
            {
                "description": "Show the device format",
                "command": "pmap --device {{pid}}"
            },
            {
                "description": "Limit results to a memory address range specified by `low` and `high`",
                "command": "pmap --range {{low}},{{high}}"
            },
            {
                "description": "Print memory maps for multiple processes",
                "command": "pmap {{pid1 pid2 ...}}"
            }
        ]
    }
}