SM2 offers the following operating modes. They can be used simultaneously.
Real-time monitoring
Here SM2 periodically provides monitored data for online monitoring. The SM2 user program enables the monitored data to be displayed on the terminal in the form of reports. This data refers to the latest monitoring cycle (e.g. 150 seconds) and can be used as snapshots for assessing the current system status. Only selected SM2 monitored data is output in this mode.
Background monitoring (information output to a file for subsequent analysis)
Here the collected data is output in the form records to a file, the SM2 output file. This data can be analyzed later using SM2R1.
This mode allows for selective use of the SM2 operands and is equally suitable for longterm monitoring with a low system load and for brief special-purpose monitoring with a correspondingly higher system load.
User-specific task monitoring
Here the nonprivileged user (using the START-TASK-MEASUREMENT command) can register tasks under his/her own ID for monitoring by SM2. In addition to the taskspecific monitored data, a command counter and SVC task statistics can be requested. In the case of user-specific task monitoring, all information is written to user-specific SM2 output files.