File: RecordMetricsOnLocalSystem.rst

package info (click to toggle)
pcp 7.0.5-1
  • links: PTS
  • area: main
  • in suites: forky, sid
  • size: 252,916 kB
  • sloc: ansic: 1,478,844; sh: 177,285; xml: 160,462; cpp: 83,809; python: 24,349; perl: 18,303; yacc: 6,877; lex: 2,864; makefile: 2,694; awk: 165; fortran: 60; java: 52
file content (46 lines) | stat: -rw-r--r-- 1,114 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
.. _RecordMetricsOnLocalSystem:

Record metrics on my local system
#############################################

1. Start pmcd and pmlogger:

.. code-block:: bash

   chkconfig pmcd on
   chkconfig pmlogger on

   ${PCP_RC_DIR}/pmcd start
   Starting pmcd ...
   
   ${PCP_RC_DIR}/pmlogger start
   Starting pmlogger ...

2. Verify that the primary pmlogger instance is running:

.. code-block:: bash

   pcp

   Performance Co-Pilot configuration:

   platform: Linux pluto 3.10.0-0.rc7.64.el7.x86_64 #1 SMP
   hardware: 8 cpus, 2 disks, 23960MB RAM
   timezone: EST-10
      pmcd: Version 4.0.0-1, 8 agents
      pmda: pmcd proc xfs linux mmv infiniband gluster elasticsearch
      pmlogger: primary logger: pluto/20170815.10.00
      pmie: pluto: ${PCP_LOG_DIR}/pmie/pluto/pmie.log
            venus: ${PCP_LOG_DIR}/pmie/venus/pmie.log

3. Verify that the archive files are being created in the expected place:

.. code-block:: bash

   ls ${PCP_LOG_DIR}/pmlogger/pluto

   20170815.10.00.0
   20170815.10.00.index
   20170815.10.00.meta
   Latest
   pmlogger.log