_64-linux-gnu/4.8/f951", 0x7fff0490e630) = -1 ENOENT (No such file or directory)stat("/usr/lib64/gcc/x86_64-suse-linux/4.0.2/f951", 0x7fff0490e630) = -1<
如果父进程已退出,则proc/$pid/stat文件不再包含父pid,并且它将显示1而不是原始父pid。linux$cat /proc/6267/stat# ^#I expected to get the origin parent pid but I get 1
要快速再现这种行为,我们可以使用以下