Getting a list of used libraries by a running process (unix)

后端 未结 7 487
梦如初夏
梦如初夏 2020-12-23 20:30

I need to find out what libraries a unix process has loaded and might use throughout it\'s lifetime. Is this possible and how. Or better yet, i have a library name and i nee

7条回答
  •  渐次进展
    2020-12-23 21:00

    Solaris has pldd. For Linux you can call ldd on the executable or pmap on a running process or look into /proc/PID/maps for mapped libraries.

提交回复
热议问题