Sample Header Ad - 728x90

How to use lsof to list all files open by the parent process AND its children?

4 votes
4 answers
7133 views
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?
Asked by Jeff S (41 rep)
Jan 7, 2018, 01:23 AM
Last activity: Sep 1, 2024, 06:13 PM