View files and streams being used by a process
9 April 2023 (Updated 3 August 2025)
Find the process ID and then execute:
lsof -p <process-id>
Example output:

Tagged:
Unix processes
Thanks for your comment 🙏. Once it's approved, it will appear here.
Leave a comment