Lomanic

Results 96 comments of Lomanic

It looks like the oshi Java library had the same issue as #229 in https://github.com/oshi/oshi/issues/966, they improved or fixed the situation in https://github.com/oshi/oshi/pull/989 with a Performance counter and a WMI...

The script works only with `cryptography` up to v3.0, tested with python 3.9.15 ```bash pip install cryptography==3.1 gmpy2 && python3 vanity_rsa.py ++vanity++ # fails pip install cryptography==3.0 gmpy2 && python3...

I'm OK with removing this API, [it's only defined on Linux anyway](https://github.com/shirou/gopsutil/blob/400a453e67c4f3b5a3a446e788285cedebaf04f4/process/process_linux.go#L93) when gopsutil wants to provide the same information on supported platforms.

Closing, superseded by #1530 which is partially based off this PR, thanks @khorben.

Using the kernel _version_ as in `uname -v` is completely unreliable, here are some results of `uname -r -v` on various hosts I have access to ``` 4.9.0-9-amd64 #1 SMP...

`/proc/sys/kernel/version` is what is returned by `uname -v`, what I wrote in https://github.com/shirou/gopsutil/issues/1355#issuecomment-1287962225 similarly applies.

Thanks a lot @eabase, as I use the IDE in "portable" mode I had to create a new folder `portable/sketchbook/tools/EspExceptionDecoder/tool/` and put `EspExceptionDecoder.jar` in it. I then had the same...

netbsd/arm has never been supported, this was just falling back to the functions returning a [`common.ErrNotImplementedError `](https://github.com/shirou/gopsutil/blob/4be51ffb01ed5c28a085a013b42d518b145e8ee0/internal/common/common.go#L98) in [`cpu/cpu_fallback.go`](https://github.com/shirou/gopsutil/blob/4be51ffb01ed5c28a085a013b42d518b145e8ee0/cpu/cpu_fallback.go) before #1530. Please report back if copying `cpu/cpu_openbsd_arm.go` to `cpu/cpu_netbsd_arm.go` fixes...

Can you share with us the result of `lsof -p PID -Fpfn`, with PID the pid of the offending process ([command is used here](https://github.com/shirou/gopsutil/blob/df3a94587935adbb53c1a54da4d7454979fb9792/process/process_darwin_nocgo.go#L21))?