PCPINTRO(1) General Commands Manual PCPINTRO(1) (NAME) PCPIntro - Performance Co-Pilot (PCP) (INTRODUCTION) Performance Co-Pilot (PCP) . . PCP ( ) Linux macOS Solaris Windows . PCP : PCP Collectors PCP . PCP Monitors PCP ( ) PCP Collector . PCP ( ) PCP GUI . PCP . (OVERVIEW) PCP PCP . ( ) << >> (PMDA) . PMDA (pmcd(1)) . ( ) pmcd(1) PMDA . PCP ( pmlogger(1)) . PCP . . PMCD . PMCD . PMCD . . ( ) ACL pmcd.conf PMDA PMCD . PMDA ..SS " (Applications)" PCP . . pmstat ASCII . pmie - . pminfo . pmlogger PCP PCP . pmrep . pmval VCR. PCP ( PCP GUI) . pmchart . pmtime ( pmchart pmval). pmdumptext ASCII . (COMMON COMMAND LINE ARGUMENTS) PCP . -a archive, --archive=archive Performance Co-Pilot (PCP) archive pmlogger(1) . LOGIMPORT(3) LOGARCHIVE(5) . archive pmlogger(1) /path/to/myarchives () myarchive ( ) myarchive.meta ( ) myarchive.index ( ) myarchive.0 ( archive) myarchive.0.bz2 myarchive.0.bz ( bzip2(1)) myarchive.0.gz myarchive.0.Z myarchive.0.z ( gzip(1)) myarchive.1 myarchive.3.bz2 myarchive.42.gz . -h host, --host=host (PMCD) -h ( --host) -a ( --archive) . host PMCD HOST SPECIFICATION . -a ( --archive) -h ( --host) . -s samples, --samples=samples samples . samples 0 -s ( --samples) ( ) PCP ( ) . -z, --hostzone ( -h ( --host) -a ( --archive)) . -Z timezone, --timezone=timezone . -Z ( --timezone) timezone TZ environ(7) . -D debugspec, --debug=debugspec PCP debugspec PCP . debugspec () / pmdbg(1) . (heuristic) -O ( --origin) . $PCP_LOG_DIR/pmlogger/`hostname` . (TIME WINDOW SPECIFICATION) -O today --origin yesterday . (INTERVAL SPECIFICATION AND ALIGNMENT) PCP -t ( --interval) -A ( --align) . -t interval, --interval=interval . interval : number[units] number ( strtod(3) ) units : seconds, second, secs, sec, s, minutes, minute, mins, min, m, hours, hour, h, days, day d. unit second . ( ) . interval 4 days 6 hours 30 minutes, 4day6hour30min, 4d6h30m 4d6.5h . ``1hour 15mins 30secs'' ++ . -A align, --align=align . -A --align . -A 1sec, -A 30min --align 1hour . align interval -t --interval . -A ( --align) ( ) ( -O --origin ) . PCP (real-time) PCP. -O ( --origin) -A ( --align) ( ) PCP . : -S starttime, --start=starttime PCP . -S --start . starttime (interval -t --interval datetime ): interval ( ) PCP ( ) . -S 30min PCP . -interval PCP interval . . -S -1hour PCP . @datetime ( ) datetime @ . datetime . -T endtime, --finish=endtime ( ) PCP ( ). -T --finish . endtime (interval -t --interval datetime ): interval . -T 2h30m . -interval PCP interval . -T -90m PCP . @datetime ( ) datetime @ . datetime . -O origin, --origin=origin ( -S --start ) ( -T --finish ) . -O --origin . PCP VCR pmtime(1) . origin -O ( --origin) starttime -T ( --finish) . --origin -0 << >> . datetime -O ( --origin) -S ( --start) -T ( --finish) : date time zone day relative date : YY-MM-DD MM/DD/YY DD Month YYYY Month DD YYYY. time : HH:MM:SS HH:MM. HH:MM ( am pm) . day second Tuesday . zone tzselect(8) . (relative time) : 1 year 2 months this last ago . : yesterday today tomorrow now. datetime : 1996-03-04 13:07:47 EST Mon, 1996-03-05 14:07:47 EST -1hour, Mon Mar 4 13:07:47 1996, Mar 4 1996, Mar 4, Mar, 13:07:50 13:08..PP 0 1 Jan . : --start '@ Mar 1996' --start '@ Mar 1 00:00:00 1996'. ( real-time) PCP ( archive) . "Mon Mar 4 13:07:47 1996" --start @13:10 13:10:00 Mon Mar 4, 1996 --start @10:00 10:00:00 Tue Mar 5, 1996 ( ). datetime(3) . datetime . PCP . -Z --timezone -z --hostzone . - (PERFORMANCE METRICS - IDENTIFIERS, NAMES, VALUES) PCP . PCP . PMID . PMID PMID . PMID ( ). (PMNS) . PMNS PMID ( ) PMNS ( ) . "_" () . . PMNS "." . PMNS PMNS kernel.percpu.syscall. ( ) PMNS PMID . kernel.all.cpu.idle disk.dev.read PMID . PMID PMNS disk. PMNS pmcd $PCP_VAR_DIR/pmns/root PMNS_DEFAULT PMNS PMNS . PMNS PMNS pmcd(1) PCP . PMNS pminfo(1) PCP New Chart Metric Search pmchart(1). . . () . (instances) . CPU . PMNS . (instance domain) . "per CPU" 0 1 2 3 . PCP . . proc . PCP . . . . " CPU" . (compound instance) ( "87245::cpu7" CPU ) (flattened) . ( "{"pid":87245,"cpu":7}" )..SH " (PERFORMANCE METRIC SPECIFICATIONS)" ( ) . . (real-time) pmcd(1) : host:metric[instance1,instance2,...] PCP : archive/metric[instance1,instance2,...] host: archive/ [instance1,instance2,...] . , (instance) . instance (backslash) (escape) . instance . instance ``[]'' instance ``[one,,,two]'' ``one'' ``two'' . host ``@'' PM_CONTEXT_LOCAL pmNewContext(3). PMCD (SECURE PMCD CONNECTIONS) 3.6.11 PCP PM_CTXFLAG_SECURE pmcd(1) pmproxy(1) . PCP -- pmcd.feature.secure -- TLS/SSL ( ) . ( ) (man-in-the- middle) . pmcd . pmcd pmproxy OpenSSL . openssl(1) PCP . PCP (PCP ENVIRONMENT) (FILES) (SEE ALSO) . ..SH " PMCD (PMCD HOST SPECIFICATION)" . PCP 3.8.4 - (Unix domain socket) . ( unix: ) . pmcd(1) PMDA . pmcd(1) . pmcd . pmcd . 3.0 PCP pmcd pmproxy(1) . PMCD_PORT PMPROXY_HOST PMPROXY_PORT . pmcd nas1.acme.com pmproxy(1) IPv6 IPv4 . $ pcp --host nas1.acme.com:44321,4321@firewall.acme.com:44322 $ pcp --host nas1.acme.com:44321@firewall.acme.com:44322 $ pcp --host nas1.acme.com:44321@firewall.acme.com $ pcp --host nas1.acme.com@firewall.acme.com $ pcp --host nas1.acme.com:44321 $ pcp --host [fe80::2ad2:44ff:fe88:e4f1%p2p1] $ pcp --host 192.168.0.103 << >> . ( ) () () . . . $ pcp --host pcps://app2.acme.com?container=cae8e6edc0d5 $ pcp --host pcps://nas1.acme.com:44321?username=tanya&method=gssapi $ pcp --host pcps://nas2.acme.com@firewalls.r.us?method=plain $ pcp --host pcp://nas3.acme.com $ pcp --host 192.168.0.103?container=cae8e6edc0d5,method=scram-sha-256 $ pcp --host unix: $ pcp --host local: SASL2 pmcd () . () . IPv4 IPv6 ( ) . IPv6 (interface) . local: . . . ( ) . unix: local: ( ) localhost ( Inet )..SH " (FILES)" /etc/pcp.conf PCP : pcp.conf(5). /etc/pcp/tls.conf OpenSSL collector monitor . $HOME/.pcp pmchart(1). $PCP_RC_DIR/pmcd pmcd(1). $PCP_PMCDCONF_PATH pmcd(1). $PCP_PMCDOPTIONS_PATH pmcd(1) $PCP_RC_DIR/pmcd . . "VARIABLE=value" . $PCP_BINADM_DIR PCP PCP PMDA PMNS . $PCP_PMDAS_DIR PMDA (DSO). $PCP_RUN_DIR/pmcd.pid pmcd (PID) . $PCP_LOG_DIR/pmcd pmcd(1) PMDA . pmlogger(1) $PCP_LOG_DIR/pmlogger . $PCP_LOG_DIR/pmcd/pmcd.log pmcd(1). pmcd . $PCP_LOG_DIR/pmcd/pmcd.log.prev pmcd(1). $PCP_LOG_DIR/NOTICES pmcd(1) PMDA. $PCP_VAR_DIR/config PCP. $PCP_SERVICES_DIR/local PCP. $PCP_SYSCONF_DIR/pmcd/rc.local . $PCP_VAR_DIR/pmns PMNS PMDA . $PCP_VAR_DIR/pmns/root PMNS(5) pmcd(1) . PMNS PMNS $PCP_VAR_DIR/pmns . PCP . $PCP_LOG_DIR/NOTICES pmcd(1) PMDA pmie(1) pmpost(1) . $PCP_PMLOGGERCONTROL_PATH pmlogger(1) $PCP_RC_DIR/pmlogger / pmlogger_check(1) pmlogger_daily(1) PCP..SH " (ENVIRONMENT)" PCP PCP ENVIRONMENT . . PCP PCP . PCP_ALLOW_BAD_CERT_DOMAIN pmcd . PCP_SECURE_SOCKETS. . PCP_ALLOW_SERVER_SELF_CERT pmcd . PCP_SECURE_SOCKETS. . PCP_CONSOLE /dev/tty ( ) CON: ( ) . none . . PCP_DEBUG -D pmGetOptions(3) . $PCP_DEBUG -D () / pmdbg(1) . PCP_DERIVED_CONFIG (colon) / ( $PATH sh(1)). ). : $PCP_DERIVED_CONFIG . pmLoadDerivedConfig(3), . () . PCP_DERIVED_CONFIG ( pmNewContext(3) ) PMNS . $PCP_DERIVED_CONFIG . PCP_DERIVED_CONTROL . pmSetDerivedControl(3) . PCP_IGNORE_MARK_RECORDS PCP pmcd(1) pmlogextract(1). . PCP pmSetMode(3) ( ). $PCP_IGNORE_MARK_RECORDS . PCP_IGNORE_MARK_RECORDS ( ) . $PCP_IGNORE_MARK_RECORDS interval -t interval. . PCP_SECURE_SOCKETS . . PCP_TLSCONF_PATH TLS ( ) . PCP pmcd pmproxy () . PCP_STDERR PCP PCP_STDERR, . << >> ASCII GUI. PCP_STDERR DISPLAY . . PCP_STDERR . PMCD_CONNECT_TIMEOUT pmcd(1) () . PCP PCP . . PMCD_CONNECT_TIMEOUT . ..TP PMCD_RECONNECT_TIMEOUT pmcd(1) PCP . (back-off) . ( ). PMCD_RECONNECT_TIMEOUT PMCD_RECONNECT_TIMEOUT <<1,2>> . PMCD_REQUEST_TIMEOUT pmcd(1) <<>> (hang) . pmcd (crash) . PMCD_REQUEST_TIMEOUT pmcd (timeout) . pmcd . PMCD_WAIT_TIMEOUT pmcd(1) $PCP_RC_DIR/pmcd pmcd PMCD_WAIT_TIMEOUT . pmcd ( ) PMCD_WAIT_TIMEOUT . PMNS_DEFAULT PMNS pmLoadNameSpace(3) . PCP PMNS $PCP_VAR_DIR/pcp/pmns/root . PCP_COUNTER_WRAP PCP counter () . . (overflow) PCP PCP . PCP_COUNTER_WRAP <> (wrap). <> PCP 1.3 PCP . PCP_PMDAS_DIR PCP_PMDAS_DIR pmcd(1) pmNewContext(3) ( PM_CONTEXT_LOCAL) DSO PMDA . PMCD_PORT ( ) TCP/IP pmcd(1) 4321 44321 . PMCD_PORT . pmcd pmcd PMCD_PORT . pmlogger(1) PCP . PMLOGGER_PORT PMLOGGER_PORT TCP/IP pmlogger(1) pmlc(1) . 4330 . PMLOGGER_PORT pmlogger . PMLOGGER_REQUEST_TIMEOUT pmlc(1) pmlogger(1) pmlc pmlogger <<>> . PMLOGGER_REQUEST_TIMEOUT pmlogger . pmlogger . PMLOGGER_REQUEST_TIMEOUT pmlc . PCP (PMDA) . PMDA_LOCAL_PROC . PMDA <> DSO pmcd(1) <> PM_CONTEXT_LOCAL . type PM_CONTEXT_LOCAL PMDA <> . PMDA_LOCAL_SAMPLE . PMDA <> DSO pmcd(1) <> PM_CONTEXT_LOCAL . type PM_CONTEXT_LOCAL PMDA PMDA <> . PCP_PMCDCONF_PATH pmcd(1) . $PCP_SYSCONF_DIR/local.conf PM_CONTEXT_LOCAL PMDA DSO pmcd(1) . PMDA DSO . PMNS_DEFAULT ( ) . PMNS_DEFAULT (Performance Metrics Name Space) . $PCP_VAR_DIR/pmns/local.root PM_CONTEXT_LOCAL PMDA DSO $PCP_SYSCONF_DIR/local.conf . : pmns(5) PMNS_DEFAULT pcpintro(1). PMIECONF_PATH pmieconf(1) pmieconf(5) ( pmie(1)) pmieconf . $PCP_VAR_DIR/config/pmieconf . PCP (PCP ENVIRONMENT) PCP_ PCP . /etc/pcp.conf . $PCP_CONF pcp.conf(5) . PCP pmGetOptions(3) . (SEE ALSO) pcp(1), pmcd(1), pmie(1), pmie_daily(1), pminfo(1), pmlc(1), pmlogger(1), pmlogger_daily(1), pmrep(1), pmstat(1), pmval(1), systemctl(1), LOGIMPORT(3), LOGARCHIVE(5), pcp.conf(5), pcp.env(5), PMNS(5) chkconfig(8). (GUI) PCP : pmchart(1), pmtime(1) pmdumptext(1). : https://pcp.io/documentation.html https://pcp.readthedocs.io/en/latest/QG/EncryptedConnections.html https://pcp.readthedocs.io/en/latest/QG/AuthenticatedConnections.html Performance Co-Pilot User's and Administrator's Guide Performance Co-Pilot Programmer's Guide : https://pcp.readthedocs.io/en/latest. Performance Co-Pilot PCP PCPINTRO(1)