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 psutil instead of invoking 'ps' #8

Open
edisongustavo opened this issue Jun 19, 2016 · 2 comments
Open

Use psutil instead of invoking 'ps' #8

edisongustavo opened this issue Jun 19, 2016 · 2 comments

Comments

@edisongustavo
Copy link
Contributor

The psutil.Process (docs) can collect the same information as the ps command.

However, it works on windows too, so Syrupy could be used in that platform too.

What do you think? I will make a pull-request changing the code to use psutil.Process if you think that's nice to have.

@RichardBronosky
Copy link

I came here to make this same suggestion. I've been using psutil because a coworker asked me to add a Windows box to the stable and none of my regular DevOps skills did me any good. (Except for my Python development chops.)

@jeetsukumaran
Copy link
Owner

Sorry for the delay in this. Slipped through the gaps, and just noticed it b/c of @RichardBronosky . Yes, this would be a nice feature, and if you have the code ready, will be happy to accept a PR.

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