3 Stopping PCP
Stop the pmcd and pmlogger services to temporarily or
    permanently halt data collection.
               
Before halting or disabling the Performance Metrics Collector Daemon
                                        (pmcd) and Performance Metrics Logger
                                        (pmlogger) collector host services, verify
                                that they're running:
                  
sudo systemctl status pmcd pmlogger
                  The pmcd and pmlogger services have halted data
        collection either temporarily or permanently depending on the commands used.
                  
Note:
For more information about masking and unmasking services to prevent scripts from restarting disabled system services, see Oracle Linux 8: Managing the System With systemd.