Caché Monitoring Guide - InterSystems Documentation
Caché Monitoring Guide - InterSystems Documentation
Caché Monitoring Guide - InterSystems Documentation
You also want an ePaper? Increase the reach of your titles
YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.
Sample Line-by-line Monitor Reports<br />
1 0 0 0 JRNDUMP ;dump the contents...<br />
2 0 0 0 /*<br />
.<br />
.<br />
.<br />
85 0 0 0 n (l,usecluster)<br />
86 3 0.000016 0.000016 i +$g(usecluster) d showlistclu(.l) q<br />
87 3 0.000008 0.000008 s diroff=((3+12+1)+10+1)<br />
88 3 0.000072 0.000072 s i="" f s i=$o(l(i)) q:i="" d<br />
89 11 0.001542 0.001542 . w /cup(i+3,1),3,$S($F(l(i),";")...<br />
90 11 0.028125 0.028220 . w (3+12+1),l(i,"info"),diroff...<br />
91 11 0.000378 0.000895 . w $$GJrnPrefix(l(i))<br />
92 3 0.000027 0.000027 q<br />
93 0 0 0 listjrn(f,list,n) ;list at most...<br />
.<br />
.<br />
.<br />
Total 582 17.258963<br />
Total Lines = 579<br />
Total Lines Hit = 100<br />
Coverage Percentage = 17.27%<br />
This is a partial display of one selected routine.<br />
7.3.2 Line-by-line Summary Report<br />
The following is an example of reporting a summary of the minimal metrics of selected journal utilities including the coverage<br />
analysis. The report is sent to the monlbl_JRN_summ.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: 5<br />
Include Coverage Analysis summary (Y/N) Y<br />
FileName: monlbl_JRN_summ.txt<br />
Press RETURN to continue ...<br />
The report shows each selected routine with a summary of lines, coverage, and time. The routines with the highest coverage<br />
percentage appear first in the list.<br />
Routine Lines LinesHit Percent RtnLine Time<br />
JRNOPTS 109 60 55.05% 155 13.272230<br />
JRNSWTCH 249 58 23.29% 69 0.926131<br />
JRNDUMP 579 100 17.27% 582 17.265002<br />
JRNSTART 393 23 5.85% 23 0.005541<br />
JRNUTIL 872 39 4.47% 39 0.116995<br />
JRNUTIL2 276 8 2.90% 56 0.006056<br />
JRNCHECK 18 0 0.00%<br />
JRNCLFOR 416 0 0.00%<br />
JRNCLUREST 193 0 0.00%<br />
JRNCLUREST2 229 0 0.00%<br />
JRNINFO 263 0 0.00%<br />
JRNMARK 195 0 0.00%<br />
JRNRESTB 1315 0 0.00%<br />
JRNRESTC 1245 0 0.00%<br />
JRNRESTC2 540 0 0.00%<br />
JRNRESTCHELP 122 0 0.00%<br />
JRNRESTD 445 0 0.00%<br />
JRNRESTO 859 0 0.00%<br />
JRNROLL 827 0 0.00%<br />
JRNSTAT 62 0 0.00%<br />
JRNSTOP 119 0 0.00%<br />
JRNWUTL 235 0 0.00%<br />
TOTAL 22 rtns 9561 288 3.01% 924 31.591955<br />
<strong>Caché</strong> <strong>Monitoring</strong> <strong>Guide</strong> 63