OpenTP1 Version 7 Operation

[Contents][Index][Back][Next]

3.3.5 Startup and termination of collecting transaction statistics

The trnstics command makes it possible to collect transaction statistics into a journal file.

Collection of transaction statistics can be started with the trnstics command with the -s option specified. Executing the trnstics command with the -s option specified does not collect transaction statistics from transactions that are to start after normal termination of the trnstics command. No transaction statistics can be collected from the transactions that had started before normal termination of the command.

Transaction statistics can be collected only from transactions that have been executed by the user service for which 1-4 is specified in the trn_statistics_type option of the OpenTP1 system definition.

Collection of transaction statistics can be terminated with the trnstics command with the -e option specified. Executing the trnstics command with the -e option specified does not let the system collect transaction statistics from transactions that are to start after normal termination of the trnstics command.

The greater the number of kinds of transaction statistics are collected, the lower the transaction performance. For this reason, it is recommended to collect statistics only when transaction performance is not a problem.

At restart of OpenTP1, the specification of the trnstics command cannot be inherited and that of trn_tran_statistics (to choose whether statistics for each transaction branch are to be inherited) of the transaction service definition predominates.