Constantsยง
- V1_
MEMORY_ ๐LIMIT_ PATH Default paths for memory limtiations and usage for cgroup v1 and cgroup v2. - V2_
MEMORY_ ๐LIMIT_ PATH
Functionsยง
- Returns the memory limit of a container if running in a container else returns the system memory available. When the limit is set to max,
system_memory_available_bytes()
will return default system memory. - Returns the memory used in a container if running in a container else returns the system memory used.
- Returns the system memory.
- Returns the used memory of the system.
- Returns the total memory available by the system in bytes.
- Returns the total memory used by the system in bytes.