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.