Examples

SM2 operation

/START-SM2

CALL-ADMINISTRATION-PART

SET-RESPONSETIME-PARAMETER START-MEASUREMENT-PROGRAM TYPE=*RESPONSETIME OPEN-LOG-FILE FILE=*STD

END

.

.

.

.

/START-SM2

CALL-ADMINISTRATION-PART STOP-MEASUREMENT-PROGRAM TYPE=*RESPONSETIME CLOSE-LOG-FILE

END

Example 3

In this example, SM2 is started with data output to the SM2 output file. The file is given the default name SM2.hostname.yyyy.mm.dd.sss.nn. The monitoring cycle is set to 20 seconds and the sampling cycle to 200 ms. The RESPONSETIME monitoring program is started in accordance with definition 1, and monitors up to 1024 connections. The default options are used for the number of ranges and for the range limits for the response, think, transaction and wait times. All monitored data is written to the SM2 output file. At the terminal, the A (ACTIVITY), M (MEMORY), C (CHANNEL) and D (DEVICE) reports are output in automatic output mode.

After some time, SM2 is interrupted with the BREAK function (terminal key) and terminated. However, the SM2 output file remains open and the RESPONSETIME monitoring program continues running.

/START-SM2

CALL-ADMINISTRATION-PART

SET-RESPONSETIME-PARAMETER START-MEASUREMENT-PROGRAM TYPE=*RESPONSETIME OPEN-LOG-FILE FILE=*STD

MODIFY-MEASUREMENT-PERIODS OFFLINE-PERIOD=20,SAMPLING-PERIOD=200

CALL-EVALUATION-PART START

.(Output of the Reports)

BREAK or [K2]

/INFORM-PROGRAM END

200

U3585-J-Z125-8-76

Page 200
Image 200
Siemens SM2 monitoring system, U3585-J-Z125-8-76 1 manual Examples SM2 operation