MemoryStat Class
Represents memory statistics for a cgroup.
public sealed class MemoryStatRemarks
Every property is nullable because the set of keys memory.stat emits varies by kernel version and configuration. null means the running kernel did not report the value, which is distinct from it reporting zero.
Constructors
| Name | Description |
|---|---|
| MemoryStat() |
MemoryStat()
public MemoryStat()No documentation is available.
Properties
| Name | Description |
|---|---|
| ActiveAnon | Active anonymous memory (bytes). |
| ActiveFile | Active file-backed memory (bytes). |
| Anon | Memory used in anonymous mappings (bytes). |
| File | Memory used to cache filesystem data (bytes). |
| FileDirty | Cached filesystem data that was modified but not yet written back (bytes). |
| FileMapped | Cached filesystem data mapped with mmap (bytes). |
| FileWriteback | Cached filesystem data being written back to disk (bytes). |
| InactiveAnon | Inactive anonymous memory (bytes). |
| InactiveFile | Inactive file-backed memory (bytes). |
| Kernel | Total kernel memory (bytes). |
| KernelStack | Memory allocated to kernel stacks (bytes). |
| PageFault | Number of page faults. |
| PageMajorFault | Number of major page faults. |
| PageSwapIn | Number of pages swapped in. |
| PageSwapOut | Number of pages swapped out. |
| PageTables | Memory allocated for page tables (bytes). |
| PerCpu | Memory used for storing per-cpu kernel data structures (bytes). |
| Slab | Total slab memory (bytes). |
| SlabReclaimable | Reclaimable slab memory (bytes). |
| SlabUnreclaimable | Unreclaimable slab memory (bytes). |
| Sock | Memory used in network transmission buffers (bytes). |
| SwapCached | Memory cached in swap (bytes). |
| Unevictable | Unevictable memory (bytes). |