Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AvgCpuUsage ¶
func StartCpuUsageAverage ¶ added in v1.0.0
func StartCpuUsageAverage()
Types ¶
type CpuUsage ¶
type CpuUsage struct { Busy, Idle, Total uint64 // reported sum total of all usage }
type SystemUsage ¶
type SystemUsage struct { Memory memoryUsage CpuBusyAvg float64 }
func NewSystemUsage ¶
func NewSystemUsage() (s SystemUsage)
Click to show internal directories.
Click to hide internal directories.