Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AvgCpuUsage ¶
func StartCpuUsageAverage ¶
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.