You can see that the PPID changes to 1 as the parent dies.
可以看到,PPID 在父进程终止后更改为 1。
Init and other processes with a PPID of 0 belong to the kernel.
init和其他具有PPID 0的进程属于内核。
According to the PPID fields in this list, the ps command is a child of the bash shell.
从该列表的PPID字段中,我们知道ps命令是bash shell的子进程。
应用推荐