Saying that there is a running process named a.

Is it possible to list all of the lib files that a needs, including static link files and dynamic link files (.a, .so)?

  • 1
    What does it mean to identify the static libraries used by a running process? – Michael Homer Mar 9 '18 at 7:12
  • Doesn't /proc/${PID}/maps show all loaded files in memory, besides other things? – pfnuesel Mar 9 '18 at 7:20
  • lsof for running processes, ldd for the executable commands, would show the libraries loaded. – muru Mar 9 '18 at 7:24