use*_*079 11 linux process zombie-process
僵尸和失效进程之间有区别吗?我找到了维基百科的文章,写的是这两个是相同的.在这种情况下,为什么需要为同一个过程提供2个不同的术语:
对于Linux,"defunct"和"zombie"进程是相同的.
来自man ps:
标记
<defunct>的进程是死进程(所谓的"僵尸"),因为它们的父进程没有正确地销毁它们.如果父进程退出,则init(8)将销毁这些进程.
PROCESS STATE CODES
Here are the different values that the s, stat and state output specifiers (header "STAT" or "S") will display to describe the state of a process:
D uninterruptible sleep (usually IO)
R running or runnable (on run queue)
S interruptible sleep (waiting for an event to complete)
T stopped by job control signal
t stopped by debugger during the tracing
W paging (not valid since the 2.6.xx kernel)
X dead (should never be seen)
Z defunct ("zombie") process, terminated but not reaped by its parent
Run Code Online (Sandbox Code Playgroud)
| 归档时间: |
|
| 查看次数: |
1863 次 |
| 最近记录: |