pub struct Process {Show 17 fields
pub pid: u32,
pub effective_uid: u32,
pub effective_gid: u32,
pub state: ProcessState,
pub ppid: u32,
pub program: String,
pub cmdline: String,
pub tty: Option<String>,
pub priority: i8,
pub real_time_priority: Option<u8>,
pub nice: i8,
pub threads: usize,
pub vsz: usize,
pub rss: usize,
pub rss_shared: usize,
pub rss_anon: usize,
pub start_time: DateTime<Utc>,
}Fields§
§pid: u32§effective_uid: u32§effective_gid: u32§state: ProcessState§ppid: u32§program: String§cmdline: String§tty: Option<String>§priority: i8§real_time_priority: Option<u8>§nice: i8§threads: usize§vsz: usizeVirtual Set Size (VIRT)
rss: usizeResident Set Size (RES)
Resident Shared Size (SHR)
rss_anon: usizeResident Anonymous Memory
start_time: DateTime<Utc>Trait Implementations§
impl Eq for Process
Auto Trait Implementations§
impl Freeze for Process
impl RefUnwindSafe for Process
impl Send for Process
impl Sync for Process
impl Unpin for Process
impl UnwindSafe for Process
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