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

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

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

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.