CPU Explorer Training 2014
CPU Explorer “Compile job and step executions resource counters into historical and execution views”
CPU Explorer – Data source Description SMF 30 subtype 1 Job start SMF 30 subtype 2 Step interval end SMF 30 subtype 3 Step last interval end SMF 30 subtype 4 Step end SMF 30 subtype 5 Job end RMF 70 RMF CPU Activity: MSU’s, defined and group capacity Interval records (subtypes 2 and 3) requires “Interval” scope selection
Captured vs Uncaptured times RMF 70 refers to dispatch times SMF 30 refers to MVS Captured Time Picture from Enterprise Performance Strategies, Inc.
Historical views Target Table name Description CPU Job History cpuJobs SID, Jobname and cpu counters CPU LPAR History cpuLpar SID and cpu counters CPU Programs History cpuPrograms SID, Jobname, Program name and CPU counters CPU Users History cpuUsers SID, username and CPU counters CPU Services History cpuServices Currently not used CEC Activity History cecHist CECname and performance counters LPAR Activity History lparHist CECname, LPAR and performance counters
Main CPU Fields Field Description Executions Number of steps executed EXCP’s Number of I/O operations Total Service units Service unit is independent of the hardware CPU time Processor time Execution type JES2, STC, TSO, OMVS, ASCH Complexion Code NORM, ABND, FLUSH Cond Code Condition code/abend code: 000, 222, 237
CPU history fields List of fields and counters:
CPU Activity CPU times: CP, IFL, ZIIP, Zaap, ICF Active 4-hour MSUs, instant MSUs Defined and group capacities Configuration: #CPs
Performance fields List of fields and counters:
Jobs Views Mainframe applications are made of jobs Job history Job averages Application resource usage Elapsed time and room time Execution jobs and steps Top jobs
Job views Jobs historical view: Job history Job averages Application resource usage Elapsed time and room time Job class usage STC jobs Jobname System name Sysplex name SID Completion code Condition code Execution type RACF group RACF username Class WLM class WLM group WLM report Custom Fields
Applications - Filtering Applications are defined through filtering facility: SQL WHERE clauses You can redefine anytime You select it as a filter
Application patterns Sistema = SUBSTRING(jobname,2,2)
Application - MIPS Calculation MIPS = ServiceUnits-per-hour/180000
LPAR view LPAR historical view: System name System history System peak times System name Sysplex name SID Completion code Condition code Execution type
Job Executions Single job execution detail Job executions details: Job name SID RACF username Region size Job number Steps Class Private memory size Reader time Completion code System memory size Start time Condition code WLM name Private above 16MB End time Reason code WLM class Private bellow 16MB System name Execution type WLM group Duration Sysplex name RACF group WLM report Room time
Job Executions Caution! This view tend to be enormous = millions of records; Query tend to take a considerable time and return a lot of information; Good practice is to use filters to limit the scope of the query (time limits, job names); “Normally you can get the same information from the historical views.”
Step Executions Step Executions view: Single step execution details; List the steps of a certain job; Top program executions; Jobs running on a certain period. Step executions details: Job name System name RACF group Region size Job number Sysplex name RACF username Private memory size Step number SID Class System memory size Start time Completion code WLM name Private above 16MB End time Condition code WLM class Private bellow 16MB Step name Reason code WLM group Dasd connected time Program name Execution type Duration Dasd pending time
Programs view Programs historical view: Program usage history; Which jobs run a program; STC programs; OMVS programs; Where (LPAR’s) a certain program runs; Mostly executed programs Program name SID Job name Condition code System name Completion code Sysplex name Execution type
Users view Users historical view: Users usage history; Users per Group; TSO users usage; Abends per users. RACF username SID RACF group Condition code System name Completion code Sysplex name Execution type
Services view Services historical view: Service usage history; Abends; Service on LPAR’s. Service name System name Sysplex name SID Completion code Condition code Execution type “Services view is a customized historical view configured by the user”. “Huge installations can consolidate history data by business line and save them for long periods.”