Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.
$ ps
UID        PID  PPID  C STIME TTY          TIME CMD
il       17626     1  0 14:02 ?        00:00:00 /bin/bash /usr/bin/xdg-open file:///media/distrpart/Downloads/utorrent/test.png

I want to know who launched xdg-open, but the parent is dead. Is there a way to not let processes die for a certain timeout?

share|improve this question
1  
Perhaps this answer from superuser might give you a hint. superuser.com/q/222912 –  Dmitri Chubarov Dec 16 '12 at 12:00

1 Answer 1

up vote 1 down vote accepted

Unfortunately that's not possible. You would have to change (as in, programming) libc and init and you would break one of the fundamental rules in the unix process model, likely breaking many applications.

In short: don't do it :)

share|improve this answer

Your Answer

 
discard

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.