1PMDUMPLOG(1) General Commands Manual PMDUMPLOG(1)
2
3
4
6 pmdumplog - dump internal details of a performance metrics archive log
7
9 pmdumplog [-adiLlmrstz] [-n pmnsfile] [-S starttime] [-T endtime] [-Z
10 timezone] archive [metricname ...]
11 pmdumplog [-v file]
12
14 pmdumplog dumps assorted control, metadata, index and state information
15 from the files of a Performance Co-Pilot (PCP) archive log. The ar‐
16 chive log has the base name archive and must have been previously cre‐
17 ated using pmlogger(1).
18
19 Normally pmdumplog operates on the distributed Performance Metrics Name
20 Space (PMNS), however if the -n option is specified an alternative
21 local PMNS is loaded from the file pmnsfile.
22
23 If any metricname arguments appear, the report will be restricted to
24 information relevant to the named performance metrics. If metricname
25 is a non-leaf node in the namespace (see pmns(4)), then pmdumplog will
26 recursively descend the archive's namespace and report on all leaf
27 nodes.
28
29 The options control the specific information to be reported.
30
31 -a Report everything, i.e. the flags -d, -i, -l, -m, -s and -t.
32
33 -d Display the metadata and descriptions for those performance met‐
34 rics that appear at least once in the archive: see pmLookupDesc(3)
35 for more details on the metadata describing metrics.
36
37 -i Display the instance domains, and any variations in their instance
38 members over the duration of the archive: see pmGetInDom(3) for
39 more details on instance domains.
40
41 -l Dump the archive label, showing the log format version, the time
42 and date for the start and (current) end of the archive, and the
43 host from which the performance metrics values were collected.
44
45 -L Like -l, just a little more verbose.
46
47 -m Print the values for the performance metrics from the archive.
48 This is the default display option.
49
50 Metrics without an instance domain are reported as:
51 [timestamp] metric-id (metric-name): value value
52
53 Metrics with an instance domain are reported as:
54 [timestamp] metric-id (metric-name):
55 inst [internal-id or "external-id"] value value
56
57 The timestamp is only reported for the first metric in a group of
58 metrics sharing the same timestamp.
59
60 -r Process the archive in reverse order, from most recent to oldest
61 recorded metric values.
62
63 -S When using the -m option, the report will be restricted to those
64 records logged at or after starttime. Refer to PCPIntro(1) for a
65 complete description of the syntax for starttime.
66
67 -s Report the size in bytes of each physical record in the archive.
68
69 -T When using the -m option, the report will be restricted to those
70 records logged before or at endtime. Refer to PCPIntro(1) for a
71 complete description of the syntax for endtime.
72
73 -t Dump the temporal index that is used to provide accelerated access
74 to large archive files.
75
76 The integrity of the index will also be checked. If the index is
77 found to be corrupted, the ``*.index'' file can be renamed or
78 removed and the archive will still be accessible, however
79 retrievals may take longer without the index. Note however that a
80 corrupted temporal index is usually indicative of a deeper malaise
81 that may infect all files in a PCP archive.
82
83 -v Verbose mode. Dump the records from a physical archive file in
84 hexadecimal format. In this case file is the name of a single
85 file, usually a basename (as would otherwise appear as the archive
86 command line argument), concatenated with ``.'' followed by one of
87 meta (the metadata), index (the temporal index), or a digit (one
88 of the volumes of metric values).
89
90 Use of -v precludes the use of all other options and arguments.
91
92 By default, pmdumplog reports the time of day according to the local
93 timezone on the system where pmdumplog is run. The -Z option changes
94 the timezone to timezone in the format of the environment variable TZ
95 as described in environ(5). The -z option changes the timezone to the
96 local timezone at the host that is the source of the performance met‐
97 rics, as specified in the label record of the archive log.
98
100 $PCP_VAR_DIR/pmns/*
101 default local PMNS specification files
102 $PCP_LOG_DIR/pmlogger/hostname
103 Default directory for PCP archives containing performance
104 metric values collected from the host hostname.
105
107 Environment variables with the prefix PCP_ are used to parameterize the
108 file and directory names used by PCP. On each installation, the file
109 /etc/pcp.conf contains the local values for these variables. The
110 $PCP_CONF variable may be used to specify an alternative configuration
111 file, as described in pcp.conf(4).
112
114 PCPIntro(1), pmlogcheck(1), pmlogger(1), pmlogger_check(1), pmlog‐
115 ger_daily(1), pmloglabel(1), pmlogmerge(1), PMAPI(3), pmGetInDom(3),
116 pmLookupDesc(3), pcp.conf(4), pcp.env(4) and pmns(4).
117
118
119
120Performance Co-Pilot SGI PMDUMPLOG(1)