Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve "How does it work" section in README.md #179

Closed
danielhoherd opened this issue May 19, 2023 · 1 comment
Closed

Improve "How does it work" section in README.md #179

danielhoherd opened this issue May 19, 2023 · 1 comment

Comments

@danielhoherd
Copy link

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.

@BestPig
Copy link
Contributor

BestPig commented May 19, 2023

You can check my initial commit for mac compatibility (36f3aa8).
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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants