load

package
v0.1.4 Latest Latest
Warning

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

Go to latest
Published: Mar 18, 2024 License: GPL-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Load

type Load struct {
	LoadAvg   *load.AvgStat
	CliConfig *LoadConfig
}

func GetActualLoadValues

func GetActualLoadValues() (l *Load, err error)

func (*Load) GetOutput

func (l *Load) GetOutput() (output string)

func (*Load) GetPerfData

func (l *Load) GetPerfData() perfdata.PerfdataList

type LoadConfig

type LoadConfig struct {
	Load1Th  thresholds.Thresholds
	Load5Th  thresholds.Thresholds
	Load15Th thresholds.Thresholds
	PerCPU   bool
}

nolint

Jump to

Keyboard shortcuts

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