parent
60e1291d21
commit
939c485338
@ -0,0 +1,24 @@
|
||||
/*
|
||||
*
|
||||
@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
|
||||
Loading…
Reference in new issue