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

More metrics #26

Open
soyuka opened this issue Aug 9, 2018 · 2 comments
Open

More metrics #26

soyuka opened this issue Aug 9, 2018 · 2 comments
Labels
enhancement help wanted Issues identified as good community contribution opportunities

Comments

@soyuka
Copy link

soyuka commented Aug 9, 2018

Hi!

This is a follow up on simonepri/pidtree#6. I'm the original author of pidusage (written for pm2 back in the days). pidusage is a library that facilitate the access to cpu and memory usage, for a given pid, being cross-platform.

For windows, we're spawning wmic.exe to get the following metrics:

    'CreationDate,KernelModeTime,ParentProcessId,ProcessId,UserModeTime,WorkingSetSize'

It works well but is god damn slow!

Would it be possible to add these additional metrics in this module? I'm really not familiar with windows nor with C++ programming on windows or I'd definitely do it myself. This would be a huge improvement for windows users that use pidusage to get cross-platform metrics.

Thanks!

@simonepri
Copy link

@bpasero Any news about this?

@Tyriar
Copy link
Member

Tyriar commented Oct 13, 2021

Sorry I didn't spot this, I guess I wasn't watching the repository for some reason. We would accept additional options like this as long as they're optional 👍

@Tyriar Tyriar added enhancement help wanted Issues identified as good community contribution opportunities labels Oct 13, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement help wanted Issues identified as good community contribution opportunities
Projects
None yet
Development

No branches or pull requests

3 participants