25.01.2015 Views

Caché Monitoring Guide - InterSystems Documentation

Caché Monitoring Guide - InterSystems Documentation

Caché Monitoring Guide - InterSystems Documentation

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Examining Routine Performance Using ^%SYS.MONLBL<br />

4. You can enter a file name for the output, or enter nothing and press Enter to display the report on your terminal. If you<br />

enter a name, the file is created in the manager’s directory. For example:<br />

FileName: monlbl_JRN_dtl.txt<br />

Creates a file for the report in install-dir\mgr named monlbl_JRN_dtl.txt.<br />

5. Press Enter to initiate the reporting of the metrics you are collecting in the format you have chosen.<br />

The Sample Line-by-line Monitor Reports section shows examples of each reporting option.<br />

7.3 Sample Line-by-line Monitor Reports<br />

This section contains samples of the various reports the ^%SYS.MONLBL routine generates:<br />

• Line-by-line Detail Report<br />

• Line-by-line Summary Report<br />

• Line-by-line Delimited Output Report<br />

• Line-by-line Procedure Level Report<br />

7.3.1 Line-by-line Detail Report<br />

The following is an example of reporting the detail of the minimal metrics of selected journal utilities including the coverage<br />

analysis. The report is sent to the monlbl_JRN_dtl.txt file, a portion of which is displayed.<br />

Line-by-Line Monitor<br />

1.) Stop Monitor<br />

2.) Pause Monitor<br />

3.) Clear Counters<br />

4.) Report - Detail<br />

5.) Report - Summary<br />

6.) Report - Delimited (CSV) Output<br />

7.) Report - Procedure Level<br />

Enter the number of your choice: 4<br />

Include Coverage Analysis summary (Y/N) y<br />

The following routines have been executed during the run,<br />

and have detail statistics available for them.<br />

1) JRNDUMP<br />

2) JRNOPTS<br />

3) JRNSTART<br />

4) JRNSWTCH<br />

5) JRNUTIL<br />

6) JRNUTIL2<br />

Enter list of routines, or * for all<br />

Routine number (*=All) 1 - JRNDUMP<br />

Routine number (*=All) 2 - JRNOPTS<br />

Routine number (*=All) 5 - JRNUTIL<br />

Routine number (*=All)<br />

FileName: monlbl_JRN_dtl.txt<br />

Press RETURN to continue ...<br />

For each line of the selected routine(s), the report displays a line number, the counts for each metric, and the text of that<br />

line of code (if source code is available). If you requested coverage analysis, it displays after each selected routine.<br />

Routine ^JRNDUMP ...<br />

Line RtnLine Time TotalTime<br />

62 <strong>Caché</strong> <strong>Monitoring</strong> <strong>Guide</strong>

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!