SIMPLE SOLUTIONS

PCP.ENV(5) - Linux man page online | File formats

Script to set Performance Co-Pilot run-time environment variables.

Chapter
PCP
PCP.ENV(5) File Formats Manual PCP.ENV(5)

NAME

pcp.env - script to set Performance Co-Pilot run-time environment variables

SYNOPSIS

/etc/pcp.env

DESCRIPTION

The pcp.env script is sourced by assorted Performance Co-Pilot (PCP) scripts and utilities to define the PCP operating environment variables. The conjugate for executable programs using the PCP libraries is the __pmGetConfig(3) function. Typical usage of pcp.env in a script is as follows : #! /bin/sh # source the PCP environment variables . /etc/pcp.env rest of script ... The full syntax and semantics of the pcp.conf file and the __pmGetConfig function are described in their respective reference pages. If the file $HOME/.pcp/pcp.conf exists then this will be processed after the system-wide pcp.conf file. This provides a mechanism to selectively modify or augment the environment settings for PCP scripts, which maybe useful if the scripts are run with sudo(1) which cleans the environment of important settings that are required to ensure the correct exe‐ cution of the PCP scripts, e.g. $PATH or $PERL5LIB.

ENVIRONMENT

The PCP_CONF environment variable specifies an alternative path to the pcp.conf file.

SEE ALSO

PCPIntro(1), sudo(1), PCPIntro(3), PMAPI(3), __pmGetConfig(3) and pcp.conf(5).
Performance Co-Pilot PCP PCP.ENV(5)
This manual Reference Other manuals
pcp.env(5) referred by chkhelp(1) | collectl2pcp(1) | dbpmda(1) | genpmda(1) | LOGARCHIVE(5) | mkaf(1) | mmv(5) | newhelp(1) | pcp(1) | pcp-iostat(1) | pcp-kube-pods(1) | pcp-tapestat(1) | pcp-vmstat(1) | pcp.conf(5) | PCPIntro(1) | PCPIntro(3) | pmafm(1) | PMAPI(3) | pmcd(1) | pmcd_wait(1)
refer to pcp.conf(5) | PCPIntro(1) | PCPIntro(3) | PMAPI(3)
Download raw manual
Main page File Formats Manual (+542) Performance Co-Pilot (+505) № 5 (+2141)
Go top