1PMJSON(1) General Commands Manual PMJSON(1)
2
3
4
6 pmjson - Performance Co-Pilot JSON dumping utility
7
9 pmjson [-mpqy] [-i|--in FILE] [-o|--out FILE]
10
12 pmjson is used to manipulate JSON (JavaScript Object Notation) format‐
13 ted text used in the Performance Co-Pilot (PCP toolkit). It can pro‐
14 duce minimal and human readable output formats when it is supplied with
15 valid JSON input.
16
17 The available command line options are as follows:
18
19 -i|--in FILE
20 JSON formatted input FILE - path to a file from which input should
21 be read. If this option is omitted, then pmjson will read from
22 the standard input stream.
23
24 -o|--out FILE
25 Formatted output is written to the named FILE. If this option is
26 omitted, then pmjson will write to the standard output stream.
27
28 -m|--minimal
29 Produce JSON output with all superflous whitespace removed from
30 the resulting JSON string.
31
32 -p|--pretty
33 Produce JSON output in a human-readable format.
34
35 -q|--quiet
36 Verify the input as valid JSON only, no output is produced.
37
38 -y|--yaml
39 Produce YAML-like output, a human-readable format with less syn‐
40 tactic sugar than JSON.
41
43 Environment variables with the prefix PCP_ are used to parameterize the
44 file and directory names used by PCP. On each installation, the file
45 /etc/pcp.conf contains the local values for these variables. The
46 $PCP_CONF variable may be used to specify an alternative configuration
47 file, as described in pcp.conf(5).
48
50 PMWEBAPI(3), pcp.conf(5) and pcp.env(5).
51
52
53
54Performance Co-Pilot PCP PMJSON(1)