resources

package
v1.1.8 Latest Latest
Warning

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

Go to latest
Published: Aug 15, 2023 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AdjustOOMScoreAdj

func AdjustOOMScoreAdj()

func IsStressNgInstalled

func IsStressNgInstalled() bool

func Start

func Start(state *StressActionState) (*action_kit_api.StartResult, error)

func StartStressNG

func StartStressNG(args []string) (int, error)

func Stop

func Stop(state *StressActionState) (*action_kit_api.StopResult, error)

func StopStressNG

func StopStressNG(pid int) error

Types

type StressActionState

type StressActionState struct {
	StressNGArgs []string
	Pid          int
}

Jump to

Keyboard shortcuts

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