Show binaries and libraries of a PID

Show only the executable and the loaded shared libraries; -a joins the filters with AND, useful after a deploy

lsof -p <pid> -a -d txt,mem

tool
lsof19 commands
tags
lsofdebugtroubleshootingperformance

More lsof commands

all 19 lsof commands