PCP.CONF(5)
๐ PCP.CONF ๐
okay bestie, gather round, we're doing the Performance Co-Pilot configuration and environment file today and honestly? it's giving foundational. this is pcp.conf, from the File Formats Manual, and she is lowkey the backbone of the whole PCP situation. ๐
โจ NAME โจ
pcp.conf โ the Performance Co-Pilot configuration and environment file ๐ฆ
๐ธ SYNOPSIS ๐ธ
/etc/pcp.conf
๐ DESCRIPTION ๐
so here's the tea. when you're using Performance Co-Pilot (PCP) tools and utilities, and when you're calling PCP library functions, there's a whole standard set of environment variables that get defined in /etc/pcp.conf. iconic behaviour. โจ
these variables are generally there to specify the location of all the various PCP pieces in the file system, and they can get loaded into shell scripts by sourcing the /etc/pcp.env(5) shell script, and queried by C/C++ programs using the pmGetConfig(3) library function. versatile queen. ๐
but here's the important bit bestie: if a variable is already defined in the environment, the values inpcp.confdo not override those values. i.e. the values inpcp.confserve as installation defaults only. she's a fallback, not a fighter. ๐
both the pcp.env and pcp.conf files are expected to be found in /etc by default. if required, the pcp.conf file may be relocated and PCP_CONF set in the environment to specify the full path to the new location. but the pcp.env file can not be relocated โ this is the only hard coded path required by PCP. no moving her, she's planted. ๐ฑ
๐ the syntax rules for pcp.conf are as follows ๐
- the general syntax is
PCP_VARIABLE_NAME=variable value to end of line
- lines that begin with
#and all blank lines are ignored. (self-care lines, we love her ๐ง) - all variables must be prefixed with
PCP_. this is a security issue โ variables that do not have this prefix will be silently ignored. not a warning, not an error, just silence. ๐ - there should be no space between the variable name and the literal
=and no space between the=and the variable value (unless the value actually starts with a space). this is required because thepcp.conffile may be sourced directly by Makefiles as well as interpreted by thepcp.envscript and thepmGetConfigfunction. everybody's reading her, so she has to be legible to all of them. ๐ฅ - variable values may contain spaces and should not be quoted. the
pcp.envscript automatically quotes all variable values from the character immediately following the=through to the end of the line. she handles that for you, don't do it yourself. ๐
for further details and an explanation of the use of each variable, see the comments in the /etc/pcp.conf file itself. she's annotated, she's thorough, she ate. ๐
๐ ENVIRONMENT ๐
PCP_CONFโ specifies an alternative path to thepcp.conffile. โจ
๐ SEE ALSO ๐
PCPIntro(1), pmconfig(1), PCPIntro(3), PMAPI(3), pmGetConfig(3) and pcp.env(5).
and that's the whole vibe check bestie ๐ this has been the Performance Co-Pilot PCP page, PCP.CONF(5), mwah, go configure something gorgeous ๐ซถโจ
๐ฆ where this page comes from
- arch rolling: pcp 7.2.2-2 ยท GPL-2.0-or-later AND LGPL-2.1-or-later AND CC-BY-3.0
- centos-stream 10: pcp-doc 7.1.5-6.el10 ยท GPL-2.0-or-later AND CC-BY-3.0
- centos-stream 9: pcp-doc 6.3.7-14.el9 ยท GPL-2.0-or-later AND CC-BY-3.0
- debian trixie: pcp 6.3.8-1
- fedora 43: pcp-doc 7.0.1-1.fc43 ยท GPL-2.0-or-later AND CC-BY-3.0
- fedora 43: pcp-doc 7.2.1-1.fc43
- fedora 43: pcp-doc 7.2.2-1.fc43
- fedora 43: pcp-doc 7.2.2-2.fc43 ยท GPL-2.0-or-later AND CC-BY-3.0
- fedora 44: pcp-doc 7.1.0-6.fc44 ยท GPL-2.0-or-later AND CC-BY-3.0
- fedora 44: pcp-doc 7.2.1-1.fc44
- fedora 44: pcp-doc 7.2.2-1.fc44
- fedora 44: pcp-doc 7.2.2-2.fc44 ยท GPL-2.0-or-later AND CC-BY-3.0
- ubuntu questing: pcp 6.3.8-1
- ubuntu resolute: pcp 7.1.1-1
- ubuntu stonking: pcp 7.2.1-2build1
- Copyright (c) 2000-2004 Silicon Graphics, Inc. All Rights Reserved
- ๐ girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms