List loaded libraries of a process on FreeBSD
4
votes
1
answer
1676
views
How can I list all loaded libraries of a process in FreeBSD? On Linux I can use
/proc
cat /proc/$pid/maps
on Solaris there is pldd
pldd $pid
For FreeBSD /proc
also works:
cat /proc/$pid/map
however, /proc
is not mounted by default. As this is used in an autodetection tool on customers' systems, I'm looking for something (tool or file) that works out of the box. I'm assuming there must be an additional interface to process data on FreeBSD because top
works even without mounted /proc
.
Asked by Thomas Erker
(2927 rep)
Sep 11, 2015, 09:03 AM
Last activity: Aug 8, 2016, 01:37 PM
Last activity: Aug 8, 2016, 01:37 PM