Skip to content

Ability to exclude pidtree underlying ps/wmic process from results #7

@magne4000

Description

@magne4000

Sometimes on windows (but probably on linux/mac also with ps), I'm having wmic process appearing in my process tree, but I would like to be able to have an option to force it not to show up in process tree.

Here is my use case:

pidtree(process.pid)
  .then(pidusage)
  .then(...);
  • pidtree(process.pid) sometimes includes wmic process
  • pidusage is executed upon wmic process, but I do not want it

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions