Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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?


share|improve this question

migrated from Dec 8 '11 at 21:35

This question came from our site for professional and enthusiast programmers.

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

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
share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.