Where allowed to run: All environments (*ALL) Threadsafe: No |
Parameters Examples Error messages |
The Configure Performance Collection (CFGPFRCOL) command changes the Collection Services properties. These properties define certain collection attributes and determine how Collection Services will manage data collection. Some attributes changed with this command will take effect immediately, while others will take effect the next time a collection object is created. See the parameter help to determine how each attribute will be handled. The Collection Services server job (QYPSPFRCOL) can be started or cycled by using the Start Performance Collection (STRPFRCOL) command.
Top |
Keyword | Description | Choices | Notes |
---|---|---|---|
INTERVAL | Default interval | *SAME, 0.25, 0.5, 1.0, 5.0, 15.0, 30.0, 60.0 | Optional, Positional 1 |
LIB | Collection library | Name, *SAME | Optional |
DFTCOLPRF | Default collection profile | *SAME, *MINIMUM, *STANDARD, *STANDARDP, *ENHCPCPLN, *CUSTOM | Optional |
CYCTIME | Cycle time | Time, *SAME | Optional |
CYCITV | Cycle interval | 1-24, *SAME | Optional |
RETPERIOD | Collection retention period | Single values: *SAME, *PERM Other values: Element list |
Optional |
Element 1: Number of units | 1-720 | ||
Element 2: Unit of time | *HOURS, *DAYS | ||
CRTDBF | Create database files | *SAME, *YES, *NO | Optional |
CHGPMLIB | Change PM iSeries library | *NO, *YES | Optional |
Top |
The default collection interval (in minutes). This value is used by most data categories as the collection sample interval. Although some I/O categories are set up to use a specific interval time, this value will determine the collection sample interval for most data. This change will take effect immediately.
Top |
The library where the management collection object (*MGTCOL) will reside. This change will take effect the next time a collection object is created.
Top |
Specifies the default collection profile. This determines which categories will be included in the system-level collection. This change will take effect the next time a collection object is created.
Top |
The base time at which the Collection Services server job (QYPSPFRCOL) will end the current collection and begin collecting data in a new management collection object (*MGTCOL). This change will take effect immediately.
Top |
The time period after which the Collection Services server job (QYPSPFRCOL) will end the current collection and begin collecting data in a new management collection object (*MGTCOL). This parameter controls the maximum amount of data (based on time) that will be stored in a single collection object. This value will take effect immediately.
Top |
Specifies how long the management collection object (*MGTCOL) should be retained on the system. After the retention period has expired, the object will be automatically deleted by the Collection Services server job (QYPSPFRCOL). Expired collections are removed from the system each time a collection starts or cycles. This change will take effect immediately and will apply to the current and future collection objects.
Single values
Element 1: Number of units
Element 2: Unit of time
Specify whether the retention-time value specified for the Number of units element should be treated as a number of hours or a number of days.
Top |
This option will submit the Create Performance Data (CRTPFRDTA) job. This job will create the performance database files and process the data in the current management collection object as it is collected. The CRTPFRDTA job will end when the Collection Services server job (QYPSPFRCOL) ends or cycles. If this option is set to *YES, a new CRTPFRDTA job will be submitted for every management collection object (*MGTCOL) created. This change will take effect the next time a collection object is created.
Top |
This option will change the PM iSeries library to match the library used by Collection Services.
PM iSeries has its own configuration. When PM iSeries is running it will change the Collection Services configuration (on an hourly basis) so that the data it requires is collected and stored in the PM iSeries configured library. If you specify *YES, the PM iSeries collection library will be changed to the Collection Services collection library. If the Collection Services server job is running when this option is specified, the collection will be cycled so that the change to both libraries will take effect simultaneously.
If the PM iSeries library is changed, you should be aware of the following: PM iSeries will not be able to process any data which was collected in the previous library. In addition, PM iSeries will automatically remove data in the new library based on the PM iSeries setting Performance data purge days. To change the number of days performance data is retained, type GO PM iSeries and select the Work with PM iSeries Customization option.
Top |
Example 1: Configuring Default Interval and Collection Library
CFGPFRCOL INTERVAL(5) LIB(QMPGDATA)
This command will cause the default interval at which most sample data is collected to be changed immediately to 5 minutes. In addition, the library where data is collected will change to QMPGDATA the next time a management collection object (*MGTCOL) is created.
Example 2: Configuring Cycle Time and Cycle Interval
CFGPFRCOL CYCTIME(030000) CYCITV(6)
This command will change the cycle time and cycle interval of the collection. The base cycle time will be 3:00 a.m. and the collection will cycle every six hours from the base time. New management collection objects (*MGTCOL) will be created at the following times: 3:00, 9:00, 15:00, 21:00, 3:00, 9:00, and so on.
Example 3: Configuring Retention Period
CFGPFRCOL RETPERIOD(25 *DAYS)
This command will cause the current and future collection objects to be retained on the system for 25 days before being automatically deleted by the Collection Services server job (QYPSPFRCOL).
Example 4: Configuring Default Collection Profile and Create Database Files
CFGPFRCOL DFTCOLPRF(*STANDARD) CRTDBF(*YES)
This command causes changes that will take effect the next time a management collection object (*MGTCOL) is created. At that time, the collection profile will change to *STANDARD and the Create Performance Data (CRTPFRDTA) job will be submitted.
Example 5: Changing the PM iSeries Library
CFGPFRCOL LIB(QPFRDATA) CHGPMLIB(*YES)
This command will change both the Collection Services collection library and the PM iSeries configured library to QPFRDATA. If the Collection Services server job is running, it will be cycled and the change will take effect immediately.
Top |
*ESCAPE Messages
Top |