You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
/*
|
|
*
|
|
@author: sre
|
|
@date: 2023/11/22 0022
|
|
@desc: todo
|
|
*
|
|
*/
|
|
package main
|
|
|
|
import (
|
|
"fmt"
|
|
"testing"
|
|
"time"
|
|
)
|
|
|
|
func TestGetWinCPU(t *testing.T) {
|
|
ip, port := "127.0.0.1", "9182"
|
|
for {
|
|
fmt.Println(getCPUInfo(ip, port))
|
|
time.Sleep(time.Second * 1)
|
|
}
|
|
}
|
|
|
|
//windows_cs_physical_memory_bytes
|