linuxmemory

package
v0.0.0-...-efb87f3 Latest Latest
Warning

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

Go to latest
Published: Feb 9, 2024 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// ErrSyntax will be returned, if we don't understand the format of /proc/meminfo.
	ErrSyntax = errors.New("unknown format of /proc/meminfo")
)

Functions

This section is empty.

Types

type Memory

type Memory struct{}

Memory will check basic memory usage on a remote host.

func (*Memory) RemoteCheck

func (m *Memory) RemoteCheck(transport transports.Transport, result plugins.AgentResult) error

RemoteCheck implements plugins.RemoteAgent.

Jump to

Keyboard shortcuts

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