CL commands for performance

The operating system includes several CL commands to help you manage and maintain system performance.

CL commands contained in the base operating system

These tables provide a list of most of the performance related CL commands that are a part of the base operating system.
Table 1. Real-time monitoring CL commands
Command Function
Work with Active Jobs (WRKACTJOB) Allows you to review and change the attributes and resource utilization of the jobs running on your system.
Work with Disk Status (WRKDSKSTS) Displays the performance information and attributes for system disk units.
Work with System Status (WRKSYSSTS) Provides an overview of current system activity. Specifically, it displays the number of jobs on the system and storage pool utilization information.
Work with System Activity (WRKSYSACT) Allows you to work with jobs and tasks on your system.
Work with Object Locks (WRKOBJLCK) Allows you to work with and display locks on a specified object, including locks waiting to be applied.
Work with Shared Storage Pools (WRKSHRPOOL) Display the utilization information and change attributes of shared storage pools, including machine and base pool.
Table 2. Miscellaneous performance CL commands
Command Function
Analyze Command Performance (ANZCMDPFR) Measures the performance of a single CL command or a set of CL commands.
Configure PM Agent (CFGPMAGT) Configures PM Agent to send and receive PM Agent performance data.
Start Performance Trace (STRPFRTRC) Starts the collection of multiprogramming level and transaction trace data.
End Performance Trace (ENDPFRTRC) Ends the collection of multiprogramming level and transaction trace data.
Delete Performance Collection (DLTPFRCOL) Deletes a performance collection from the system.
Copy Performance Collection (CPYPFRCOL) Creates a copy of a performance collection.
Convert Performance Collection (CVTPFRCOL) Converts performance data from a previous release to the format needed for processing by the current release.
Save Performance Collection (SAVPFRCOL) Saves a copy of a single performance collection or a group of performance collections located in the same library.
Restore Performance Collection (RSTPFRCOL) Restores a performance collection or a group of performance collections in a single library.
Table 3. Collection Services CL commands
Command Function
Create Performance Data (CRTPFRDTA) Creates a set of database files from performance information stored in a management collection (*MGTCOL) object.
Create Performance Summary (CRTPFRSUM) Creates additional database files containing summary information for an existing Collection Services collection.
Change Management Collection (CHGMGTCOL) Changes the attributes of the specified management collection.
Delete Management Collection (DLTMGTCOL) Deletes a management collection from the system.
Start Performance Collection (STRPFRCOL) Starts the system-level collection of performance data by Collection Services.
End Performance Collection (ENDPFRCOL) Stops the system-level collection.
Check Performance Collection (CHKPFRCOL ) Determines the current status of the Collection Services server job (QYPSPFRCOL).
Configure Performance Collection (CFGPFRCOL) Changes certain collection attributes and determines how Collection Services will manage data collection.
Table 4. Disk Watcher CL commands
Command Function
Add Disk Watcher Definition (ADDDWDFN) Allows you to specify the performance data that is to be collected during a Disk Watcher collection.
End Disk Watcher (ENDDW) Ends a Disk Watcher collection.
Remove Disk Watcher Definition (RMVDWDFN) Removes one or more Disk Watcher definitions from the system.
Start Disk Watcher (STRDW) Starts the collection of disk performance data.
Table 5. Job Watcher CL commands
Command Function
Add Job Watcher Definition (ADDJWDFN) Allows you to specify the performance data that is to be collected during a Job Watcher collection.
End Job Watcher (ENDJW) Ends the Job Watcher collector.
Remove Job Watcher Definition (RMVJWDFN) Allows you to remove one or more Job Watcher definitions from the system.
Start Job Watcher (STRJW) Starts the Job Watcher collector.
Table 6. Performance explorer (PEX) CL commands
Command Function
Add PEX filter (ADDPEXFTR) Adds a new Performance Explorer (PEX) filter to the system.
Print Performance Explorer Report (PRTPEXRPT) Prints a formatted listing of the data that was collected by the performance explorer.
Start Performance Explorer (STRPEX) Starts a new Performance Explorer session or resumes a suspended Performance Explorer session.
End Performance Explorer (ENDPEX) Stops thePerformance Explorer session from collecting data.
Add Performance Explorer Definition (ADDPEXDFN) Adds a new Performance Explorer definition to the system.
Change Performance Explorer Definition (CHGPEXDFN ) Changes an existing Performance Explorer definition.
Create Performance Explorer Data (CRTPEXDTA) Creates the Performance Explorer database files based on the data in a Performance Explorer management collection object.
Delete Performance Explorer Data (DLTPEXDTA) Deletes data that was collected by the Performance Explorer tool and was saved across a set of physical files in a particular library.
Remove Performance Explorer Definition (RMVPEXDFN) Removes one or more Performance Explorer definitions from the system.
Remove Performance Explorer Filter (RMVPEXFTR) Rmoves one or more Performance Explorer filters from the system.
Work with Performance Explorer Definitions (WRKPEXDFN) Shows you the list of existing Performance Explorer (PEX) definitions. You can add new definitions or display, remove, or change existing definitions.
Work with Performance Explorer Filters (WRKPEXFTR) Shows you a list of existing Performance Explorer filters. You can add new filters or display, remove, or change existing filters.

CL commands contained in IBM Performance Tools for i (5770-PT1)

This table provides a list of some CL commands that are a part of IBM® Performance Tools for i. For more commands, see the Performance Tools for i Commands topic in the Programming topic collection.
Table 7. General CL commands
Command Function
Analyze Performance Data (ANZPFRDTA) Produces recommendations to improve the performance of your system.
Display Performance Data (DSPPFRDTA) Displays performance data collected by Collection Services.
Print Activity Report (PRTACTRPT) Prints the activity report.
Print Component Report (PRTCPTRPT) Prints the component report.
Print Job Interval Report (PRTJOBRPT) Prints the job interval report.
Print Job Trace Report (PRTTRCRPT) Prints the job trace report.
Print Lock Report (PRTLCKRPT) Prints the lock report.
Print Pool Report (PRTPOLRPT) Prints the pool report.
Print Resource Report (PRTRSCRPT) Prints the resource report.
Print System Report (PRTSYSRPT) Prints the system report.
Print Transaction Report (PRTTNSRPT) Prints the transaction report.
Start Performance Tools (STRPFRT) Calls the performance tools menu interface.