Struct mprober_lib::process::ProcessStat [−][src]
pub struct ProcessStat {}Show fields
pub state: ProcessState, pub comm: String, pub ppid: u32, pub pgrp: u32, pub session: u32, pub tty_nr_major: u8, pub tty_nr_minor: u32, pub tpgid: Option<u32>, pub utime: u32, pub stime: u32, pub cutime: u32, pub cstime: u32, pub priority: i8, pub nice: i8, pub num_threads: usize, pub starttime: u64, pub vsize: usize, pub rss: usize, pub rsslim: usize, pub processor: usize, pub rt_priority: u8, pub shared: usize, pub rss_anon: usize,
Fields
state: ProcessState
comm: String
ppid: u32
pgrp: u32
session: u32
tty_nr_major: u8
tty_nr_minor: u32
tpgid: Option<u32>
utime: u32
stime: u32
cutime: u32
cstime: u32
priority: i8
nice: i8
num_threads: usize
starttime: u64
vsize: usize
size, VmSize (total program size)
rss: usize
resident, VmRSS (resident set size)
rsslim: usize
processor: usize
rt_priority: u8
RssFile + RssShmem (resident shared size)
rss_anon: usize
VmRSS - RssFile - RssShmem = RssAnon (resident anonymous memory, process occupied memory)
Trait Implementations
impl Clone for ProcessStat
[src]
fn clone(&self) -> ProcessStat
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for ProcessStat
[src]
impl Default for ProcessStat
[src]
fn default() -> ProcessStat
[src]
impl From<ProcessStat> for ProcessTimeStat
[src]
fn from(process_stat: ProcessStat) -> Self
[src]
Auto Trait Implementations
impl RefUnwindSafe for ProcessStat
impl Send for ProcessStat
impl Sync for ProcessStat
impl Unpin for ProcessStat
impl UnwindSafe for ProcessStat
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,