Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

.NET CLR Performance counters missing

Tags:

windows

clr

on my x64 Windows 8.1 laptop almost all .NET CLR performance counters are missing.

Any ideas how to fix this?

.NET Counters missing

like image 555
Aleksander Bethke Avatar asked Mar 16 '15 10:03

Aleksander Bethke


People also ask

What is .NET CLR JIT performance counters?

NET CLR JIT category includes counters that provide information about code that has been JIT-compiled. The following table describes these performance counters. Displays the total number of Microsoft intermediate language (MSIL) bytes compiled by the just-in-time (JIT) compiler since the application started.

How do I add a performance counter in perfmon?

In the navigation pane, expand Monitoring Tools, and then choose Performance Monitor. In the console pane toolbar, choose the Add button. In the Add Counters window, in the Select counters from computer drop-down list, choose the computer that is running Business Central Server.


2 Answers

lodctr did the trick but the file corperfmonsymbols.ini was in

C:\Windows\Inf.NETFramework

not in the

%WINDIR%\Microsoft.NET\Framework*

directories.

Command lodctr C:\Windows\Inf\.NETFramework\corperfmonsymbols.ini successfully restored .NET CLR counters.

like image 63
Aleksander Bethke Avatar answered Oct 05 '22 03:10

Aleksander Bethke


You can try to follow these steps which are given by MSDN:

To resolve this problem, follow these steps:

  1. Ensure that the RTM build is installed on the computer through the Microsoft .NET Software Development Kit (SDK) setup, .NET Redist, or Visual Studio .NET.
  2. At a command prompt, type unlodctr .NETFramework.
  3. At a command prompt, type lodctr

    %WINDIR%\Microsoft.NET\Framework\v1.0.3705\CORPerfMonSymbols.ini.

Also check this blog for reference

like image 22
Rahul Tripathi Avatar answered Oct 05 '22 03:10

Rahul Tripathi