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

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

Log in to reply

© Lightnetics 2024