You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
FYI golang/go#63900
Same code doesn't work for me with Go 1.22.1 (the binary package installed via pkg_add go), OpenBSD 7.5 is running in VMware Fusion, hardware is MacBook Pro (M3 Pro CPU).
# uname -a
OpenBSD ob75.localdomain 7.5 GENERIC#131 arm64
# cat main.go
package main
import (
"log"
"github.com/shirou/gopsutil/v4/cpu"
)
func main() {
log.Println("cpu.Info()")
log.Println(cpu.Info())
}
# go run .
2024/09/16 01:13:54 cpu.Info()
2024/09/16 01:13:54 [] operation not supported
Describe the bug
cpu.Info()
doesn't work on OpenBSD, version 7.5, MacBook Pro with M3 Pro chip (arm64).To Reproduce
It reports error
operation not supported
.Expected behavior
Expect it collects at least number of CPU cores.
Environment (please complete the following information):
ver
]/etc/os-release
and the result ofuname -a
]sw_vers
anduname -a
freebsd-version -k -r -u
anduname -a
]uname -a
]The text was updated successfully, but these errors were encountered: