lsof -p PID
works fine to list all files open by a single process, but I need to list all currently open files by a specific master process AND its children processes. What is the best way to do this? If this isn’t possible with lsof
, what other way could I accomplish this?