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.

1
  • Peek into /proc/24471/cmdline or something.
    – mario
    Dec 8, 2011 at 21:27

1 Answer 1

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

You must log in to answer this question.