PCP2JSON(1) General Commands Manual PCP2JSON(1) (NAME) pcp2json - PCP JSON (SYNOPSIS) pcp2json [-5CEGHIjLmnrRvVxXz?] [-4 action] [-8|-9 limit] [-a archive] [-A align] [--archive-folio folio] [-b|-B space-scale] [-c config] [--container container] [-D debug] [--daemonize] [-e derived] [-f format] [-F outfile] [-h host] [-i instances] [-J rank] [-K spec] [-N predicate] [-o timeout] [-O origin] [-p password] [-P|-0 precision] [-q|-Q count-scale] [-s samples] [-S starttime] [-t interval] [-T endtime] [-u url] [-U username] [-y|-Y time-scale] [-Z timezone] metricspec [...] (DESCRIPTION) pcp2json PCP JSON . / . pcp2json pmrep(1) . metricspec pcp2json pmrep(1) . pcp2json.conf pmrep.conf(5) . pcp2json pmrep.conf(5) . pmrep(1) pcp2json . pmrep(1) . ( pmGetOptions(3)) ( ) . ( ) . ( ) ..SH " (CONFIGURATION FILE)" pcp2json pmrep.conf(5) . pmrep.conf : version source speclocal derived header globals samples interval type type_prefer ignore_incompat names_change instances live_filter rank limit_filter limit_filter_force invert_filter predicate omit_flat include_labels precision precision_force count_scale count_scale_force space_scale space_scale_force time_scale time_scale_force. pmrep.conf . pcp2json extended () (metrics) . -x . no . everything () PCP . . include_labels . -X . no . exact_types () . -E . no . url () JSON HTTP POST url . -u . None . http_pass () (Basic Authentication) HTTP POST . -p . None . http_user () (Basic Authentication) HTTP POST . -U . None . http_timeout () ( ) HTTP POST. -o . 2.5 . : -0 precision, --precision-force=precision -P . -4 action, --names-change=action action () . PMDA pcp2json . action update ( ) ignore ( - ) abort ( ). -5, --ignore-unknown . . -8 limit, --limit-filter=limit / limit. . . . . : -J -N. -9 limit, --limit-filter-force=limit -8 . -a archive, --archive=archive Performance Co- Pilot (PCP) archive . -A align, --align=align align. align PCPIntro(1) . --archive-folio=folio folio PCP pmchart(1) mkaf(1). -b scale, --space-scale=scale / () bytes Kbytes KB Mbytes MB . . : pmParseUnitsStr(3). -B scale, --space-scale-force=scale -b . -c config, --config=config config . config .conf . : ./pcp2json.conf $HOME/.pcp2json.conf $HOME/pcp/pcp2json.conf $PCP_SYSCONF_DIR/pcp2json.conf. pmrep.conf(5) . --container=container container ( -h). -C, --check . --daemonize (daemonize) . -e derived, --derived=derived derived . derived (``/'') (``.'') PCP . PCP : pmLoadDerivedConfig(3) pmRegisterDerived(3). pmrep.conf(5) (metricsets) . . -Dderive . -E, --exact-types . -f format, --timestamp-format=format format . datetime.strftime strftime(3) . %Y-%m-%d %H:%M:%S . -F outfile, --output-file=outfile outfile. -G, --no-globals (global) ( pmrep.conf(5)). -h host, --host=host pmcd(1) host localhost . -H, --no-header . -i instances, --instances=instances (instances) instances. . pmrep(1) . -I, --ignore-incompat . ( ) pcp2json . . PMNS . -j, --live-filter . ( ). . -n. -J rank, --rank=rank / rank . . . . -6. -8. -K spec, --spec-local=spec ( -L) -K DSO PMDA . spec pmSpecLocalPMDA(3) . -K . -L, --local-PMDA DSO PMDA PMCD. -K. -n, --invert-filter . ( -j) ( -J) . . -m, --include-labels PCP . -N predicate, --predicate=predicate predicate . ( -J) . (predicates) . ( PCPIntro(1)) / . -6. proc.memory.rss ( ) predicate proc.io.total_bytes mem.util.used / ( -J) . mem.util.used ( ) . -o, --http-timeout ( ) HTTP POST -u. 2.5 . -O origin, --origin=origin origin ( -S -T). origin PCPIntro(1) . -p, --http-pass HTTP -u. -P precision, --precision=precision precision . ( ). . -q scale, --count-scale=scale / count x 10^-1 count count x 10 count x 10^2 10^-8 10^7. ( .) . pmParseUnitsStr(3). -Q scale, --count-scale-force=scale -q . -r, --raw (rate) . . -R, --raw-prefer -r . -s samples, --samples=samples samples . samples -s pcp2json ( ) PCP ( ) . -T. -S starttime, --start=starttime starttime . starttime PCPIntro(1) ..TP -t interval, --interval=interval interval ( ) . interval PCPIntro(1) ( ). -T . -T endtime, --finish=endtime endtime . endtime PCPIntro(1) . pcp2json samples ( -s ) interval ( -t ). samples interval samples . -T -s -t endtime pcp2json . -u, --url URL HTTP POST ( ). -U, --http-user HTTP -u. -v, --omit-flat (set-valued) ( disk.dev.read) <<>> ( kernel.all.sysfork) . -i -I . -V, --version . -x, --with-extended . -X, --with-everything PCP. -m . -y scale, --time-scale=scale / nanosec ns microsec us millisec ms hour hr . . pmParseUnitsStr(3) . -Y scale, --time-scale-force=scale -y . -z, --hostzone -h -a . . -Z timezone, --timezone=timezone timezone . timezone TZ environ(7) . UTC ISO 8601 ( -Z EST+5 UTC-5 ). -?, --help ..SH " (FILES)" pcp2json.conf pcp2json ( -c ) $PCP_SYSCONF_DIR/pmrep/*.conf pmrep PCP (PCP ENVIRONMENT) PCP_ PCP . /etc/pcp.conf . $PCP_CONF pcp.conf(5) . PCP pmGetOptions(3) . PCP_DISCRETE_ONCE . (DEBUGGING OPTIONS) -D --debug stderr . debug pmdbg(1) -l . (SEE ALSO) PCPIntro(1) mkaf(1) pcp(1) pcp2elasticsearch(1) pcp2graphite(1) pcp2influxdb(1) pcp2spark(1) pcp2xlsx(1) pcp2xml(1) pcp2zabbix(1) pmcd(1) pminfo(1) pmrep(1) pmGetOptions(3) pmLoadDerivedConfig(3) pmParseUnitsStr(3) pmRegisterDerived(3) pmSpecLocalPMDA(3) LOGARCHIVE(5) pcp.conf(5) pmrep.conf(5) PMNS(5) environ(7). Performance Co-Pilot PCP PCP2JSON(1)