package probe import ( "github.com/shirou/gopsutil/v3/cpu" ) func (p *Probe) CurrentCPUTotalPercent() float64 { cpuPercents, _ := cpu.Percent(0, false) return cpuPercents[0] }