How to find out what application pool is using CPU
Recently, one of my web servers was using a lot of CPU. This server is hosting several websites, each running in it’s own application pool. Each application pool spins up it’s own w3wp.exe process. When looking at task monitor, there is no information about what application pool each of the worker processes are serving.
You could however, easily figure this out by running a great tool called Process Explorer, which is a freely available tool from Sysinternals/Microsoft.
To figure our what application pool is consuming most CPU, start Process Explorer. You'll then see a window similar to the one below. Find the w3wp.exe process that consumes most CPU, right click on it and select "Properties".

In the properties window, click the tab "Environment". You'll there find the name of the app pool as shown below.




