OpenTP1 Version 7 Description

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

3.9.7 Uptime statistics

System statistics let you view the operation status of OpenTP1.

Organization of this subsection
(1) Outputting statistics
(2) MCF system statistics
(3) Outputting system statistics in real time (dcreport command)

(1) Outputting statistics

You can use the jnlstts and jnlmcst commands to extract statistical journal (SJ) information from an unloaded-journals file, edit it to help check the OpenTP1 operation status, and output the edited data in a listing to the standard output. An OpenTP1 administrator can examine the output statistics to check the operating status of OpenTP1.

You can use jnlstts to output statistics about system services, UAP operation status, or transaction processing; or you can use jnlmcst to output MCF statistics about the sending or receiving of messages. For details about the statistics, see the manual OpenTP1 Operation.

The facilities provided by the jnlstts and jnlmcst commands are referred to as the statistics output facilities.

(2) MCF system statistics

You can collect MCF statistics into shared memory, and then output them to a UNIX file as statistical data. You can also edit and output the statistics from the UNIX file to the standard output.

Use MCF system statistics to check the operating status of MCF.

The MCF system statistics described here are independent of the jnlmcst command, which acquires MCF system statistics based on journal files. The command provides information such as the number of messages processed within a specified period of time. The MCF system statistics provide information such as the number of messages waiting to be processed.

The following facilities are available for handling MCF system statistics. Facility numbers correspond to those in the Figure 3-75.

  1. Facility for acquiring MCF statistics (the facility enabled by specifying yes in the stats operand of the -w option in the mcfmcomn definition command in the MCF manager definition)
  2. Facility for outputting MCF statistics (mcfstats command)
  3. Facility for editing MCF statistics (mcfreport command)

Figure 3-75 provides an overview of the facilities for MCF system statistics.

Figure 3-75 Overview of the facilities for MCF system statistics

[Figure]

(3) Outputting system statistics in real time (dcreport command)

The dcreport command lets you output system statistics to the standard output in real time, and also allows for output of system statistics to the message log. System statistics can also be output to the standard output in CSV format. This command can be used when the statistics operand is set to Y in the system common definition, or when the dcstats command is used to make a request for outputting system statistics to journal files.

When you acquire system statistics by using the dcreport command, you can view the service execution status, the resource load status, the error status, as well as other information, in real time.