1pldd(1) General Commands 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 Some other systems have a similar command.
37
39 None.
40
42 glibc 2.15.
43
45 The command
46
47 lsof -p PID
48
49 also shows output that includes the dynamic shared objects that are
50 linked into a process.
51
52 The gdb(1) info shared command also shows the shared libraries being
53 used by a process, so that one can obtain similar output to pldd using
54 a command such as the following (to monitor the process with the speci‐
55 fied pid):
56
57 $ gdb -ex "set confirm off" -ex "set height 0" -ex "info shared" \
58 -ex "quit" -p $pid | grep '^0x.*0x'
59
61 From glibc 2.19 to glibc 2.29, pldd was broken: it just hung when exe‐
62 cuted. This problem was fixed in glibc 2.30, and the fix has been
63 backported to earlier glibc versions in some distributions.
64
66 $ echo $$ # Display PID of shell
67 1143
68 $ pldd $$ # Display DSOs linked into the shell
69 1143: /usr/bin/bash
70 linux-vdso.so.1
71 /lib64/libtinfo.so.5
72 /lib64/libdl.so.2
73 /lib64/libc.so.6
74 /lib64/ld-linux-x86-64.so.2
75 /lib64/libnss_files.so.2
76
78 ldd(1), lsof(1), dlopen(3), ld.so(8)
79
80
81
82Linux man-pages 6.05 2023-03-30 pldd(1)