PPID from /proc file system?
hi,
can anyone please tell me if i can get parent process id form /proc file system in RHEL 4? i know i can get the process id thru a small program from /proc, but i am doubtful about where the ppid is stored?
can anyone give me any idea where i can get ppid in /proc and how to read that value?
a small code will also do fine if one can provide.
Thanks in advance for ur reply,
sanjay
|