4 Getting Started With PCP

Review information gathered by the PCP host services and configuring the frequency with which metrics are collected.

If the pcp-oracle-conf package is installed then the only metrics collected by the pmlogger service are those listed in the /var/lib/pcp/config/pmlogger/config.ora configuration file.

If PCP has been installed without the pcp-oracle-conf package, review the /var/lib/pcp/config/pmlogger/config.default configuration file instead.

  1. You can change the frequency with which metrics are collected in the same configuration file. For example, to increase the frequency from each minute to every 5 seconds, revise the file as follows:
    ...
    # It is safe to make additions from here on ...
    #
    
    log mandatory on every 5 seconds {
      filesys.free
      filesys.used
      ...
    }

    All the archives that the pmlogger service generates are stored in the /var/log/pcp/pmlogger/hostname directory. For more information, see the pmlogconf(1) manual page.

  2. To verify the PCP configuration at the time that pmlogger collected specific performance metrics, use the pcp command:
    sudo pcp -a 20250113.0.xz
The frequency with which metrics are gathered was adjusted and verified.