1PMJSON(1)                   General Commands Manual                  PMJSON(1)
2
3
4

NAME

6       pmjson - Performance Co-Pilot JSON dumping utility
7

SYNOPSIS

9       pmjson [-mpqyV?]  [-i infile] [-o outfile]
10

DESCRIPTION

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

OPTIONS

18       The available command line options are:
19
20       -i infile, --in=infile
21            JSON formatted input infile - path to  a  file  from  which  input
22            should  be read.  If this option is omitted, then pmjson will read
23            from the standard input stream.
24
25       -m, --minimal
26            Produce JSON output with all superflous  whitespace  removed  from
27            the resulting JSON string.
28
29       -o outfile, --out=outfile
30            Formatted  output is written to the named outfile.  If this option
31            is omitted, then pmjson will write to the standard output stream.
32
33       -p, --pretty
34            Produce JSON output in a human-readable format.
35
36       -q, --quiet
37            Verify the input as valid JSON only, no output is produced.
38
39       -V, --version
40            Display version number and exit.
41
42       -y, --yaml
43            Produce YAML-like output, a human-readable format with  less  syn‐
44            tactic sugar than JSON.
45
46       -?, --help
47            Display usage message and exit.
48

PCP ENVIRONMENT

50       Environment variables with the prefix PCP_ are used to parameterize the
51       file and directory names used by PCP.  On each installation,  the  file
52       /etc/pcp.conf  contains  the  local  values  for  these variables.  The
53       $PCP_CONF variable may be used to specify an alternative  configuration
54       file, as described in pcp.conf(5).
55

SEE ALSO

57       PMWEBAPI(3), pcp.conf(5) and pcp.env(5).
58
59
60
61Performance Co-Pilot                  PCP                            PMJSON(1)
Impressum