and **pmcd**.
    
           **PMCD_PORT**
                  For the PCP monitoring client this (or the default port
                  number) is passed to **pmproxy** and used to connect to **pmcd**.
                  In the environment of **pmproxy PMCD_PORT is not used.**
    
           **PMPROXY_HOST**
                  For the PCP monitoring client this is the hostname or IP
                  address of the host where **pmproxy** is running.  In recent
                  versions of PCP (since version 3) this has been superseded
                  by the extended hostname syntax (see [PCPIntro(1)](../man1/PCPIntro.1.html) for
                  details).
    
           **PMPROXY_PORT**
                  For the PCP monitoring client this is the port on which
                  **pmproxy** will accept connections.  The default is 44322, as
                  well as 44323 with **timeseries** enabled.
    
           **PMCD_CONNECT_TIMEOUT** , **PMCD_RECONNECT_TIMEOUT** and
           **PMCD_REQUEST_TIMEOUT**
                  (see [PCPIntro(1)](../man1/PCPIntro.1.html)) For the PCP monitoring client, setting
                  these environment variables will modify the timeouts used
                  for interactions between the client and **pmproxy**
                  (independent of which **pmcd** is being used).  For **pmproxy**
                  these same environment variables control the timeouts
                  between **pmproxy** and all [pmcd(1)](../man1/pmcd.1.html) instances (independent of
                  which monitoring client is involved).
    
           If set to the value 1, the **PMPROXY_LOCAL** environment variable
           will cause **pmproxy** to run in a localhost-only mode of operation,
           where it binds only to the loopback interface.
    
           The **PMPROXY_MAXPENDING** variable can be set to indicate the
           maximum length to which the queue of pending client connections
           may grow.
    

##  PCP ENVIRONMENT  top

    
    
           Environment variables with the prefix **PCP_** are used to
           parameterize the file and directory names used by PCP.  On each
           installation, the file _/etc/pcp.conf_ contains the local values
           for these variables.  The **$PCP_CONF** variable may be used to
           specify an alternative configuration file, as described in
           [pcp.conf(5)](../man5/pcp.conf.5.html).
    
           For environment variables affecting PCP tools, see
           [pmGetOptions(3)](../man3/pmGetOptions.3.html).
    

##  SEE ALSO  top

    
    
           [PCPIntro(1)](../man1/PCPIntro.1.html), [pmcd(1)](../man1/pmcd.1.html), [pmdbg(1)](../man1/pmdbg.1.html), [pmlogger(1)](../man1/pmlogger.1.html), [pmseries(1)](../man1/pmseries.1.html),
           **redis-server**(1), [PMAPI(3)](../man3/PMAPI.3.html), [PMWEBAPI(3)](../man3/PMWEBAPI.3.html), [pmGetOptions(3)](../man3/pmGetOptions.3.html),
           [pcp.conf(5)](../man5/pcp.conf.5.html) and [pcp.env(5)](../man5/pcp.env.5.html).
    

##  COLOPHON  top

    
    
           This page is part of the _PCP_ (Performance Co-Pilot) project.
           Information about the project can be found at 
           â¨<http://www.pcp.io/>â©.  If you have a bug report for this manual
           page, send it to pcp@groups.io.  This page was obtained from the
           project's upstream Git repository
           â¨<https://github.com/performancecopilot/pcp.git>â© on 2023-12-22.
           (At that time, the date of the most recent commit that was found
           in the repository was 2023-12-16.)  If you discover any rendering
           problems in this HTML version of the page, or you believe there
           is a better or more up-to-date source for the page, or you have
           corrections or improvements to the information in this COLOPHON
           (which is _not_ part of the original manual page), send a mail to
           man-pages@man7.org
    
    Performance