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

use /proc instead of ps on linux #3

Merged
merged 2 commits into from Jun 19, 2018
Merged

Conversation

glehmann
Copy link
Collaborator

ps is not always available in minimum linux install,
like in docker containers. This change avoid to the
need to install the procps package.

ps is not always available in minimum linux install,
like in docker containers. This change avoid to the
need to install the procps package.
@techalchemy
Copy link
Member

techalchemy commented Jun 19, 2018

+1 for using the filesystem, was going to suggest the same. May want to handle walking /proc with a normalization library if we have a fallback like pathlib2 in here

@uranusjr
Copy link
Member

Wow thanks! I thought about this as well but couldn’t find enough motivation to implement this. I will try to clean up a little and release this.

@uranusjr
Copy link
Member

Also @glehmann I sent you a collaborate invitation so I can merge things much easier :p

@uranusjr uranusjr merged commit b0c3279 into sarugaku:master Jun 19, 2018
uranusjr added a commit that referenced this pull request Jun 19, 2018
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

Successfully merging this pull request may close these issues.

None yet

3 participants