Linux "pldd" Command Line Options and Examples
display dynamic shared objects linked into a process
The pldd command displays a list of the dynamic shared objects that are linked into the process with the spec‐ ified process ID. The list includes the libraries that have been dynamically loaded using dlopen(3)..
Command Line Options:
Display program help message.
pldd -? ...
Display a short usage message.
pldd --usage ...
Display the program version.EXIT STATUSOn success, pldd exits with the status 0. If the specified process does not exist, the user does not havepermission to access its dynamic shared object list, or no command-line arguments are supplied, pldd existswith a status of 1. If given an invalid option, it exits with the status 64.VERSIONSpldd is available since glibc 2.15.CONFORMING TOThe pldd command is not specified by POSIX.1. Some other systems have a similar command.NOTESThe commandlsof -p PIDalso shows output that includes the dynamic shared objects that are linked into a process.The gdb(1) info shared command also shows the shared libraries being used by a process, so that one can obtainsimilar output to pldd using a command such as the following (to monitor the process with the specified pid):$ gdb -ex "set confirm off" -ex "set height 0" -ex "info shared" \
pldd -V ...
BUGSSince glibc 2.19, pldd is broken: it just hangs when executed. It is unclear if it will ever be fixed.EXAMPLE$ echo $$ # Display PID of shell1143$ pldd $$ # Display DSOs linked into the shell1143: /usr/bin/bashlinux-vdso.so.1/lib64/libtinfo.so.5/lib64/libdl.so.2/lib64/libc.so.6/lib64/ld-linux-x86-64.so.2/lib64/libnss_files.so.2
pldd -ex ...