{
    "content": [
        {
            "type": "text",
            "text": "# PLDD(1) (man)\n\n**Summary:** pldd - display dynamic shared objects linked into a process\n\n**Synopsis:** pldd pid\npldd option\n\n## Flags\n\n| Flag | Long | Arg | Description |\n|------|------|-----|-------------|\n| — | --usage | — | Display a short usage message and exit. |\n| -V | --version | — | Display program version information and exit. |\n\n## Examples\n\n- `$ echo $$               # Display PID of shell`\n- `1143`\n- `$ pldd $$               # Display DSOs linked into the shell`\n- `1143:   /usr/bin/bash`\n- `linux-vdso.so.1`\n- `/lib64/libtinfo.so.5`\n- `/lib64/libdl.so.2`\n- `/lib64/libc.so.6`\n- `/lib64/ld-linux-x86-64.so.2`\n- `/lib64/libnssfiles.so.2`\n\n## See Also\n\n- ldd(1)\n- lsof(1)\n- dlopen(3)\n- ld.so(8)\n\n## Section Outline\n\n- **NAME** (2 lines)\n- **SYNOPSIS** (3 lines)\n- **DESCRIPTION** (4 lines)\n- **OPTIONS** (3 lines) — 2 subsections\n  - --usage (2 lines)\n  - -V --version (2 lines)\n- **EXIT STATUS** (5 lines)\n- **VERSIONS** (2 lines)\n- **CONFORMING TO** (2 lines)\n- **NOTES** (13 lines)\n- **BUGS** (4 lines)\n- **EXAMPLES** (11 lines)\n- **SEE ALSO** (2 lines)\n- **COLOPHON** (7 lines)\n\n## Full Content\n\n### NAME\n\npldd - display dynamic shared objects linked into a process\n\n### SYNOPSIS\n\npldd pid\npldd option\n\n### DESCRIPTION\n\nThe  pldd  command  displays a list of the dynamic shared objects (DSOs) that are linked into\nthe process with the specified process ID (PID).  The list includes the libraries  that  have\nbeen dynamically loaded using dlopen(3).\n\n### OPTIONS\n\n-?, --help\nDisplay a help message and exit.\n\n#### --usage\n\nDisplay a short usage message and exit.\n\n#### -V --version\n\nDisplay program version information and exit.\n\n### EXIT STATUS\n\nOn  success, pldd exits with the status 0.  If the specified process does not exist, the user\ndoes not have permission to access its dynamic shared object list, or no  command-line  argu‐\nments  are  supplied,  pldd  exists with a status of 1.  If given an invalid option, it exits\nwith the status 64.\n\n### VERSIONS\n\npldd is available since glibc 2.15.\n\n### CONFORMING TO\n\nThe pldd command is not specified by POSIX.1.  Some other systems have a similar command.\n\n### NOTES\n\nThe command\n\nlsof -p PID\n\nalso shows output that includes the dynamic shared objects that are linked into a process.\n\nThe gdb(1) info shared command also shows the shared libraries being used by  a  process,  so\nthat  one can obtain similar output to pldd using a command such as the following (to monitor\nthe process with the specified pid):\n\n$ gdb -ex \"set confirm off\" -ex \"set height 0\" -ex \"info shared\" \\\n-ex \"quit\" -p $pid | grep '^0x.*0x'\n\n### BUGS\n\nFrom glibc 2.19 to 2.29, pldd was broken: it just hung when executed.  This problem was fixed\nin  glibc  2.30,  and the fix has been backported to earlier glibc versions in some distribu‐\ntions.\n\n### EXAMPLES\n\n$ echo $$               # Display PID of shell\n1143\n$ pldd $$               # Display DSOs linked into the shell\n1143:   /usr/bin/bash\nlinux-vdso.so.1\n/lib64/libtinfo.so.5\n/lib64/libdl.so.2\n/lib64/libc.so.6\n/lib64/ld-linux-x86-64.so.2\n/lib64/libnssfiles.so.2\n\n### SEE ALSO\n\nldd(1), lsof(1), dlopen(3), ld.so(8)\n\n### COLOPHON\n\nThis 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-11-01                                      PLDD(1)\n\n"
        }
    ],
    "structuredContent": {
        "command": "PLDD",
        "section": "1",
        "mode": "man",
        "summary": "pldd - display dynamic shared objects linked into a process",
        "synopsis": "pldd pid\npldd option",
        "tldr_summary": null,
        "tldr_examples": [],
        "tldr_source": null,
        "flags": [
            {
                "flag": "",
                "long": "--usage",
                "arg": null,
                "description": "Display a short usage message and exit."
            },
            {
                "flag": "-V",
                "long": "--version",
                "arg": null,
                "description": "Display program version information and exit."
            }
        ],
        "examples": [
            "$ echo $$               # Display PID of shell",
            "1143",
            "$ pldd $$               # Display DSOs linked into the shell",
            "1143:   /usr/bin/bash",
            "linux-vdso.so.1",
            "/lib64/libtinfo.so.5",
            "/lib64/libdl.so.2",
            "/lib64/libc.so.6",
            "/lib64/ld-linux-x86-64.so.2",
            "/lib64/libnssfiles.so.2"
        ],
        "see_also": [
            {
                "name": "ldd",
                "section": "1",
                "url": "https://www.chedong.com/phpMan.php/man/ldd/1/json"
            },
            {
                "name": "lsof",
                "section": "1",
                "url": "https://www.chedong.com/phpMan.php/man/lsof/1/json"
            },
            {
                "name": "dlopen",
                "section": "3",
                "url": "https://www.chedong.com/phpMan.php/man/dlopen/3/json"
            },
            {
                "name": "ld.so",
                "section": "8",
                "url": "https://www.chedong.com/phpMan.php/man/ld.so/8/json"
            }
        ],
        "section_outline": [
            {
                "name": "NAME",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "SYNOPSIS",
                "lines": 3,
                "subsections": []
            },
            {
                "name": "DESCRIPTION",
                "lines": 4,
                "subsections": []
            },
            {
                "name": "OPTIONS",
                "lines": 3,
                "subsections": [
                    {
                        "name": "--usage",
                        "lines": 2,
                        "long": "--usage"
                    },
                    {
                        "name": "-V --version",
                        "lines": 2,
                        "flag": "-V",
                        "long": "--version"
                    }
                ]
            },
            {
                "name": "EXIT STATUS",
                "lines": 5,
                "subsections": []
            },
            {
                "name": "VERSIONS",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "CONFORMING TO",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "NOTES",
                "lines": 13,
                "subsections": []
            },
            {
                "name": "BUGS",
                "lines": 4,
                "subsections": []
            },
            {
                "name": "EXAMPLES",
                "lines": 11,
                "subsections": []
            },
            {
                "name": "SEE ALSO",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "COLOPHON",
                "lines": 7,
                "subsections": []
            }
        ]
    }
}