How do I know which shared libraries are loaded by an already running process?
I'm using Linux.
This question came from our site for professional and enthusiast programmers.
lsof -p <pid> | grep .so
you may need to install lsof (apt-get install lsof on Ubuntu)
Sign up for our newsletter and get our top new questions delivered to your inbox (see an example).
It shows the process memory map. A library should have --x- bit set in perm.
Sign up using Google
Sign up using Facebook
Sign up using Stack Exchange
4 years ago