Unix Z+的结果是什么;在ps命令中?
我用以下代码创建了一个僵尸进程:Unix Z+的结果是什么;在ps命令中?,unix,process,posix,Unix,Process,Posix,我用以下代码创建了一个僵尸进程: pid\t子对象; cout从ps手册页,更具体地说,过程状态代码: Z defunct ("zombie") process, terminated but not reaped by its parent. + is in the foreground process group. 当shell执行代码时,它会将程序更改为一个单独的前台进程组。代码的每个子项都与原始程序位于同一个前台进程组中,因此即使父项退出,子项仍位于前台进程组中,这就是为
pid\t子对象;
cout从ps手册页,更具体地说,过程状态代码:
Z defunct ("zombie") process, terminated but not reaped by its parent.
+ is in the foreground process group.
当shell执行代码时,它会将程序更改为一个单独的前台进程组。代码的每个子项都与原始程序位于同一个前台进程组中,因此即使父项退出,子项仍位于前台进程组中,这就是为什么您可以从ps的手册页中看到+。,更具体地说,是进程状态代码:
Z defunct ("zombie") process, terminated but not reaped by its parent.
+ is in the foreground process group.
当shell执行代码时,它会将程序更改为一个单独的前台进程组。代码的每个子进程都与原始程序位于同一个前台进程组中,因此即使父进程退出,子进程仍然位于前台进程组中,这就是为什么您会看到+