Documentation
¶
Overview ¶
Package memory tracks the memory usage of the host.
Index ¶
- Constants
- func HasEDACCorrectableErrors(line string) bool
- func HasOOM(line string) bool
- func HasOOMCgroup(line string) bool
- func HasOOMKillConstraint(line string) bool
- func HasOOMKiller(line string) bool
- func Match(line string) (eventName string, message string)
- func New(gpudInstance *components.GPUdInstance) (components.Component, error)
Constants ¶
View Source
const Name = "memory"
Name is the ID of the memory component.
View Source
const SubSystem = "memory"
Variables ¶
This section is empty.
Functions ¶
func HasEDACCorrectableErrors ¶ added in v0.4.4
func HasOOM ¶ added in v0.4.4
Returns true if the line indicates that the file-max limit has been reached. ref. https://docs.kernel.org/admin-guide/sysctl/fs.html#file-max-file-nr
func HasOOMCgroup ¶ added in v0.4.4
func HasOOMKillConstraint ¶ added in v0.4.4
func HasOOMKiller ¶ added in v0.4.4
func New ¶
func New(gpudInstance *components.GPUdInstance) (components.Component, error)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.