Documentation
¶
Index ¶
Constants ¶
View Source
const ( CPUSomeAvg10 uint = iota CPUSomeAvg60 CPUSomeAvg300 CPUFullAvg10 CPUFullAvg60 CPUFullAvg300 )
View Source
const ( IoSomeAvg10 uint = iota IoSomeAvg60 IoSomeAvg300 IoFullAvg10 IoFullAvg60 IoFullAvg300 )
View Source
const ( MemorySomeAvg10 uint = iota MemorySomeAvg60 MemorySomeAvg300 MemoryFullAvg10 MemoryFullAvg60 MemoryFullAvg300 )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PressureElement ¶
type PressureElement struct { Some PressureValue Full PressureValue FullPresent bool Type PressureType }
func ReadCPUPressure ¶
func ReadCPUPressure() (*PressureElement, error)
func ReadIoPressure ¶
func ReadIoPressure() (*PressureElement, error)
func ReadMemoryPressure ¶
func ReadMemoryPressure() (*PressureElement, error)
func (*PressureElement) Perfdata ¶
func (p *PressureElement) Perfdata() *perfdata.PerfdataList
type PressureType ¶
type PressureType uint
type PressureValue ¶
func (*PressureValue) Perfdata ¶
func (p *PressureValue) Perfdata(prefix string) *perfdata.PerfdataList
Click to show internal directories.
Click to hide internal directories.