Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CurrentIOPressure ¶
CurrentIOPressure reads /proc/pressure/io and returns a Pressure struct representing its output
func CurrentMemoryPressure ¶
CurrentMemoryPressure reads /proc/pressure/memory and returns a Pressure struct representing its output
Types ¶
type AllPressures ¶
type AllPressures struct { CPU CPUPressure IO IOPressure Memory MemoryPressure }
func CurrentAllPressures ¶
func CurrentAllPressures() (*AllPressures, error)
type CPUPressure ¶
type CPUPressure struct {
SomePressure Pressure
}
type IOPressure ¶
type MemoryPressure ¶
Click to show internal directories.
Click to hide internal directories.