pub struct ProcessObservation {Show 15 fields
pub pid: u32,
pub ppid: u32,
pub start_ticks: u64,
pub name: String,
pub user_ns: u64,
pub system_ns: u64,
pub waited_user_ns: u64,
pub waited_system_ns: u64,
pub rss_bytes: u64,
pub pss_bytes: Option<u64>,
pub read_bytes: Option<u64>,
pub write_bytes: Option<u64>,
pub minor_faults: u64,
pub major_faults: u64,
pub threads: u64,
}Expand description
One observed process; this is not proof of ownership or a live process handle.
Fields§
§pid: u32Observed process identifier.
ppid: u32Observed parent identifier.
start_ticks: u64Opaque creation identity: Linux start ticks or Darwin start microseconds. Compare only on the same host.
name: StringObserved process name.
user_ns: u64Process user CPU nanoseconds.
system_ns: u64Process system CPU nanoseconds.
waited_user_ns: u64Linux waited-child user CPU nanoseconds; zero on Darwin.
waited_system_ns: u64Linux waited-child system CPU nanoseconds; zero on Darwin.
rss_bytes: u64Resident bytes; shared pages can occur in multiple processes.
pss_bytes: Option<u64>Linux proportional-set bytes, when requested and available.
read_bytes: Option<u64>Linux storage read bytes, when available.
write_bytes: Option<u64>Linux storage write bytes, when available.
minor_faults: u64Linux process and waited-child minor faults; zero on Darwin.
major_faults: u64Linux process and waited-child major faults; zero on Darwin.
threads: u64Observed thread count.