![]() Of course the PID does not actually change, but within Perfmon it will appear that that is what happened. However, if you kill one instance of the process, the others will realign within Perfmon, which means that the PID will change for that instance, and any other instance with a higher numbered name. If you view the ID Process counter for each, you should see a nice flat graph for each instance of the running process since ID Process is the PID of the process and the PID does not change. ![]() You can easily see this in action by running multiple instances of something like Notepad.exe. As I am sure you can guess, this would be a problem. In the case of something like Svchost.exe with a lot of instances, you could end up with very different numbers after a few hours of logging. In actually of course, Dllhost#1 exited and Dllhost#2 started logging on the same graph that used to belong to Dllhost#1. What you now have is a graph that shows that Dllhost#2 stopped logging and Dllhost#1 jumps up to 90% CPU. For whatever reason, the second Dllhost process (Dllhost#1) exits and the third one (Dllhost#2) changes it’s name to Dllhost#1. Both of the first two Dllhost processes are using very little CPU, but for some reason the third one (Dllhost#2) is running at 90% CPU. Let’s say you have the three Dllhost processes we talked about above being monitored for CPU usage. ![]() If we think a little deeper on this, we see that this also means that any counter we are viewing has also switched to the new name, but is showing up on the graph in place of the counter it took over from. The problem with this is that the process that was a minute ago named Dllhost#2 is now showing up as Dllhost#1 and Dllhost#2 has disappeared. You now have Perfmon showing processes named Dllhost and Dllhost#1. You have 3 Dllhost.exe processes running, which show up in Perfmon as Dllhost, Dllhost#1 and Dllhost#2.ģ. There are a few reasons why this might be less than optimal, but the primary problem is that the instance name changes if a process exits or restarts. This is especially noticeable in the case of Svchost.exe, which may easily have 15 or more instances on newer operating systems. When you use Perfmon to monitor multiple instances of the same process, you have probably noticed that it differentiates the process by giving them an arbitrary numbered name, such as Dllhost, Dllhost#1 and Dllhost#2. ![]() Hello all, Ashish here with a brief discussion about an issue you may have seen when using Perfmon to monitor system performance. First published on TECHNET on Mar 29, 2010 ![]()
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |