Help us shape the future of Go! Take the 2026 Go Developer Survey

load

package
v0.1.9 Latest Latest
Warning

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

Go to latest
Published: Sep 9, 2026 License: GPL-3.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() check.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