package utils import ( "github.com/shirou/gopsutil/v4/cpu" "testing" ) func TestGetSysUsers(t *testing.T) { a, e := cpu.Percent(0, false) if e != nil { t.Error(e) } t.Logf("%+v", a) }