I know it's possible to get ppid information from /proc/PID/status
but I just want to use it as the backup plan.
So, is it possible to get the PPID by giving a PID number? getppid(2)
can only get the PPID of current process so it's not helpful in this situation.
Any idea? Thank you.