Finding immediate child process using /proc filesystem
From: EC (lec_at_mailasia.com)
Date: 09/30/04
- Next message: Paul Pluzhnikov: "Re: libc problem"
- Previous message: QNils_O=2E_Sel=E5sdal=22?=: "Re: problem with simple clock() call"
- Next in thread: Kasper Dupont: "Re: Finding immediate child process using /proc filesystem"
- Reply: Kasper Dupont: "Re: Finding immediate child process using /proc filesystem"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: 30 Sep 2004 07:29:00 -0700
Hi,
is it possible to find the immediate child processes using /proc
filesystem? I know in the /proc/<pid>/status file can find the ppid,
by scanning through the whole /proc I may find immediate child
processes, but I think it is very not efficient. Is there a better way
to do it?
Thanks and regards,
EC
- Next message: Paul Pluzhnikov: "Re: libc problem"
- Previous message: QNils_O=2E_Sel=E5sdal=22?=: "Re: problem with simple clock() call"
- Next in thread: Kasper Dupont: "Re: Finding immediate child process using /proc filesystem"
- Reply: Kasper Dupont: "Re: Finding immediate child process using /proc filesystem"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]