IBM Webcam 4J ユーザーズマニュアル

ページ / 98
Generating a Summary Report for a Process
You can use the select statistics command to generate a summary report for a
Process. The following command generates summary statistics for Process number
9:
sel stat pnumber=9 detail=no startt=(08/10/2008);
The report consists of all records from August 10, 2008.
Sample output that describes all Process steps in summary form is displayed in the
following table:
===================================================================================
SELECT STATISTICS
===================================================================================
P RECID LOG TIME
PNAME PNUMBER STEPNAME CCOD FDBK MSGID
-----------------------------------------------------------------------------------
P PSTR 08/10/2008 09:10:39
PR01
9
0
XSMG200I
P IFED 08/10/2008 09:10:44
PR01
9
0
XSMG405I
P CTRC 08/10/2008 09:10:44
PR01
9
0
XSMG405I
P IFED 08/10/2008 09:10:45
PR01
9
4
XSMG400I
P RTED 08/10/2008 09:10:45
PR01
9
0
XSMG400I
P IFED 08/10/2008 09:10:45
PR01
9
4
XSMG400I
P CTRC 08/10/2008 09:10:45
PR01
9
0
XSMG405I
P CTRC 08/10/2008 09:10:45
PR01
9
8
XSMG405I
P CTRC 08/10/2008 09:10:45
PR01
9
8
XSMG405I
===================================================================================
To avoid lengthy search times when issuing the select statistics command, archive
or delete statistics files regularly. Also, use the startt and stopt parameters to
bracket the desired stats as closely as possible. Execution of a Process generates
multiple statistics records. Sterling Connect:Direct closes the current statistics file
and creates a new statistics file every midnight. It can also close the current file
before midnight if the file size exceeds the value set for the file.size initialization
parameter. The default file size is 1 megabyte.
Statistics files are in the d_dir/work/cd_node directory. Names of the statistics file are
in the format Syyyymmdd.ext, where yyyy indicates year, mm indicates month,
and dd indicates day. The extension (ext) begins as 001. The extension is
incremented by one each time a new statistics file is created in a single day.
Running System Diagnostics
The diagnostic command, trace, enables you to run system diagnostics and
troubleshoot operational problems. Use the trace command with the appropriate
parameter listed in the following table to enable and disable runtime traces within
the Process Manager, Command Manager, and Session Manager components of the
software. For Session Manager traces, you can run a trace for a specific node.
The Command Manager trace is turned on immediately for the client that issued
the trace command. After the trace command is issued, all clients that make
connections are also traced. Session Manager traces go into effect immediately.
The trace command has the following parameters:
Chapter 1. Controlling and Monitoring Processes
33