1PCP.ENV(5) File Formats Manual PCP.ENV(5)
2
3
4
6 pcp.env - script to set Performance Co-Pilot run-time environment vari‐
7 ables
8
10 /etc/pcp.env
11
13 The pcp.env script is sourced by assorted Performance Co-Pilot (PCP)
14 scripts and utilities to define the PCP operating environment vari‐
15 ables. The conjugate for executable programs using the PCP libraries
16 is the __pmGetConfig(3) function.
17
18 Typical usage of pcp.env in a script is as follows :
19
20 #! /bin/sh
21
22 # source the PCP environment variables
23 . /etc/pcp.env
24 rest of script ...
25
26
27 The full syntax and semantics of the pcp.conf file and the __pmGetCon‐
28 fig function are described in their respective reference pages.
29
31 The PCP_CONF environment variable specifies an alternative path to the
32 pcp.conf file.
33
35 PCPIntro(1), PCPIntro(3), PMAPI(3), __pmGetConfig(3) and pcp.conf(5).
36
37
38
39Performance Co-Pilot PCP PCP.ENV(5)