1PMDAROOT(1)                 General Commands Manual                PMDAROOT(1)
2
3
4

NAME

6       pmdaroot - a privileged PMCD helper performance metrics domain agent
7

SYNOPSIS

9       $PCP_PMDAS_DIR/root/pmdaroot [-d domain] [-l logfile] [-s sockname]
10

DESCRIPTION

12       pmdaroot  is  a  special  Performance Metrics Domain Agent (PMDA) which
13       cooperates closely with pmcd(1) and  other  PMDAs  to  provide  limited
14       privileged services to these unprivileged processes.
15
16       In this role it is used to discover operating system containers running
17       on the local host.  It also enables access  to  performance  data  from
18       within  those containers by other PMDAs running on the bare-metal host,
19       using the pmdaRootConnect(3) and the associated namespace interfaces.
20
21       Like all other PMDAs, it also  exports  performance  metrics  from  the
22       domain  it  controls.   Currently, this is limited to information about
23       the containers on the local system, and currently only Docker  contain‐
24       ers can be detected.
25
26       -d   It  is absolutely crucial that the performance metrics domain num‐
27            ber specified here is unique  and  consistent.   That  is,  domain
28            should  be  different for every PMDA on the one host, and the same
29            domain number should be used for the same PMDA on all hosts.
30
31       -l   Location of the log file.  By default, a log file  named  root.log
32            is  written  in  the current directory of pmcd(1) when pmdaroot is
33            started, i.e.  $PCP_LOG_DIR/pmcd.  If the log file cannot be  cre‐
34            ated  or  is not writable, output is written to the standard error
35            instead.
36
37       -s   Location of the  unix(7)  domain  socket  for  communication  with
38            clients  seeking privileged operations.  By default, a socket file
39            named $PCP_TMP_DIR/pmcd/root.socket is used.
40

INSTALLATION

42       Access to the names, help text and values for  the  kernel  performance
43       metrics  is  available by default - unlike most other agents, no action
44       is required to enable them and they should not be removed.
45

FILES

47       $PCP_PMDAS_DIR/root/help
48                 default help text file for metrics exported by the root PMDA.
49       $PCP_LOG_DIR/pmcd/root.log
50                 default log file for error  messages  and  other  information
51                 from the root PMDA.
52       $PCP_TMP_DIR/pmcd/root.socket
53                 default socket file for communication with root PMDA clients.
54

PCP ENVIRONMENT

56       Environment variables with the prefix PCP_ are used to parameterize the
57       file and directory names used by PCP.  On each installation,  the  file
58       /etc/pcp.conf  contains  the  local  values  for  these variables.  The
59       $PCP_CONF variable may be used to specify an alternative  configuration
60       file, as described in pcp.conf(5).
61

SEE ALSO

63       PCPIntro(1),  pmcd(1),  PMDA(3),  pmdaRootConnect(3),  pcp.conf(5)  and
64       unix(7).
65
66
67
68Performance Co-Pilot                  PCP                          PMDAROOT(1)
Impressum