Caché Monitoring Guide - InterSystems Documentation
Caché Monitoring Guide - InterSystems Documentation
Caché Monitoring Guide - InterSystems Documentation
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 />
The routine and metrics prompts are identical to those for the Start Monitor choice. After you select the routines to<br />
monitor and the metrics to gather, the utility displays the number of pages of memory required to monitor this collection<br />
and the number of pages available. It also tells you to increase the size of the GenericHeapSize parameter if necessary.<br />
You can maintain the gmheap (GenericHeapSize) setting from the [System] > [Configuration] > [Advanced Memory Settings]<br />
page of the Management Portal.<br />
The following is an example that estimates the memory requirements for monitoring eight selected metrics for all routines<br />
that begin with JRN:<br />
Enter the number of your choice: 2<br />
Enter routine names to be monitored on a line by line basis.<br />
Patterns using '*' are allowed.<br />
Enter 'L' to see a list of routines already selected.<br />
Press 'Enter' to terminate input.<br />
Routine Name: JRN*<br />
Routine Name:<br />
(22 routines added to selection.)<br />
Select Metrics to monitor<br />
1) Monitor Minimal Metrics<br />
2) Monitor Lines (Coverage)<br />
3) Monitor Global Metrics<br />
4) Monitor All Metrics<br />
5) Customize Monitor Metrics<br />
Enter the number of your choice: 5<br />
Enter metrics item number (press 'Enter' to terminate, for list)<br />
Metric#: 1 - GloRef<br />
Metric#: 2 - GloSet<br />
Metric#: 3 - GloKill<br />
Metric#: 25 - JrnEntry<br />
Metric#: 34 - RtnLine<br />
Metric#: 35 - RtnLoad<br />
Metric#: 51 - Time<br />
Metric#: 52 - TotalTime<br />
Metric#:<br />
9 page(s) of memory required.<br />
82 page(s) of memory available.<br />
The GenericHeapSize parameter can be increased if more memory is needed.<br />
Pages are each 64kb of memory.<br />
Press RETURN to continue ...<br />
You may adjust your memory if that is required for your selected collection and then choose to Start <strong>Monitoring</strong> from the<br />
original menu.<br />
7.2 Line-by-line <strong>Monitoring</strong> Options<br />
If you invoke ^%SYS.MONLBL while the monitor is running you have the following menu options:<br />
Line-by-Line Monitor<br />
1.) Stop Monitor<br />
2.) Pause Monitor / Resume 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:<br />
The first three options are fairly self-explanatory:<br />
60 <strong>Caché</strong> <strong>Monitoring</strong> <strong>Guide</strong>