1PLDD(1) Linux User Manual PLDD(1)
2
3
4
6 pldd - display dynamic shared objects linked into a process
7
9 pldd pid
10 pldd option
11
13 The pldd command displays a list of the dynamic shared objects (DSOs)
14 that are linked into the process with the specified process ID (PID).
15 The list includes the libraries that have been dynamically loaded using
16 dlopen(3).
17
19 -?, --help
20 Display a help message and exit.
21
22 --usage
23 Display a short usage message and exit.
24
25 -V, --version
26 Display program version information and exit.
27
29 On success, pldd exits with the status 0. If the specified process
30 does not exist, the user does not have permission to access its dynamic
31 shared object list, or no command-line arguments are supplied, pldd ex‐
32 ists with a status of 1. If given an invalid option, it exits with the
33 status 64.
34
36 pldd is available since glibc 2.15.
37
39 The pldd command is not specified by POSIX.1. Some other systems have
40 a similar command.
41
43 The command
44
45 lsof -p PID
46
47 also shows output that includes the dynamic shared objects that are
48 linked into a process.
49
50 The gdb(1) info shared command also shows the shared libraries being
51 used by a process, so that one can obtain similar output to pldd using
52 a command such as the following (to monitor the process with the speci‐
53 fied pid):
54
55 $ gdb -ex "set confirm off" -ex "set height 0" -ex "info shared" \
56 -ex "quit" -p $pid | grep '^0x.*0x'
57
59 From glibc 2.19 to 2.29, pldd was broken: it just hung when executed.
60 This problem was fixed in glibc 2.30, and the fix has been backported
61 to earlier glibc versions in some distributions.
62
64 $ echo $$ # Display PID of shell
65 1143
66 $ pldd $$ # Display DSOs linked into the shell
67 1143: /usr/bin/bash
68 linux-vdso.so.1
69 /lib64/libtinfo.so.5
70 /lib64/libdl.so.2
71 /lib64/libc.so.6
72 /lib64/ld-linux-x86-64.so.2
73 /lib64/libnss_files.so.2
74
76 ldd(1), lsof(1), dlopen(3), ld.so(8)
77
79 This page is part of release 5.10 of the Linux man-pages project. A
80 description of the project, information about reporting bugs, and the
81 latest version of this page, can be found at
82 https://www.kernel.org/doc/man-pages/.
83
84
85
86GNU 2020-11-01 PLDD(1)