type CPUSample …
type ProcCPUSample …
type ProcCPUAverage …
type SimpleCPUAverage …
type CPUAverage …
type MemSample …
type LoadAvgSample …
type UptimeSample …
func GetCPUAverage(first CPUSample, second CPUSample) CPUAverage { … }
func GetSimpleCPUAverage(first CPUSample, second CPUSample) SimpleCPUAverage { … }
func GetProcCPUAverage(first ProcCPUSample, second ProcCPUSample, procUptime float64) (avg ProcCPUAverage) { … }
func GetCPUSample() (samp CPUSample) { … }
func GetProcCPUSample() (samp ProcCPUSample) { … }
func GetUptime() (samp UptimeSample) { … }
func GetLoadAvgSample() (samp LoadAvgSample) { … }
func GetMemSample() (samp MemSample) { … }