Browse - computer tips - linux what files does that process have openDate: 2010mar7 OS: Linux Q. How can I see what files a process has open? A. Here are two commands that do that: ls -l /proc/<pid>/fd lsof -p <pid> where <pid> is the unique process id. Many processes will have special files stdin, stdout and stderr open.
Add a commentSign in to add a comment | Advertisements:
|