pub struct ZombieOrphanInfo {
pub pid: u32,
pub ppid: u32,
pub comm: String,
pub state: String,
pub exit_code: i32,
pub original_ppid: u32,
pub is_zombie: bool,
pub is_orphan: bool,
pub is_suspicious: bool,
}Expand description
Information about a zombie or orphan process found in memory.
Fields§
§pid: u32Process ID.
ppid: u32PID of the current parent (may be 1/init after reparenting).
comm: StringProcess name from task_struct.comm.
state: StringHuman-readable process state string.
exit_code: i32Exit code stored in task_struct.exit_code.
original_ppid: u32PID of the original parent before any reparenting.
is_zombie: boolTrue if the process is in zombie state (exited, not yet reaped).
is_orphan: boolTrue if the process was reparented to init (PID 1).
is_suspicious: boolTrue if heuristics flag this entry as anomalous.
Trait Implementations§
Source§impl Clone for ZombieOrphanInfo
impl Clone for ZombieOrphanInfo
Source§fn clone(&self) -> ZombieOrphanInfo
fn clone(&self) -> ZombieOrphanInfo
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ZombieOrphanInfo
impl Debug for ZombieOrphanInfo
Auto Trait Implementations§
impl Freeze for ZombieOrphanInfo
impl RefUnwindSafe for ZombieOrphanInfo
impl Send for ZombieOrphanInfo
impl Sync for ZombieOrphanInfo
impl Unpin for ZombieOrphanInfo
impl UnsafeUnpin for ZombieOrphanInfo
impl UnwindSafe for ZombieOrphanInfo
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more