Show open files of a process
From AdminWiki
- With lsof:
lsof -p <pid>
- Using procfs:
ls -l /proc/<pid>/fd
Category:Lsof Category:Shell Category:Network Category:Snippet Category:Debugging Category:Procfs
lsof -p <pid>
ls -l /proc/<pid>/fd
Category:Lsof Category:Shell Category:Network Category:Snippet Category:Debugging Category:Procfs