tobegit3hub / understand_linux_process

The open-source ebook of Understand Linux Process
MIT License
1k stars 170 forks source link

pdf 文本的问题 #44

Open BearGrass opened 7 years ago

BearGrass commented 7 years ago

在 PPID 章节,有 “进程号为1的进程并没有PPID。”,我在机器上 ps -ef 查看之后发现 pid 为1的进程,ppid 为 0.虽然没有实际进程对应,但是 PPID 这个数字还是有的。

tobegit3hub commented 7 years ago

Nice catch and thanks @BearGrass .

We should change to “进程号为1的进程并没有父进程,通过ps -ef查看可以发现PPID为0". Would you like to send the pull-request to fix that?