PCP2OPENMETRICS(1) General Commands Manual PCP2OPENMETRICS(1) (NAME) pcp2openmetrics - PCP OpenMetrics (SYNOPSIS) pcp2openmetrics [-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) pcp2openmetrics PCP Open Metrics - https://openmetrics.io - . / . pcp2openmetrics pmrep(1) . metricspec pcp2openmetrics pmrep(1) . pcp2openmetrics.conf pmrep.conf(5) . pcp2openmetrics pmrep.conf(5) . pmrep(1) pcp2openmetrics . pmrep(1) . ( pmGetOptions(3)) ( ) . ( ) . ( ) ..SH " (CONFIGURATION FILE)" pcp2openmetrics 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 . pcp2openmetrics everything (boolean) PCP. . include_labels . -X . no . exact_types (boolean) . -E . no . url (string) OPENMETRICS HTTP POST url . -u . None . http_pass (string) (Basic Authentication) HTTP POST. -p . None . http_user (string) (Basic Authentication) HTTP POST. -U . None . http_timeout (number) ( ) HTTP POST. -o . 2.5 . no-comment (boolean) # PCP5. type instance domain semantics . -x . no . : -0 precision, --precision-force=precision -P . -4 action, --names-change=action action () . PMDA pcp2openmetrics . 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 PCP archive folio 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 . : ./pcp2openmetrics.conf $HOME/.pcp2openmetrics.conf $HOME/pcp/pcp2openmetrics.conf $PCP_SYSCONF_DIR/pcp2openmetrics.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 ( pmrep.conf(5)). -h host, --host=host pmcd(1) host localhost . -i instances, --instances=instances instances . . pmrep(1) . -I, --ignore-incompat . ( ) pcp2openmetrics . . PMNS . -j, --live-filter (instances). ( ). . : -n. -J rank, --rank=rank / rank (set-valued). . . . : -6. : -8. -K spec, --spec-local=spec (: -L) -K PMDA DSO . spec pmSpecLocalPMDA(3) . -K . -l, --times . . -L, --local-PMDA PMDA DSO PMCD. : -K. -n, --invert-filter . ( : -j) ( : -J) . . -m, --include-labels PCP . -N predicate, --predicate=predicate predicate . (: -J) . (predicates) . instance domain ( : 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 (basic authentication) -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 pcp2openmetrics ( ) 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) . pcp2openmetrics samples ( -s) interval ( -t). samples interval samples . -T -s -t endtime pcp2openmetrics . -u, --url URL HTTP POST ( ). -U, --http-user HTTP (basic authentication) -u. -v, --omit-flat (set-valued) ( disk.dev.read) <<>> (flat) ( kernel.all.sysfork). -i -I . -V, --version . -x, --no-comment # PCP5 -X, --with-everything PCP. (labels) -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)" pcp2openmetrics.conf pcp2openmetrics ( -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), pcp2json(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 PCP2OPENMETRICS(1)