Monitor r-code activity
- Last Updated: February 11, 2026
- 1 minute read
- OpenEdge
- Version 13.0
- Documentation
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.
| 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:
|
For more information about these startup parameters, see Startup Command and Parameter Reference.