Add code to report zombie state.
PR: threads/91044 MFC after: 3 days
This commit is contained in:
parent
408b85a1e2
commit
3357835a46
@ -789,6 +789,8 @@ fill_kinfo_thread(struct thread *td, struct kinfo_proc *kp)
|
||||
} else {
|
||||
kp->ki_stat = SWAIT;
|
||||
}
|
||||
} else if (p->p_state == PRS_ZOMBIE) {
|
||||
kp->ki_stat = SZOMB;
|
||||
} else {
|
||||
kp->ki_stat = SIDL;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user