How do I list the libraries linked into a process on linux?



  • Also see: Man page for pldd.

    Check your own shell processes.

    $ ps
        PID TTY          TIME CMD
       1977 pts/0    00:00:00 bash
       3280 pts/0    00:00:00 ps
    

    Take the your bash shell process ID and run pldd against it.

    $ pldd 1977
    1977:   /usr/bin/bash
    linux-vdso.so.1
    /lib64/libtinfo.so.6
    /lib64/libdl.so.2
    /lib64/libc.so.6
    /lib64/ld-linux-x86-64.so.2
    /lib64/libnss_sss.so.2
    

    You can see from the list which dynamic shared objects or libraries are running on process 1977


Log in to reply
 

© Lightnetics 2020