Previous Topic: A Program That Displays the User ID and Terminal IDNext Topic: Actions and Commands


A Program That Monitors Storage Statistics

This program can be set up to continuously run in TPXOPER and take storage statistics periodically and write them to the Log. These statistics might then be used to gather data to make tuning decisions.

       OPTION MAXI,0           NO LIMIT TO EXECUTION 
       OPTION TERM,ON 
LOOP   KEY 'D STOR'            DISPLAY STORAGE BELOW THE LINE 
       ENTER 
       COMMAND 'P * LOG'       SEND RESULT TO TPX LOG 
       WAIT 4 
       KEY 'D STORXA'          DISPLAY STORAGE ABOVE THE LINE 
       ENTER 
       COMMAND 'P * LOG'       SEND RESULT TO TPX LOG 
       WAIT 1800               WAIT 30 MINUTES 
       BRANCH ANY,LOOP         GET NEW STORAGE STATISTICS