I am using multiple instance of a program like Notepad.exe
thus n-instances of it the same time.
I wanted to create a performance counter so that it will give the CPU utilization for each process.
The number of running instances of notepad is dynamic.
I tried all the approach but did not find a way how to track multiple instances of same process to get the stats.