Skip to content

PerformanceCounters wrong when multiple instances of process running #140

Description

@yonkavalow

If i have two copies of my process running then Perf Counters will add a #1 to the name of the process.

I think that when PerformanceCounters.cs calls Process.GetCurrentProcess().ProcessName it doesn't get the PerfCounter name with the #1 and I'm getting the wrong stats for WorkingSet etc...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions