memory

package
v0.5.0-rc-13 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 3, 2025 License: Apache-2.0 Imports: 22 Imported by: 0

Documentation

Overview

Package memory tracks the memory usage of the host.

Index

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 HasEDACCorrectableErrors(line string) bool

func HasOOM added in v0.4.4

func HasOOM(line string) bool

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 HasOOMCgroup(line string) bool

func HasOOMKillConstraint added in v0.4.4

func HasOOMKillConstraint(line string) bool

func HasOOMKiller added in v0.4.4

func HasOOMKiller(line string) bool

func Match added in v0.4.4

func Match(line string) (eventName string, message string)

func New

func New(gpudInstance *components.GPUdInstance) (components.Component, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL