The presence of a parent PID (PPID) implies that one process is created by another process.
父 PID (PPID) 的存在意味着这是一个由别的进程创建的进程。
Fork creates a child process that differs from the parent process only in its PID and PPID; in fact, the resource utilizations are set to 0.
fork会创建一个子进程,与父进程相比只是PID和PPID不同;实际上,资源利用设为0。
Notice that the parent process id (PPID) in the first output of ps is 8619, which is the process id (PID) of the script.
注意:ps的第一个输出中的父进程id (PPID)为8619,这是脚本的进程id (PID)。
应用推荐