1PMLOGSIZE(1) General Commands Manual PMLOGSIZE(1)
2
3
4
6 pmlogsize - report sizes for parts of PCP archive(s)
7
9 pmlogsize [-drv] [-x thres] archive ...
10
12 pmlogsize prints information about the size of the index, metadata and
13 data sections of a Performance Co-Pilot (PCP) archive. The output is
14 intended to guide improvements in archive encoding format for PCP
15 developers and to help trim pmlogger(1) configuration files to remove
16 metrics that are bloating the PCP archives with low-value data in pro‐
17 duction environments.
18
19 The archive arguments can be any mixture of the names of the physical
20 files of a PCP archive or the basename that is common to all the compo‐
21 nent physical files in a single archive. In the latter case archive is
22 replaced by a list of all of the matching component file names.
23
24 Note the semantics is a little different to other PCP tools in that
25 foo.meta means just the file foo.meta, not foo.index, foo.meta, foo.0,
26 etc.
27
28 The -d flag requests more detailed reporting. This means space per
29 instance domain in a metadata file and space per metric (for values) in
30 a data file.
31
32 The -r flag requests additional information about possible replicated
33 values in the data file and replicated instances in the metadata file.
34 It implies -d.
35
36 When the -d (or -r) flag is specified, the -x flag may be used to cut
37 off the report after at least thres percent of the associated space
38 (metric values or instance domains) has been reported. The default be‐
39 haviour is equivalent to thres being set to 100.
40
41 Additional verbosity can be enabled with one or more -v flags.
42
44 PCPIntro(1), pmdumplog(1), pmlogcheck(1) and pmlogger(1).
45
47 All are generated on standard error and are intended to be self-
48 explanatory.
49
50
51
52Performance Co-Pilot PCP PMLOGSIZE(1)