|
func Run(load, cpu, memory bool, partition, networkInterface string) (cpuLoad, cpuUsage, memoryUsage float64) {
|
|
func Run(load, cpu, memory bool, partition, networkInterface string) (cpuLoad, cpuUsage, memoryUsage float64) {
|
|
return fmt.Sprintf("%.2f", g.cpuLoad)
|
|
return fmt.Sprintf("%.2f", g.cpuLoad)
|