Try OpenEdge Now
skip to main content
Managing ABL Applications
ABL and R-code Deployment and Management : Managing Client Performance : Procedure loading and execution : Monitoring r-code activity
 
Monitoring r-code activity
You can monitor execution environment activity by using the startup parameters listed in the following table to collect usage statistics during an OpenEdge client session.
Table 23. Startup parameters for monitoring r-code activity
Startup parameter
Description
Statistics (-y)
Collects procedure access and usage statistics throughout the OpenEdge session and writes them to an output file (by default, client.mon in your current working directory). Use the SHOW-STATS statement at any time during the session to instruct OpenEdge to write the statistics immediately.
Statistics with CTRL+C (-yc)
Collects the same statistics as the -y parameter, but lets you press CTRL+C as an alternative to executing the SHOW-STATS statement. Use this parameter if you cannot execute SHOW-STATS.
Segment Statistics (-yd)
Collects r-code segment statistics and writes them to the client monitor file (by default, client.mon in your current working directory). It provides a breakdown of an r-code file by segment type, including the number of segments and its size. It also summarizes read and write access to the r-code swap file by segment type and access type, including the number of times the RCD file was accessed and the number of bytes read from or written to the RCD file.
Statistics with Cross-reference (-yx)
Collects procedure call statistics and writes them to an output file (by default, proc.mon in your current working directory). Use this parameter to answer these questions:
*How many calls were made in a given period of time?
*How long did a procedure spend executing?
*How often was a procedure swapped to and from the RCD file?
For more information about these startup parameters, see OpenEdge Deployment: Startup Command and Parameter Reference.
* Interpreting r-code usage statistics
* Interpreting r-code segment statistics