Monitor and Manage Storage with the Storage Pool Interval Monitor

The Storage Pool Interval Monitor reports on storage utilization and contiguous available storage. This online task monitors free storage in storage pools. When a specified percentage of pool utilization is reached, the task sends a message to the CV LOG and JOBLOG. The message provides the size of the largest contiguous free area in the storage pool.
You can start the monitor either automatically as a startup AUTOTASK or manually by task code. For more information about the AUTOTASK statement, see AUTOTASK Statement -- Define Tasks .
Two optional SYSIDMS parameters allow you to specify the threshold at which to begin reporting and the frequency of messages. The parameter values can be specified in two ways. The values can be specified when the monitor is started by task code, or they can be modified by task code when the monitor is active.
Task and Function Codes
The task code SMON and a function code control the behavior of the Storage Pool Interval Monitor.
  • SMON INIT - Starts the Storage Pools Storage Pool Interval Monitor
  • SMON SHUT - Shuts down the Storage Pools Storage Pool Interval Monitor
  • SMON VARY - Varies the THRESHOLD and/or INTERVAL parameters
  • SMON PARM - Displays the THRESHOLD and INTERVAL parameters
The VARY and PARM function codes work only when the Storage Pools Storage Pool Interval Monitor task is running.
Parameters
The following parameters control the start and frequency of reporting:
  • THRESHOLD
    nn
    - Specifies the percentage of storage that must be used for reporting to begin.
    Valid values: 0-99
    Default: 60
  • INTERVAL
    nnn
    - Specifies the interval in seconds between the free storage messages.
    Valid values: 0-999
    Default: 60
The THRESHOLD and INTERVAL parameters are valid for only the INIT and VARY function codes.
SYSIDMS Parameters (optional)
  • SMON_THRESHOLD=
    nn
    - Sets the default reporting threshold.
    Valid values: 0-99
  • SMON_INTERVAL=
    nnn
    - Sets the default reporting interval.
    Valid values: 0-999
Usage Considerations
  • If the monitor is started without parameters (SMON INIT) and no SYSIDMS parameter default values are specified, the default values for THRESHOLD and INTERVAL apply.
  • The monitor task is persistent until either it is manually shut down or until the Central Version is shut down.
  • If SMON VARY is entered with no parameters, the THRESHOLD and INTERVAL are reset to the default values.
Usage Examples
Starting the Storage Pools Storage Pool Interval Monitor with Parameters
SMON INIT THRESHOLD 70 INTERVAL 120
Starting the Storage Pools Storage Pool Interval Monitor with Parameters (Using Minimum Parameter Syntax)
SMON INIT THR 70 INT 120
Varying the Threshold and Interval
SMON VARY THRESHOLD 80 INTERVAL 30
Message Examples
Initialization Messages in the CV LOG
IDMS DC015011 V218 T52 Free Storage Monitor initializing
IDMS DC015013 V218 T52 Free Storage Monitor Threshold 70% Interval 120 Seconds
Message Issued by the Storage Pool Interval Monitor when Utilization Reaches the Threshold
DC015010 Storage Pool 128 - 80% utilization - largest contiguous free storage 242K