Show open files of a process

From AdminWiki

Jump to: navigation, search
  • With lsof:
lsof -p <pid>
  • Using procfs:
ls -l /proc/<pid>/fd

Category:Lsof Category:Shell Category:Snippet Category:Debugging Category:Procfs

Personal tools