Hacker News new | ask | show | jobs
by seodisparate 895 days ago
Isn't there `proc` on Linux systems?

Get the pid of the process you want to inspect, and while its running, execute `ls -lh /proc/<pid>/fd/`. It will list the open file descriptors for that process.

1 comments

Sure, that's one of the more manual methods OP mentions too. Above one is just nicer.