by
0
6
339k
1
Top 1% !
Popular
Pearl of Wisdom
Specified
Refined
OpenSource
Popularity: 2911st place
Created
Modified Jul 27, 2013

Published on:

No tags for this snippet yet.
Architecturex86_64
LanguageASP.NET
LicenseMIT_X11
OSWindows
Windows VersionWindows2008R2
Windows VersionWindows7

ASP.NET Performance monitors

The following XML file can be used to create a new user defined Data Collector Set in the Performance Monitor Tool for Windows servers.
It checks the most important performance counters for the right execution of ASP.NET Web applications.
The performance counters taken into account are those reported in this article: http://mvolo.com/fix-the-3-high-cpu-performance-problems-for-iis-aspnet-apps/
Copy Embed Code
<iframe id="embedFrame" style="width:600px; height:300px;"
src="https://www.snip2code.com/Embed/6054/ASP-NET-Performance-monitors?startLine=0"></iframe>
Click on the embed code to copy it into your clipboard Width Height
Leave empty to retrieve all the content Start End
<?xml version="1.0" encoding="UTF-16"?> <DataCollectorSet> <Status>0</Status> <Duration>600</Duration> <Description>Genera un rapporto con informazioni dettagliate sullo stato delle risorse hardware locali, sui tempi di risposta del sistema e sui processi eseguiti nel computer locale. Tali informazioni consentono di identificare le possibili cause dei problemi di prestazioni. Per eseguire questo Insieme agenti di raccolta dati, è necessario essere almeno membri del gruppo Administrators locale o di un gruppo equivalente.</Description> <DescriptionUnresolved>Genera un rapporto con informazioni dettagliate sullo stato delle risorse hardware locali, sui tempi di risposta del sistema e sui processi eseguiti nel computer locale. Tali informazioni consentono di identificare le possibili cause dei problemi di prestazioni. Per eseguire questo Insieme agenti di raccolta dati, è necessario essere almeno membri del gruppo Administrators locale o di un gruppo equivalente.</DescriptionUnresolved> <DisplayName> </DisplayName> <DisplayNameUnresolved> </DisplayNameUnresolved> <SchedulesEnabled>-1</SchedulesEnabled> <Keyword>CPU</Keyword> <Keyword>Memory</Keyword> <Keyword>Disk</Keyword> <Keyword>Network</Keyword> <Keyword>Performance</Keyword> <LatestOutputLocation>C:\PerfLogs\Admin\ASP.NET\ZIOJ-PC_20130727-000002</LatestOutputLocation> <Name>ASP.NET</Name> <OutputLocation>C:\PerfLogs\Admin\ASP.NET\ZIOJ-PC_20130727-000003</OutputLocation> <RootPath>%systemdrive%\PerfLogs\Admin\ASP.NET</RootPath> <Segment>0</Segment> <SegmentMaxDuration>0</SegmentMaxDuration> <SegmentMaxSize>0</SegmentMaxSize> <SerialNumber>3</SerialNumber> <Server> </Server> <Subdirectory> </Subdirectory> <SubdirectoryFormat>3</SubdirectoryFormat> <SubdirectoryFormatPattern>yyyyMMdd\-NNNNNN</SubdirectoryFormatPattern> <Task> </Task> <TaskRunAsSelf>0</TaskRunAsSelf> <TaskArguments> </TaskArguments> <TaskUserTextArguments> </TaskUserTextArguments> <UserAccount>SYSTEM</UserAccount> <Security>O:BAG:S-1-5-21-2577573897-3235701343-559641010-513D:AI(A;;FA;;;SY)(A;;FA;;;BA)(A;;FR;;;LU)(A;;0x1301ff;;;S-1-5-80-2661322625-712705077-2999183737-3043590567-590698655)(A;ID;FA;;;SY)(A;ID;FA;;;BA)(A;ID;0x1200ab;;;LU)(A;ID;FR;;;AU)(A;ID;FR;;;LS)(A;ID;FR;;;NS)</Security> <StopOnCompletion>0</StopOnCompletion> <TraceDataCollector> <DataCollectorType>1</DataCollectorType> <Name>NT Kernel</Name> <FileName>NtKernel</FileName> <FileNameFormat>0</FileNameFormat> <FileNameFormatPattern> </FileNameFormatPattern> <LogAppend>0</LogAppend> <LogCircular>0</LogCircular> <LogOverwrite>0</LogOverwrite> <LatestOutputLocation>C:\PerfLogs\Admin\ASP.NET\ZIOJ-PC_20130727-000002\NtKernel.etl</LatestOutputLocation> <Guid>{00000000-0000-0000-0000-000000000000}</Guid> <BufferSize>64</BufferSize> <BuffersLost>0</BuffersLost> <BuffersWritten>0</BuffersWritten> <ClockType>1</ClockType> <EventsLost>0</EventsLost> <ExtendedModes>0</ExtendedModes> <FlushTimer>0</FlushTimer> <FreeBuffers>0</FreeBuffers> <MaximumBuffers>200</MaximumBuffers> <MinimumBuffers>0</MinimumBuffers> <NumberOfBuffers>0</NumberOfBuffers> <PreallocateFile>0</PreallocateFile> <ProcessMode>0</ProcessMode> <RealTimeBuffersLost>0</RealTimeBuffersLost> <SessionName>NT Kernel Logger</SessionName> <SessionThreadId>0</SessionThreadId> <StreamMode>1</StreamMode> <TraceDataProvider> <DisplayName>{9E814AAD-3204-11D2-9A82-006008A86939}</DisplayName> <FilterEnabled>0</FilterEnabled> <FilterType>0</FilterType> <Level> <Description>Gli eventi fino a questo livello sono attivati</Description> <ValueMapType>1</ValueMapType> <Value>0</Value> <ValueMapItem> <Key> </Key> <Description> </Description> <Enabled>-1</Enabled> <Value>0x0</Value> </ValueMapItem> </Level> <KeywordsAny> <Description>Gli eventi con almeno una delle parole chiave specificate sono attivati</Description> <ValueMapType>2</ValueMapType> <Value>0x10303</Value> <ValueMapItem> <Key> </Key> <Description> </Description> <Enabled>-1</Enabled> <Value>0x1</Value> </ValueMapItem> <ValueMapItem> <Key> </Key> <Description> </Description> <Enabled>-1</Enabled> <Value>0x2</Value> </ValueMapItem> <ValueMapItem> <Key> </Key> <Description> </Description> <Enabled>-1</Enabled> <Value>0x100</Value> </ValueMapItem> <ValueMapItem> <Key> </Key> <Description> </Description> <Enabled>-1</Enabled> <Value>0x200</Value> </ValueMapItem> <ValueMapItem> <Key> </Key> <Description> </Description> <Enabled>-1</Enabled> <Value>0x10000</Value> </ValueMapItem> </KeywordsAny> <KeywordsAll> <Description>Gli eventi con tutte le parole chiave specificate sono attivati</Description> <ValueMapType>2</ValueMapType> <Value>0x0</Value> </KeywordsAll> <Properties> <Description>I campi dati aggiuntivi specificati verranno raccolti con ogni evento</Description> <ValueMapType>2</ValueMapType> <Value>0</Value> </Properties> <Guid>{9E814AAD-3204-11D2-9A82-006008A86939}</Guid> </TraceDataProvider> </TraceDataCollector> <PerformanceCounterDataCollector> <DataCollectorType>0</DataCollectorType> <Name>Performance Counter</Name> <FileName>Performance Counter</FileName> <FileNameFormat>1</FileNameFormat> <FileNameFormatPattern>yyyyMMdd</FileNameFormatPattern> <LogAppend>-1</LogAppend> <LogCircular>0</LogCircular> <LogOverwrite>0</LogOverwrite> <LatestOutputLocation>C:\PerfLogs\Admin\ASP.NET\ZIOJ-PC_20130727-000002\Performance Counter20130727.csv</LatestOutputLocation> <DataSourceName> </DataSourceName> <SampleInterval>1</SampleInterval> <SegmentMaxRecords>0</SegmentMaxRecords> <LogFileFormat>0</LogFileFormat> <Counter>\ASP.NET Apps v4.0.30319(__Total__)\% Managed Processor Time (estimated)</Counter> <Counter>\ASP.NET Apps v4.0.30319(__Total__)\Viewstate MAC Validation Failure</Counter> <Counter>\ASP.NET Apps v4.0.30319(__Total__)\Errors During Compilation</Counter> <Counter>\ASP.NET Apps v4.0.30319(__Total__)\Errors During Execution</Counter> <Counter>\ASP.NET Apps v4.0.30319(__Total__)\Errors During Preprocessing</Counter> <Counter>\ASP.NET Apps v4.0.30319(__Total__)\Errors Unhandled During Execution</Counter> <Counter>\ASP.NET Apps v4.0.30319(__Total__)\Errors Unhandled During Execution/Sec</Counter> <Counter>\ASP.NET Apps v4.0.30319(__Total__)\Audit Failure Events Raised</Counter> <Counter>\ASP.NET Apps v4.0.30319(__Total__)\Error Events Raised</Counter> <Counter>\ASP.NET Apps v4.0.30319(__Total__)\Error Events Raised/Sec</Counter> <Counter>\ASP.NET Apps v4.0.30319(__Total__)\Infrastructure Error Events Raised</Counter> <Counter>\ASP.NET Apps v4.0.30319(__Total__)\Infrastructure Error Events Raised/Sec</Counter> <Counter>\ASP.NET Apps v4.0.30319(__Total__)\Request Error Events Raised</Counter> <Counter>\ASP.NET Apps v4.0.30319(__Total__)\Request Error Events Raised/Sec</Counter> <Counter>\ASP.NET Apps v4.0.30319(__Total__)\Errors Total</Counter> <Counter>\ASP.NET Apps v4.0.30319(__Total__)\Errors Total/Sec</Counter> <Counter>\ASP.NET v4.0.30319\Error Events Raised</Counter> <Counter>\ASP.NET v4.0.30319\Infrastructure Error Events Raised</Counter> <Counter>\ASP.NET v4.0.30319\Request Error Events Raised</Counter> <Counter>\.NET CLR Exceptions\*</Counter> <Counter>\.NET CLR Memory(_Global_)\% Time in GC</Counter> <CounterDisplayName>\ASP.NET Apps v4.0.30319(__Total__)\% Tempo processore gestito (stimato)</CounterDisplayName> <CounterDisplayName>\ASP.NET Apps v4.0.30319(__Total__)\Errore di convalida MAC ViewState</CounterDisplayName> <CounterDisplayName>\ASP.NET Apps v4.0.30319(__Total__)\Errori di compilazione</CounterDisplayName> <CounterDisplayName>\ASP.NET Apps v4.0.30319(__Total__)\Errori di esecuzione.</CounterDisplayName> <CounterDisplayName>\ASP.NET Apps v4.0.30319(__Total__)\Errori di pre-elaborazione</CounterDisplayName> <CounterDisplayName>\ASP.NET Apps v4.0.30319(__Total__)\Errori non gestiti durante l'esecuzione</CounterDisplayName> <CounterDisplayName>\ASP.NET Apps v4.0.30319(__Total__)\Errori non gestiti durante l'esecuzione/sec</CounterDisplayName> <CounterDisplayName>\ASP.NET Apps v4.0.30319(__Total__)\Eventi errore di controllo generati</CounterDisplayName> <CounterDisplayName>\ASP.NET Apps v4.0.30319(__Total__)\Eventi errore generati</CounterDisplayName> <CounterDisplayName>\ASP.NET Apps v4.0.30319(__Total__)\Eventi errore generati/sec</CounterDisplayName> <CounterDisplayName>\ASP.NET Apps v4.0.30319(__Total__)\Eventi errore infrastruttura generati</CounterDisplayName> <CounterDisplayName>\ASP.NET Apps v4.0.30319(__Total__)\Eventi errore infrastruttura generati/sec</CounterDisplayName> <CounterDisplayName>\ASP.NET Apps v4.0.30319(__Total__)\Eventi errore richiesta generati</CounterDisplayName> <CounterDisplayName>\ASP.NET Apps v4.0.30319(__Total__)\Eventi errore richiesta generati/sec</CounterDisplayName> <CounterDisplayName>\ASP.NET Apps v4.0.30319(__Total__)\Totale errori</CounterDisplayName> <CounterDisplayName>\ASP.NET Apps v4.0.30319(__Total__)\Totale errori/sec</CounterDisplayName> <CounterDisplayName>\ASP.NET v4.0.30319\Eventi errore generati</CounterDisplayName> <CounterDisplayName>\ASP.NET v4.0.30319\Eventi errore infrastruttura generati</CounterDisplayName> <CounterDisplayName>\ASP.NET v4.0.30319\Eventi errore richiesta generati</CounterDisplayName> <CounterDisplayName>\Eccezioni CLR .NET\*</CounterDisplayName> <CounterDisplayName>\Memoria CLR .NET(_Global_)\Percentuale tempo in GC</CounterDisplayName> </PerformanceCounterDataCollector> <DataManager> <Enabled>-1</Enabled> <CheckBeforeRunning>-1</CheckBeforeRunning> <MinFreeDisk>200</MinFreeDisk> <MaxSize>1024</MaxSize> <MaxFolderCount>100</MaxFolderCount> <ResourcePolicy>0</ResourcePolicy> <ReportFileName>report.html</ReportFileName> <RuleTargetFileName>report.xml</RuleTargetFileName> <EventsFileName> </EventsFileName> <Rules> <Logging level="15" file="rules.log"> </Logging> <Import file="%systemroot%\pla\rules\Rules.System.Common.xml"> </Import> <Import file="%systemroot%\pla\rules\Rules.System.Summary.xml"> </Import> <Import file="%systemroot%\pla\rules\Rules.System.Performance.xml"> </Import> <Import file="%systemroot%\pla\rules\Rules.System.CPU.xml"> </Import> <Import file="%systemroot%\pla\rules\Rules.System.Network.xml"> </Import> <Import file="%systemroot%\pla\rules\Rules.System.Disk.xml"> </Import> <Import file="%systemroot%\pla\rules\Rules.System.Memory.xml"> </Import> </Rules> <ReportSchema> <Report name="systemPerformance" version="1" threshold="100"> <Import file="%systemroot%\pla\reports\Report.System.Common.xml"> </Import> <Import file="%systemroot%\pla\reports\Report.System.Summary.xml"> </Import> <Import file="%systemroot%\pla\reports\Report.System.Performance.xml"> </Import> <Import file="%systemroot%\pla\reports\Report.System.CPU.xml"> </Import> <Import file="%systemroot%\pla\reports\Report.System.Network.xml"> </Import> <Import file="%systemroot%\pla\reports\Report.System.Disk.xml"> </Import> <Import file="%systemroot%\pla\reports\Report.System.Memory.xml"> </Import> </Report> </ReportSchema> <FolderAction> <Size>0</Size> <Age>1</Age> <Actions>3</Actions> <SendCabTo> </SendCabTo> </FolderAction> <FolderAction> <Size>0</Size> <Age>56</Age> <Actions>8</Actions> <SendCabTo> </SendCabTo> </FolderAction> <FolderAction> <Size>0</Size> <Age>168</Age> <Actions>26</Actions> <SendCabTo> </SendCabTo> </FolderAction> </DataManager> <Value name="PerformanceMonitorView" type="document"> <OBJECT ID="DISystemMonitor" CLASSID="CLSID:C4D2D8E0-D1DD-11CE-940F-008029004347"> <PARAM NAME="CounterCount" VALUE="4"> </PARAM> <PARAM NAME="Counter00001.Path" VALUE="\Processor(_Total)\% Processor Time"> </PARAM> <PARAM NAME="Counter00001.Color" VALUE="255"> </PARAM> <PARAM NAME="Counter00001.Width" VALUE="2"> </PARAM> <PARAM NAME="Counter00001.LineStyle" VALUE="0"> </PARAM> <PARAM NAME="Counter00001.ScaleFactor" VALUE="0"> </PARAM> <PARAM NAME="Counter00001.Show" VALUE="1"> </PARAM> <PARAM NAME="Counter00001.Selected" VALUE="1"> </PARAM> <PARAM NAME="Counter00002.Path" VALUE="\Memory\Pages/sec"> </PARAM> <PARAM NAME="Counter00002.Color" VALUE="65280"> </PARAM> <PARAM NAME="Counter00002.Width" VALUE="1"> </PARAM> <PARAM NAME="Counter00003.Path" VALUE="\PhysicalDisk(_Total)\Avg. Disk sec/Read"> </PARAM> <PARAM NAME="Counter00003.Color" VALUE="16711680"> </PARAM> <PARAM NAME="Counter00003.Width" VALUE="1"> </PARAM> <PARAM NAME="Counter00004.Path" VALUE="\PhysicalDisk(_Total)\Avg. Disk sec/Write"> </PARAM> <PARAM NAME="Counter00004.Color" VALUE="55295"> </PARAM> <PARAM NAME="Counter00004.Width" VALUE="1"> </PARAM> </OBJECT> </Value> </DataCollectorSet>
If you want to be updated about similar snippets, Sign in and follow our Channels

blog comments powered by Disqus