Struct procinfo::Statm [] [src]

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

Provides information about memory usage, as measured in pages.

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 Hash for Statm
[src]

fn hash<__H: Hasher>(&self, __arg_0: &mut __H)

Feeds this value into the state given, updating the hasher as necessary.

fn hash_slice<H>(data: &[Self], state: &mut H) where H: Hasher
1.3.0

Feeds a slice of this type into the state provided.

impl Eq for Statm
[src]

impl PartialEq for Statm
[src]

fn eq(&self, __arg_0: &Statm) -> bool

This method tests for self and other values to be equal, and is used by ==. Read more

fn ne(&self, __arg_0: &Statm) -> bool

This method tests for !=.

impl Default for Statm
[src]

fn default() -> Statm

Returns the "default value" for a type. Read more

impl Debug for Statm
[src]

fn fmt(&self, __arg_0: &mut Formatter) -> Result

Formats the value using the given formatter.