top命令发现两个僵尸进程
top - 11:36:05 up 47 min, 5 users, load average: 0.82, 1.04, 0.79 Tasks: 258 total, 1 running, 255 sleeping, 0 stopped, 2 zombie %Cpu(s): 2.2 us, 2.2 sy, 0.0 ni, 95.0 id, 0.0 wa, 0.0 hi, 0.7 si, 0.0 st MiB Mem : 7833.629 total, 1335.500 free, 2568.789 used, 3929.340 buff/cache MiB Swap: 8191.996 total, 8191.996 free, 0.000 used. 4831.660 avail Mem top - 11:38:38 up 50 min, 5 users, load average: 0.62, 0.84, 0.75 Tasks: 256 total, 1 running, 253 sleeping, 0 stopped, 2 zombie %Cpu(s): 4.9 us, 2.5 sy, 0.0 ni, 91.9 id, 0.0 wa, 0.0 hi, 0.7 si, 0.0 st MiB Mem : 7833.629 total, 1335.039 free, 2555.422 used, 3943.168 buff/cache MiB Swap: 8191.996 total, 8191.996 free, 0.000 used. 4834.969 avail Mem
然后ps查看
$ ps -e -ostat,ppid,pid,cmd | egrep '^[Zz]' Z 24549 24562 [Xsession] Z 24549 24564 [nvidia-settings]
所以有知道为啥会出现这两个僵尸进程,以及如何解决吗。
系统是leap 15.2.