xstat

package
v0.0.0-...-32dc681 Latest Latest
Warning

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

Go to latest
Published: Jun 7, 2021 License: GPL-3.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type IOS

type IOS struct {
	Stat *IOStat
	All  *IOStat
	// contains filtered or unexported fields
}

IOS tuple.

func NewIOS

func NewIOS(conf *xcommon.Conf) *IOS

NewIOS creates new IOS.

func (*IOS) Start

func (v *IOS) Start()

Start used to start the ios.

func (*IOS) Stop

func (v *IOS) Stop()

Stop used to stop the ios.

type IOStat

type IOStat struct {
	RRQM_S float64
	WRQM_S float64
	RS     float64
	WS     float64
	RKB_S  float64
	WKB_S  float64
	AWAIT  float64
	UTIL   float64
}

IOStat tuple.

type VMS

type VMS struct {
	Stat *VMStat
	All  *VMStat
	// contains filtered or unexported fields
}

VMS tuple.

func NewVMS

func NewVMS(conf *xcommon.Conf) *VMS

NewVMS creates the new VMS.

func (*VMS) Start

func (v *VMS) Start()

Start used to start the vms.

func (*VMS) Stop

func (v *VMS) Stop()

Stop used to stop the vms.

type VMStat

type VMStat struct {
	SystemCS uint64
	IdleCPU  uint64
	MemFree  uint64
	MemCache uint64
	SwapSi   uint64
	SwapSo   uint64
}

VMStat tuple.

Jump to

Keyboard shortcuts

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