This commit is contained in:
github-actions[bot] 2021-08-19 14:56:19 +00:00
parent 7cc987e305
commit 9ac45c7a3a
1 changed files with 2 additions and 2 deletions

View File

@ -23,8 +23,8 @@ func CPU() (StatCPU, error) {
pid := os.Getpid()
stat := StatCPU{
Num: runtime.NumCPU(),
Arch: runtime.GOARCH,
Num: runtime.NumCPU(),
Arch: runtime.GOARCH,
}
sysInfo, err := pidusage.GetStat(pid)