Struct procinfo::pid::Statm[][src]

pub struct Statm {
    pub size: usize,
    pub resident: usize,
    pub share: usize,
    pub text: usize,
    pub data: usize,
}

Process memory usage information.

All values are in units of pages.

See man 5 proc and Linux/fs/proc/array.c.

Fields

size: usize

Total virtual memory size.

resident: usize

Resident non-swapped memory.

share: usize

Shared memory.

text: usize

Resident executable memory.

data: usize

Resident data and stack memory.

Trait Implementations

impl Debug for Statm[src]

impl Default for Statm[src]

impl Eq for Statm[src]

impl Hash for Statm[src]

impl PartialEq<Statm> for Statm[src]

impl StructuralEq for Statm[src]

impl StructuralPartialEq for Statm[src]

Auto Trait Implementations

impl RefUnwindSafe for Statm

impl Send for Statm

impl Sync for Statm

impl Unpin for Statm

impl UnwindSafe for Statm

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, 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.