[CMII] [Operator] accomplish - 1

This commit is contained in:
zeaslity
2024-01-24 13:53:05 +08:00
parent 4a6b11e345
commit 8d4e304237
21 changed files with 1148 additions and 78 deletions

View File

@@ -44,6 +44,7 @@ func GetCPUMetric() (*CPUMetric, error) {
}
func GetCPUInfo() (*CPUInfo, error) {
numCores, err := cpu.Counts(true)
if err != nil {
return nil, err