1PMDADENKI(1) General Commands Manual PMDADENKI(1)
2
3
4
6 pmdadenki - metrics related to the systems electrical consumption
7
9 $PCP_PMDAS_DIR/denki/pmdadenki [-d domain] [-l logfile]
10
12 pmdadenki is a Performance Metrics Domain Agent (PMDA) which extracts
13 electricity related performance metrics.
14
15 Currently, metrics from RAPL (on Intel cpus) and battery charge values
16 are available, if supported by the hardware.
17
18 -l Location of the log file. By default, a log file named denki.log is
19 written in the current directory of pmcd(1) when pmdadenki is started,
20 i.e. $PCP_LOG_DIR/pmcd. If the log file cannot be created or is not
21 writable, output is written to the standard error instead.
22
24 The denki PMDA is installed and available by default on Linux. If you
25 want to undo the installation, do the following as root:
26
27 # cd $PCP_PMDAS_DIR/denki
28 # ./Remove
29
30 If you want to establish access to the names, help text and values for
31 the denki metrics once more, after removal, do the following as root:
32
33 # cd $PCP_PMDAS_DIR/denki
34 # ./Install
35
36 pmdadenki is launched by pmcd(1) and should never be executed directly.
37 The Install and Remove scripts notify pmcd(1) when the agent is in‐
38 stalled or removed.
39
41 $PCP_PMCDCONF_PATH
42 command line options used to launch pmdadenki
43 $PCP_PMDAS_DIR/denki/help
44 default help text file for the denki metrics
45 $PCP_PMDAS_DIR/denki/Install
46 installation script for the pmdadenki agent
47 $PCP_PMDAS_DIR/denki/Remove
48 undo installation script for the pmdadenki agent
49 $PCP_LOG_DIR/pmcd/denki.log
50 default log file for error messages and other information
51 from pmdadenki
52
54 Environment variables with the prefix PCP_ are used to parameterize the
55 file and directory names used by PCP. On each installation, the file
56 /etc/pcp.conf contains the local values for these variables. The
57 $PCP_CONF variable may be used to specify an alternative configuration
58 file, as described in pcp.conf(5).
59
61 PCPIntro(1), pmcd(1), denki/READMEfile pcp.conf(5) and pcp.env(5).
62
63
64
65Performance Co-Pilot PCP PMDADENKI(1)