Copyright © 2008-2018, dave - Code samples on Dave's Brain is licensed under the Creative Commons Attribution 2.5 License. However other material, including English text has all rights reserved.
Date: 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>/fdlsof -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