[][src]Struct mprober_lib::process::ProcessStat

pub struct ProcessStat {
    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: ProcessStatecomm: Stringppid: u32pgrp: u32session: u32tty_nr_major: u8tty_nr_minor: u32tpgid: Option<u32>utime: u32stime: u32cutime: u32cstime: u32priority: i8nice: i8num_threads: usizestarttime: u64vsize: usize

size, VmSize (total program size)

rss: usize

resident, VmRSS (resident set size)

rsslim: usizeprocessor: usizert_priority: u8shared: usize

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]

impl Debug for ProcessStat[src]

impl Default for ProcessStat[src]

impl From<ProcessStat> for ProcessTimeStat[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.