[−][src]Trait heim::memory::os::linux::MemoryExt
Linux-specific extension to Memory
Required methods
fn used(
&self
) -> Quantity<dyn Dimension<I = Z0, Kind = dyn InformationKind + 'static, T = Z0, N = Z0, Th = Z0, M = Z0, J = Z0, L = Z0> + 'static, dyn Units<u64, luminous_intensity = candela, time = second, electric_current = ampere, length = meter, mass = kilogram, thermodynamic_temperature = kelvin, amount_of_substance = mole> + 'static, u64>
&self
) -> Quantity<dyn Dimension<I = Z0, Kind = dyn InformationKind + 'static, T = Z0, N = Z0, Th = Z0, M = Z0, J = Z0, L = Z0> + 'static, dyn Units<u64, luminous_intensity = candela, time = second, electric_current = ampere, length = meter, mass = kilogram, thermodynamic_temperature = kelvin, amount_of_substance = mole> + 'static, u64>
The amount of physical RAM used.
It is designed for informational purposes only and might vary vastly from platform to platform.
fn buffers(
&self
) -> Quantity<dyn Dimension<I = Z0, Kind = dyn InformationKind + 'static, T = Z0, N = Z0, Th = Z0, M = Z0, J = Z0, L = Z0> + 'static, dyn Units<u64, luminous_intensity = candela, time = second, electric_current = ampere, length = meter, mass = kilogram, thermodynamic_temperature = kelvin, amount_of_substance = mole> + 'static, u64>
&self
) -> Quantity<dyn Dimension<I = Z0, Kind = dyn InformationKind + 'static, T = Z0, N = Z0, Th = Z0, M = Z0, J = Z0, L = Z0> + 'static, dyn Units<u64, luminous_intensity = candela, time = second, electric_current = ampere, length = meter, mass = kilogram, thermodynamic_temperature = kelvin, amount_of_substance = mole> + 'static, u64>
The amount of physical RAM used for file buffers.
fn cached(
&self
) -> Quantity<dyn Dimension<I = Z0, Kind = dyn InformationKind + 'static, T = Z0, N = Z0, Th = Z0, M = Z0, J = Z0, L = Z0> + 'static, dyn Units<u64, luminous_intensity = candela, time = second, electric_current = ampere, length = meter, mass = kilogram, thermodynamic_temperature = kelvin, amount_of_substance = mole> + 'static, u64>
&self
) -> Quantity<dyn Dimension<I = Z0, Kind = dyn InformationKind + 'static, T = Z0, N = Z0, Th = Z0, M = Z0, J = Z0, L = Z0> + 'static, dyn Units<u64, luminous_intensity = candela, time = second, electric_current = ampere, length = meter, mass = kilogram, thermodynamic_temperature = kelvin, amount_of_substance = mole> + 'static, u64>
The amount of physical RAM used as cache memory.
fn shared(
&self
) -> Quantity<dyn Dimension<I = Z0, Kind = dyn InformationKind + 'static, T = Z0, N = Z0, Th = Z0, M = Z0, J = Z0, L = Z0> + 'static, dyn Units<u64, luminous_intensity = candela, time = second, electric_current = ampere, length = meter, mass = kilogram, thermodynamic_temperature = kelvin, amount_of_substance = mole> + 'static, u64>
&self
) -> Quantity<dyn Dimension<I = Z0, Kind = dyn InformationKind + 'static, T = Z0, N = Z0, Th = Z0, M = Z0, J = Z0, L = Z0> + 'static, dyn Units<u64, luminous_intensity = candela, time = second, electric_current = ampere, length = meter, mass = kilogram, thermodynamic_temperature = kelvin, amount_of_substance = mole> + 'static, u64>
The amount of memory that may be simultaneously accessed by multiple processes.
fn active(
&self
) -> Quantity<dyn Dimension<I = Z0, Kind = dyn InformationKind + 'static, T = Z0, N = Z0, Th = Z0, M = Z0, J = Z0, L = Z0> + 'static, dyn Units<u64, luminous_intensity = candela, time = second, electric_current = ampere, length = meter, mass = kilogram, thermodynamic_temperature = kelvin, amount_of_substance = mole> + 'static, u64>
&self
) -> Quantity<dyn Dimension<I = Z0, Kind = dyn InformationKind + 'static, T = Z0, N = Z0, Th = Z0, M = Z0, J = Z0, L = Z0> + 'static, dyn Units<u64, luminous_intensity = candela, time = second, electric_current = ampere, length = meter, mass = kilogram, thermodynamic_temperature = kelvin, amount_of_substance = mole> + 'static, u64>
The total amount of buffer or page cache memory, that is in active use.
This is memory that has been recently used and is usually not reclaimed for other purposes.
fn inactive(
&self
) -> Quantity<dyn Dimension<I = Z0, Kind = dyn InformationKind + 'static, T = Z0, N = Z0, Th = Z0, M = Z0, J = Z0, L = Z0> + 'static, dyn Units<u64, luminous_intensity = candela, time = second, electric_current = ampere, length = meter, mass = kilogram, thermodynamic_temperature = kelvin, amount_of_substance = mole> + 'static, u64>
&self
) -> Quantity<dyn Dimension<I = Z0, Kind = dyn InformationKind + 'static, T = Z0, N = Z0, Th = Z0, M = Z0, J = Z0, L = Z0> + 'static, dyn Units<u64, luminous_intensity = candela, time = second, electric_current = ampere, length = meter, mass = kilogram, thermodynamic_temperature = kelvin, amount_of_substance = mole> + 'static, u64>
The total amount of buffer or page cache memory, that are free and available.
This is memory that has not been recently used and can be reclaimed for other purposes.
Implementors
impl MemoryExt for Memory
[src]
pub fn used(
&self
) -> Quantity<dyn Dimension<I = Z0, Kind = dyn InformationKind + 'static, T = Z0, N = Z0, Th = Z0, M = Z0, J = Z0, L = Z0> + 'static, dyn Units<u64, luminous_intensity = candela, time = second, electric_current = ampere, length = meter, mass = kilogram, thermodynamic_temperature = kelvin, amount_of_substance = mole> + 'static, u64>
[src]
&self
) -> Quantity<dyn Dimension<I = Z0, Kind = dyn InformationKind + 'static, T = Z0, N = Z0, Th = Z0, M = Z0, J = Z0, L = Z0> + 'static, dyn Units<u64, luminous_intensity = candela, time = second, electric_current = ampere, length = meter, mass = kilogram, thermodynamic_temperature = kelvin, amount_of_substance = mole> + 'static, u64>
pub fn buffers(
&self
) -> Quantity<dyn Dimension<I = Z0, Kind = dyn InformationKind + 'static, T = Z0, N = Z0, Th = Z0, M = Z0, J = Z0, L = Z0> + 'static, dyn Units<u64, luminous_intensity = candela, time = second, electric_current = ampere, length = meter, mass = kilogram, thermodynamic_temperature = kelvin, amount_of_substance = mole> + 'static, u64>
[src]
&self
) -> Quantity<dyn Dimension<I = Z0, Kind = dyn InformationKind + 'static, T = Z0, N = Z0, Th = Z0, M = Z0, J = Z0, L = Z0> + 'static, dyn Units<u64, luminous_intensity = candela, time = second, electric_current = ampere, length = meter, mass = kilogram, thermodynamic_temperature = kelvin, amount_of_substance = mole> + 'static, u64>
pub fn cached(
&self
) -> Quantity<dyn Dimension<I = Z0, Kind = dyn InformationKind + 'static, T = Z0, N = Z0, Th = Z0, M = Z0, J = Z0, L = Z0> + 'static, dyn Units<u64, luminous_intensity = candela, time = second, electric_current = ampere, length = meter, mass = kilogram, thermodynamic_temperature = kelvin, amount_of_substance = mole> + 'static, u64>
[src]
&self
) -> Quantity<dyn Dimension<I = Z0, Kind = dyn InformationKind + 'static, T = Z0, N = Z0, Th = Z0, M = Z0, J = Z0, L = Z0> + 'static, dyn Units<u64, luminous_intensity = candela, time = second, electric_current = ampere, length = meter, mass = kilogram, thermodynamic_temperature = kelvin, amount_of_substance = mole> + 'static, u64>
pub fn shared(
&self
) -> Quantity<dyn Dimension<I = Z0, Kind = dyn InformationKind + 'static, T = Z0, N = Z0, Th = Z0, M = Z0, J = Z0, L = Z0> + 'static, dyn Units<u64, luminous_intensity = candela, time = second, electric_current = ampere, length = meter, mass = kilogram, thermodynamic_temperature = kelvin, amount_of_substance = mole> + 'static, u64>
[src]
&self
) -> Quantity<dyn Dimension<I = Z0, Kind = dyn InformationKind + 'static, T = Z0, N = Z0, Th = Z0, M = Z0, J = Z0, L = Z0> + 'static, dyn Units<u64, luminous_intensity = candela, time = second, electric_current = ampere, length = meter, mass = kilogram, thermodynamic_temperature = kelvin, amount_of_substance = mole> + 'static, u64>
pub fn active(
&self
) -> Quantity<dyn Dimension<I = Z0, Kind = dyn InformationKind + 'static, T = Z0, N = Z0, Th = Z0, M = Z0, J = Z0, L = Z0> + 'static, dyn Units<u64, luminous_intensity = candela, time = second, electric_current = ampere, length = meter, mass = kilogram, thermodynamic_temperature = kelvin, amount_of_substance = mole> + 'static, u64>
[src]
&self
) -> Quantity<dyn Dimension<I = Z0, Kind = dyn InformationKind + 'static, T = Z0, N = Z0, Th = Z0, M = Z0, J = Z0, L = Z0> + 'static, dyn Units<u64, luminous_intensity = candela, time = second, electric_current = ampere, length = meter, mass = kilogram, thermodynamic_temperature = kelvin, amount_of_substance = mole> + 'static, u64>
pub fn inactive(
&self
) -> Quantity<dyn Dimension<I = Z0, Kind = dyn InformationKind + 'static, T = Z0, N = Z0, Th = Z0, M = Z0, J = Z0, L = Z0> + 'static, dyn Units<u64, luminous_intensity = candela, time = second, electric_current = ampere, length = meter, mass = kilogram, thermodynamic_temperature = kelvin, amount_of_substance = mole> + 'static, u64>
[src]
&self
) -> Quantity<dyn Dimension<I = Z0, Kind = dyn InformationKind + 'static, T = Z0, N = Z0, Th = Z0, M = Z0, J = Z0, L = Z0> + 'static, dyn Units<u64, luminous_intensity = candela, time = second, electric_current = ampere, length = meter, mass = kilogram, thermodynamic_temperature = kelvin, amount_of_substance = mole> + 'static, u64>