Progress
Client Deployment
Guide
Monitoring R-code Activity
You can monitor execution environment activity by using the startup parameters listed in Table 4–3 to collect usage statistics during a Progress client session.
For more information about these startup parameters, see the Progress Startup Command and Parameter Reference.
Interpreting R-code Usage Statistics
Figure 4–1 shows a sample excerpt from the output of the Statistics (-y) startup parameter.
Figure 4–1: Sample Statistics (-y) Output
![]()
The Reads from temp file and Writes to temp file fields show the amount of swapping to and from the sort file. Segments are written to the sort file only once. Once swapped, they remain in the sort file, even when they are reloaded into memory. For this reason, the number of writes is typically much smaller than the number of reads. If these numbers are relatively high, consider putting the sort files on a dedicated disk. For more information, see the "Temporary File I/O" section later in this chapter.
The R-code Execution Buffer field shows the current size of the execution buffer, the peak usage during the session, and the current ceiling. Use the data in these fields to determine the optimal initial ceiling for the execution buffer (that is, the point at which Progress starts swapping to the sort file). Set this value with the Maximum Memory (-mmax) startup parameter. For more information, see the "Tuning R-code Execution" section earlier in this chapter.
Interpreting R-code Segment Statistics
Figure 4–2 shows a sample excerpt from the output of the Segment Statistics (-yd) startup parameter.
Figure 4–2: Sample Segment Statistics (-yd) Output
![]()
The Per procedure temp file access statistics fields show the swap rates for each segment of each procedure executed during the session. The Per procedure segment information fields show the number and size of r-code segments in each procedure. Use this information to determine how your application design is affecting r-code performance. For more information about application design and r-code performance, see the Progress Programming Handbook.
Copyright © 2004 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |