Progress
Language Reference


SHOW-STATS Statement

Interfaces
OS
SpeedScript
All
All
Yes

Writes procedure call statistics to the proc.mon output file if you specify the Statistics with Cross-Reference (-yx) parameter. It also writes procedure access and usage statistics to the client.mon output file if you specify the Statistics (y) parameter, Statistics with CTRL-C (-yc) parameter, Segment Statistics (-yd) parameter, or Statistics with Cross-Reference (-yx) parameter. If you specify -yd, it also displays statistics for each code segment.

Ordinarily, when you specify these startup parameters, Progress writes the statistics to the output files at the end of your Progress session. This might not be what you want. For example, if you start Progress using the -y or -yc parameters, you might want to view the execution buffer statistics as they occur during your Progress session. With SHOW-STATS, you can force Progress to write the statistics at a specific time, instead of at session end. For more information on these startup parameters, see the Progress Startup Command and Parameter Reference.

SYNTAX

SHOW-STATS [ CLEAR ] 

CLEAR

Resets all counters and timers that Progress uses to monitor the procedure call, procedure access, and usage statistics.

EXAMPLE

This procedure runs the Data Dictionary and writes the procedure call, procedure access, and usage statistics to the proc.mon and client.mon output files.

r-stats.p
RUN dict.p.
SHOW-STATS. 

NOTES


Copyright © 2004 Progress Software Corporation
www.progress.com
Voice: (781) 280-4000
Fax: (781) 280-4095