[][src]Struct procfs::process::StatM

pub struct StatM {
    pub size: u64,
    pub resident: u64,
    pub shared: u64,
    pub text: u64,
    pub lib: u64,
    pub data: u64,
    pub dt: u64,
}

Provides information about memory usage, measured in pages.

Fields

size: u64

Total program size, measured in pages

(same as VmSize in /proc//status)

resident: u64

Resident set size, measured in pages

(same as VmRSS in /proc//status)

shared: u64

number of resident shared pages (i.e., backed by a file)

(same as RssFile+RssShmem in /proc//status)

text: u64

Text (code)

lib: u64

library (unused since Linux 2.6; always 0)

data: u64

data + stack

dt: u64

dirty pages (unused since Linux 2.6; always 0)

Trait Implementations

impl Clone for StatM[src]

impl Copy for StatM[src]

impl Debug 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> 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.