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

NAME

6       pmdasimple - simple performance metrics domain agent (PMDA)
7

SYNOPSIS

9       $PCP_PMDAS_DIR/simple/pmdasimple  [-d  domain]  [-i  port] [-l logfile]
10       [-p] [-u socket]
11

DESCRIPTION

13       pmdasimple is a simple Performance Metrics Domain  Agent  (PMDA)  which
14       exports a small number of synthetic performance metrics.
15
16       The  simple PMDA is shipped as source code and is designed to be an aid
17       for PMDA developers.  In terms of code size and features,  it  is  more
18       complex  than  the  trivial  PMDA, about the same as the txmon PMDA and
19       less complex than the sample PMDA.  The source for the simple PMDA is a
20       good template from which production, customized PMDAs can be developed.
21
22       A brief description of the pmdasimple command line options follows:
23
24       -d   It  is absolutely crucial that the performance metrics domain num‐
25            ber specified here is unique  and  consistent.   That  is,  domain
26            should  be  different for every PMDA on the one host, and the same
27            domain number should be used for the same PMDA on all hosts.
28
29       -i   Expect PMCD to connect to pmdasimple on the specified TCP/IP port.
30            port may be a port number or port name.
31
32       -l   Location of the log file.  By default, a log file named simple.log
33            is written in the current directory of pmcd(1) when pmdasimple  is
34            started,  i.e.  $PCP_LOG_DIR/pmcd.  If the log file cannot be cre‐
35            ated or is not writable, output is written to the  standard  error
36            instead.
37
38       -p   Expect  PMCD  to create a pipe and the connection to pmdasimple is
39            via standard input and standard output.  This is the default  con‐
40            nection mode.
41
42       -u   Expect  PMCD  to  connect  to pmdasimple on the Unix domain socket
43            named socket.
44
45       At most one of the options -i, -p and -u may be specified.
46

INSTALLATION

48       If you want access the names, help text and values for the simple  per‐
49       formance metrics, do the following as root:
50
51            # cd $PCP_PMDAS_DIR/simple
52            # ./Install
53
54       If you want to undo the installation, do the following as root:
55
56            # cd $PCP_PMDAS_DIR/simple
57            # ./Remove
58
59       pmdasimple  is  launched  by  pmcd(1)  and  should  never  be  executed
60       directly.  The Install and Remove scripts notify pmcd(1) when the agent
61       is installed or removed.
62

FILES

64       $PCP_PMCDCONF_PATH
65                 command line options used to launch pmdasimple
66       $PCP_PMDAS_DIR/simple/help
67                 default help text file for the simple metrics
68       $PCP_PMDAS_DIR/simple/Install
69                 installation script for the pmdasimple agent
70       $PCP_PMDAS_DIR/simple/Remove
71                 undo installation script for the pmdasimple agent
72       $PCP_PMDAS_DIR/simple/simple.conf
73                 configuration  file  for  the  dynamic  instance  domain that
74                 underlies the simple.now performance metric.  For a  descrip‐
75                 tion, refer to the help text file, or run the command
76                 $ pminfo -T simple.now
77       $PCP_PMDAS_DIR/simple/*.pmda_simple.so
78                 The DSO version of the PMDA.  The same source is used to cre‐
79                 ate both the DSO and the daemon versions of the simple  PMDA,
80                 and  one  or the other may be installed as part of the dialog
81                 in the Install script.
82       $PCP_LOG_DIR/pmcd/simple.log
83                 default log file for error  messages  and  other  information
84                 from pmdasimple
85

PCP ENVIRONMENT

87       Environment variables with the prefix PCP_ are used to parameterize the
88       file and directory names used by PCP.  On each installation,  the  file
89       /etc/pcp.conf  contains  the  local  values  for  these variables.  The
90       $PCP_CONF variable may be used to specify an alternative  configuration
91       file, as described in pcp.conf(4).
92

SEE ALSO

94       PCPIntro(1),   pmcd(1),  pmdasample(1),  pmdatrivial(1),  pmdatxmon(1),
95       PMDA(3), pcp.conf(4) and pcp.env(4).
96
97
98
99Performance Co-Pilot                  SGI                        PMDASIMPLE(1)
Impressum