Shows the open fds for a process:
lsof -p 12345
If a file was already deleted, you can see whether a process still holds it open and then try to access it via the /proc filesystem: cp /proc/12345/fd/xxx ./test.one
Need to recover a binary that is not in a file:cp /proc/12345/exe ./exefile