Prometheus exporter that mines /proc to report on selected processes
MIT License
1.72k
stars
270
forks
source link
github.com/ncabatoff/process-exporter/proc ../../proc/read.go:515:23: p.proccache.Proc.ProcSMapsRollup undefined (type procfs.Proc has no field or method ProcSMapsRollup)github.com/ncabatoff/process-exporter/proc ../../proc/read.go:515:23: p.proccache.Proc.ProcSMapsRollup undefined (type procfs.Proc has no field or method ProcSMapsRollup) #259
appledeMacBook-Pro-9:process-exporter apple$ CGO_ENABLED=0 GOOS=windows GOARCH=amd64 go build main.go
github.com/ncabatoff/process-exporter/proc
../../proc/read.go:515:23: p.proccache.Proc.ProcSMapsRollup undefined (type procfs.Proc has no field or method ProcSMapsRollup)
appledeMacBook-Pro-9:process-exporter apple$ pwd
/Users/apple/Downloads/process-exporter-0.7.10/cmd/process-exporter
appledeMacBook-Pro-9:process-exporter apple$ CGO_ENABLED=0 GOOS=windows GOARCH=amd64 go build main.go
github.com/ncabatoff/process-exporter/proc
../../proc/read.go:515:23: p.proccache.Proc.ProcSMapsRollup undefined (type procfs.Proc has no field or method ProcSMapsRollup) appledeMacBook-Pro-9:process-exporter apple$ pwd /Users/apple/Downloads/process-exporter-0.7.10/cmd/process-exporter
我在mac 下想编译一个可以在window下运行的程序,但是编译报错了,谁能解决下,或者直接能上传一个window的版本吗