Performance Co-Pilot

Commands

  • Install the package: yum install pcp; systemctl enable pmcd; systemctl start pmcd
  • Retrieving historical performance data (collects data every second and stores logged data in the /var/log/pcp/ pmlogger/HOSTNAME directory): systemctl start pmlogger; systemctl enable pmlogger
  • List of the metrics stored in the Performance Co-Pilot database: pminfo
  • Get information about a specific metric: pminfo -dt proc.nprocs
  • Get data from a specific metric (5 samples): pmval -s 5 proc.nprocs

Configure pmlogger

vi /etc/pcp/pmlogger/control

<hostname>  n   n   PCP_LOG_DIR/pmlogger/<hostname> -r -T24h10m -c config.<hostname>