2

I have processes like that:

24471 myuser     17   0     0    0    0 Z  3.0  0.0   0:00.09 [php] <defunct>
24488 myuser     17   0     0    0    0 Z  3.0  0.0   0:00.09 [php] <defunct>

How can I find file path?

Thanks.

  • Peek into /proc/24471/cmdline or something. – mario Dec 8 '11 at 21:27
3

There is a symbolic link in /proc/$PROCESSID/exe to the executable file of a process.

Hopefully you can type

ls -l /proc/24471/exe
| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy