Configuring performance explorer

 

To collect detailed trace information, you need to tailor performance explorer to work optimally with the application process from which the trace is being taken. To configure performance explorer, follow these steps:

  1. Create a session definition that informs the system which performance data you want to collect. On the Add Performance Explorer Definition (ADDPEXDFN) display, specify the collection type and a name for the definition. This definition is stored as a database member by that name in the QAPEXDFN file in library QUSRSYS. The name that you specify is used on the Start Performance Explorer (STRPEX) command.

  2. Add a filter (Add PEX Filter (ADDPEXFTR) command). A performance explorer filter identifies the performance data that is to be collected during a performance explorer session, and is meant to limit the amount of data collected by specifying a compare value for specific events.

  3. Start collecting data (Start Performance Explorer (STRPEX) command). A job may be in more than one performance explorer collection if the *PMCO event is not being collected. If the *PMCO event is being collected, then a job can be in more than one collection only if all the collections have the same interval specification (ADDPEXDFN INTERVAL() parameter). You can specify a definition and optional filter on the STRPEX command.

  4. Run your command, program, or workload for data that you want to analyze.

  5. Stop collecting the data and save it to database files for analysis. Use the End Performance Explorer (ENDPEX) command to stop the collection.

  6. Analyze the performance data. The Print Performance Explorer Report (PRTPEXRPT) command, included in the Performance Tools licensed program, provides unique reports for each type of data (statistical, profile, trace profile, or trace).

    The following are other options for analysis:

  7. To end the performance explorer session, use the End Performance Explorer (ENDPEX) command.

All of the performance explorer commands can be accessed with one of the following methods:

 

Parent topic:

Performance explorer

Related concepts
Performance explorer concepts Performance explorer definitions

Related reference
Add PEX filter (ADDPEXFTR) command Start Performance Explorer (STRPEX) command Print Performance Explorer Report (PRTPEXRPT) command