Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ThermalZone ¶
func ThermalZoneFile ¶
Types ¶
type Status ¶ added in v0.2.87
type StatusCollector ¶ added in v0.4.9
type StatusCollector struct { Temperature *Series[int] CpuUsedPercent *Series[int] RamTotal *Series[uint64] RamUsed *Series[uint64] DiskTotal *Series[uint64] DiskUsed *Series[uint64] }
func NewStatusCollector ¶ added in v0.4.9
func NewStatusCollector(capacity int) *StatusCollector
func (*StatusCollector) Get ¶ added in v0.4.9
func (o *StatusCollector) Get() (s Status)
func (*StatusCollector) Poll ¶ added in v0.4.9
func (o *StatusCollector) Poll() Status
Click to show internal directories.
Click to hide internal directories.