View files and streams being used by a process
9 April 2023 (Updated 9 April 2023)
Find the process ID and then execute:
lsof -p <process-id>
Example output:
![View files and streams being used by a process](https://sajadtorkamani.com/wp-content/uploads/2023/04/Screenshot-2023-04-09-at-11.55.47-1024x224.png)
Tagged:
Unix
Thanks for your comment 🙏. Once it's approved, it will appear here.
Leave a comment