Process.CountEx metric is not working properly. If I use only the first argument and don't specify the other optional ones, it returns an incorrect process count.
If I specify the process owner name, it returns an incorrect count (all processes are returned but the owner name is ignored).
As shown in the screenshot - the metric is set to Process.CountEx(cmd.exe), realistically there are 6 cmd.exe running under different users, but the returned value is 44. Other arguments when I enter, also the metric returns incorrect values.
Process.Count metric works correct ly and returns the correct number of processes.
Hi, we have replicated reported issue in our labs and there's a bug in CountEx metric for Windows. A fix will be available in the next release.