Closed danielhoherd closed 1 year ago
You can check my initial commit for mac compatibility (https://github.com/Xfennec/progress/commit/36f3aa8a4be5b698ea826721e8c5fccfe424507f). Initially progress was only on Linux it's why its describe like that, but some support to osx was added.
The concept is still the same, but it doesn't list /proc but use some macOS alternative by calling function proc_listpids
and proc_name
and then getting more on processes via proc_pidinfo
and proc_pidfdinfo
In the "How does it work" section of the README.md, the text states "It simply scans /proc for interesting commands", however this tool runs on macOS, which does not have the /proc filesystem. It would be nice to know a bit more about how this works outside of linux.