Skip to content

More metrics #26

@soyuka

Description

@soyuka

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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementhelp wantedIssues identified as good community contribution opportunities

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions