We are using Windows Server 2012 and trying to use ".NET CLR Exceptions" performance counter.
We have 8 applications running on IIS,so there are 8 w3wp processes.
I tried the perfmon GUI, I could find 8 w3wp instances in the ".NET CLR Exceptions" counter.
These instances are named as w3wp, w3wp#1 ... w3wp#7,which was fine.
But it is strange when using "typeperf -qx" to display.
There are 8 instances listed but their names are not displayed like the GUI's.
And I also tried command like, typeperf ".NET CLR Exceptions(w3wp#7)# of Exceps Thrown", it worked fine.
Bellow is the output from these two commands.Why we are getting the wrong result from "typeperf -qx"?
PS C:\Users\Administrator> typeperf -qx ".NET CLR Exceptions"
.NET CLR Exceptions(Global)# of Exceps Thrown
.NET CLR Exceptions(w3wp)# of Exceps Thrown
.NET CLR Exceptions(powershell_ise)# of Exceps Thrown
.NET CLR Exceptions(w3wp)# of Exceps Thrown
.NET CLR Exceptions(w3wp#1)# of Exceps Thrown
.NET CLR Exceptions(w3wp)# of Exceps Thrown
.NET CLR Exceptions(w3wp#1)# of Exceps Thrown
.NET CLR Exceptions(w3wp#2)# of Exceps Thrown
.NET CLR Exceptions(w3wp#3)# of Exceps Thrown
.NET CLR Exceptions(w3wp#4)# of Exceps Thrown
.NET CLR Exceptions(Global)# of Exceps Thrown / sec
.NET CLR Exceptions(w3wp)# of Exceps Thrown / sec
.NET CLR Exceptions(powershell_ise)# of Exceps Thrown / sec
.NET CLR Exceptions(w3wp)# of Exceps Thrown / sec
.NET CLR Exceptions(w3wp#1)# of Exceps Thrown / sec
.NET CLR Exceptions(w3wp)# of Exceps Thrown / sec
.NET CLR Exceptions(w3wp#1)# of Exceps Thrown / sec
.NET CLR Exceptions(w3wp#2)# of Exceps Thrown / sec
.NET CLR Exceptions(w3wp#3)# of Exceps Thrown / sec
.NET CLR Exceptions(w3wp#4)# of Exceps Thrown / sec
.NET CLR Exceptions(Global)# of Filters / sec
.NET CLR Exceptions(w3wp)# of Filters / sec
.NET CLR Exceptions(powershell_ise)# of Filters / sec
.NET CLR Exceptions(w3wp)# of Filters / sec
.NET CLR Exceptions(w3wp#1)# of Filters / sec
.NET CLR Exceptions(w3wp)# of Filters / sec
.NET CLR Exceptions(w3wp#1)# of Filters / sec
.NET CLR Exceptions(w3wp#2)# of Filters / sec
.NET CLR Exceptions(w3wp#3)# of Filters / sec
.NET CLR Exceptions(w3wp#4)# of Filters / sec
.NET CLR Exceptions(Global)# of Finallys / sec
.NET CLR Exceptions(w3wp)# of Finallys / sec
.NET CLR Exceptions(powershell_ise)# of Finallys / sec
.NET CLR Exceptions(w3wp)# of Finallys / sec
.NET CLR Exceptions(w3wp#1)# of Finallys / sec
.NET CLR Exceptions(w3wp)# of Finallys / sec
.NET CLR Exceptions(w3wp#1)# of Finallys / sec
.NET CLR Exceptions(w3wp#2)# of Finallys / sec
.NET CLR Exceptions(w3wp#3)# of Finallys / sec
.NET CLR Exceptions(w3wp#4)# of Finallys / sec
.NET CLR Exceptions(Global)\Throw To Catch Depth / sec
.NET CLR Exceptions(w3wp)\Throw To Catch Depth / sec
.NET CLR Exceptions(powershell_ise)\Throw To Catch Depth / sec
.NET CLR Exceptions(w3wp)\Throw To Catch Depth / sec
.NET CLR Exceptions(w3wp#1)\Throw To Catch Depth / sec
.NET CLR Exceptions(w3wp)\Throw To Catch Depth / sec
.NET CLR Exceptions(w3wp#1)\Throw To Catch Depth / sec
.NET CLR Exceptions(w3wp#2)\Throw To Catch Depth / sec
.NET CLR Exceptions(w3wp#3)\Throw To Catch Depth / sec
.NET CLR Exceptions(w3wp#4)\Throw To Catch Depth / sec
正在退出,请稍候...
命令成功结束。
PS C:\Users\Administrator> typeperf ".NET CLR Exceptions(w3wp#7)# of Exceps Thrown"
"(PDH-CSV 4.0)","\LENOVO-LA0X1666.NET CLR Exceptions(w3wp#7)# of Exceps Thrown"
"02/25/2021 16:36:37.819","155455.000000"
"02/25/2021 16:36:38.820","155455.000000"
"02/25/2021 16:36:39.820","155455.000000"
"02/25/2021 16:36:40.821","155455.000000"
"02/25/2021 16:36:41.822","155455.000000"
"02/25/2021 16:36:42.822","155455.000000"
"02/25/2021 16:36:43.823","155455.000000"
PS C:\Users\Administrator>