Stack Exchange network consists of 178 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
Super User is a question and answer site for computer enthusiasts and power users. It only takes a minute to sign up.
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
How do I know which shared libraries are loaded by an already running process?
I'm using Linux.
lsof -p <pid> | grep .so
you may need to install lsof (apt-get install lsof on Ubuntu)
It shows the process memory map. A library should have --x- bit set in perm.
Required, but never shown