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.
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.