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 that are
14 linked into the process with the specified process ID. The list
15 includes the libraries that have been dynamically loaded using
16 dlopen(3).
17
19 -?, --help
20 Display program help message.
21
22 --usage
23 Display a short usage message.
24
25 -V, --version
26 Display the program version.
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
32 exists with a status of 1. If given an invalid option, it exits with
33 the 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 Since glibc 2.19, pldd is broken: it just hangs when executed. It is
60 unclear if it will ever be fixed.
61
63 $ echo $$ # Display PID of shell
64 1143
65 $ pldd $$ # Display DSOs linked into the shell
66 1143: /usr/bin/bash
67 linux-vdso.so.1
68 /lib64/libtinfo.so.5
69 /lib64/libdl.so.2
70 /lib64/libc.so.6
71 /lib64/ld-linux-x86-64.so.2
72 /lib64/libnss_files.so.2
73
75 ldd(1), lsof(1), dlopen(3), ld.so(8)
76
78 This page is part of release 4.16 of the Linux man-pages project. A
79 description of the project, information about reporting bugs, and the
80 latest version of this page, can be found at
81 https://www.kernel.org/doc/man-pages/.
82
83
84
85GNU 2017-09-15 PLDD(1)