Lomanic
Lomanic
This oneshot feature in psutil is what is proposed in #286, I would suggest closing this current issue in favor of that one. Rewriting gopsutil to achieve that feature is...
You are not using the latest version of gopsutil as you still import `"github.com/shirou/gopsutil/host"` (v2) instead of `"github.com/shirou/gopsutil/v3/host` from your example. This really is a duplicate #1164. Update gopsutil to...
[`host.Users()` gets its data from `/var/run/utmpx` on darwin](https://github.com/shirou/gopsutil/blob/faad8060806256ffc4da37f9535160af4e8b0fee/host/host_darwin.go#L53), can you please share this file with us?
Thanks for sharing this data, I could test (on linux) by [copying a bunch of definitions to read this example utmpx file](https://gist.github.com/Lomanic/eafd5c3b18f4082965f75acdb1a1aa36). And parsing this file works [with the amd64-specific...
> So getting Pid and FD from inodes IS a bottleneck. Yes, #784 was opened regarding this. Awesome work you've done here btw, using a build tag is an original...
This will be fixed in #695.
So, this is similar to what's talked about in #771 and not related to #695 indeed.
OK, thanks, sorry for misunderstanding, I'm not very familiar with this part of the code.
> This causes a O(3 * N * N) complexity while it is possible to iterate for once and keep the data for further calls with just a O(N) complexity...
Previous feature request to have a whereigo player in cgeo in #7717 was rejected as too much work.