[−][src]Trait heim_memory::os::linux::MemoryExt
This is supported on Linux only.
Linux-specific extension to Memory
Required methods
fn used(&self) -> Information
This is supported on Linux only.
The amount of physical RAM used.
It is designed for informational purposes only and might vary vastly from platform to platform.
fn buffers(&self) -> Information
This is supported on Linux only.
The amount of physical RAM used for file buffers.
fn cached(&self) -> Information
This is supported on Linux only.
The amount of physical RAM used as cache memory.
fn shared(&self) -> Information
This is supported on Linux only.
The amount of memory that may be simultaneously accessed by multiple processes.
fn active(&self) -> Information
This is supported on Linux only.
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) -> Information
This is supported on Linux only.
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.