Closed sdalu closed 5 months ago
Describe the bug Missing (nil) processes information reported on FreeBSD ARM64 system (RPI4)
To Reproduce
package main import ( "fmt" "os" "github.com/shirou/gopsutil/process" ) func main() { currentPid := os.Getpid() myself, err := process.NewProcess(int32(currentPid)) if err != nil { panic(err) } fmt.Println(myself.Name()) fmt.Println(myself.String()) fmt.Println(myself.NumThreads()) fmt.Println(myself.RlimitUsage(true)) fmt.Println(myself.Status()) }
Obtained results
<nil> {"pid":96242} 0 <nil> [] not implemented yet <nil>
Expected behavior non nil information
Environment (please complete the following information):
freebsd-version -k -r -u
uname -a
Additional context Initially reported in https://github.com/influxdata/telegraf/issues/13933
We're also facing this issue on a Pi 4 device, is there a know workaround available?
@sdalu @danawoodman I have opened #1609 which re-generate struct definition. Could you try it?
Describe the bug Missing (nil) processes information reported on FreeBSD ARM64 system (RPI4)
To Reproduce
Obtained results
Expected behavior non nil information
Environment (please complete the following information):
freebsd-version -k -r -u
anduname -a
] 13.2-RELEASE-p2 13.2-RELEASE-p2 13.2-RELEASE-p2 FreeBSD brain.home.sdalu.com 13.2-RELEASE-p2 FreeBSD 13.2-RELEASE-p2 releng/13.2-n254627-4341433a673f GENERIC arm64Additional context Initially reported in https://github.com/influxdata/telegraf/issues/13933