PMLOGCTL(1) General Commands Manual PMLOGCTL(1) (NAME) pmlogctl - Performance Co-Pilot (SYNOPSIS) pmlogctl [-afmNV?] [-C check_args] [-c class] [-i ident] [-p policy] command [host ...] (DESCRIPTION) pmlogctl Performance Co-Pilot (PCP) pmlogger(1) . <<>> (farm) PCP pmlogger(1) pmcd(1) . pmlogger(1) pmcd(1) systemd(1) << rc>> init(1) PCP . pmlogger(1) pmlogctl . <<>> pmlogger(1) . pmlogctl pmlogger_check(1) pmlogger_daily(1) : 1. pmcd(1) ( ) pmcd(1) pmlogger(1) . 2. pmlogger(1) pmlogger_check(1) pmlogger(1) ( (CONFIGURATION) pmlogger_check(1) ). 3. $class=... . default $class=... . ( summary ) pmlogger(1) primary . pmlogctl pmlogger_check(1) . host . create cond-create ( ) host egrep(1) ^host$ . foo.* ( <> ) .*foo ( <> ) .*[fF][oO][oO].* ( <> ). class -c ( default) host command command . -i create cond-create ident ( CLASS POLICY FILE ). host . pmlogctl (root) status -N ..SH " (COMMANDS)" command : check pmlogger . -m systemd(1) ( ) pmlogger_farm . create classname (default ) host . ( CLASS POLICY FILE ) %h host %i () ident ident -i . -p $PCP_SYSCONF_DIR/pmlogger/class.d/classname . host create . cond-create create create () true . -c classname . true pmfind ( <<>> cond-create ). true pmlogger(1) pmfind . pmlogconf(1) . start . -a ( pmlogger(1) ). ( restart ). stop . -a ( pmlogger(1) ). . restart . -a ( pmlogger(1) ). . status . -c host . destroy . pmlogger(1) . -a ( pmlogger(1) pmlogger_check(1) ). destroy . -p . -f () . <<[>> <<]>> . (#) (comment) . . foo $PCP_SYSCONF_DIR/pmlogger/class.d/foo . [class] . ( ) . [ident] ident . %h foo-%h. host . [control] control . pmlogger_check(1) pmlogger(1) (white space) : 1. (hostname) %h 2. n - (non-primary) 3. <> n 4. pmlogger(1) pmlogger_check(1) PCP_ARCHIVE_DIR %i PCP_ARCHIVE_DIR/%i 5. pmlogger(1) -c %i . pmlogger_check(1) pmlogconf(1) . : $version=1.1 pmlogctl 1.1 . pmlogctl : $class=foo . ENV(spec) : o spec var $var . $var . o spec var:default $var $var default . : ) default default ) . : # unset PMPROXY_PORT; PMPROXY_HOST=foobar.com pmlogctl create ... http://ENV(PMPROXY_HOST):ENV(PMPROXY_PORT:44322) : http://foobar.com:44322 [create] create cond-create . pmcd(1) ( pmfind(1)) . create function(arg) function : exists arg (PMNS) exists <<>> (true) values arg PMNS values <<>> (true) condition arg pmRegisterDerived(3) condition <<>> (true) hostname arg egrep(1) arg hostname <<>> (true) [destroy] destroy . pmfind(1), . destroy . : # policy file for the foo class [class] foo [ident] foo-%h [control] $version=1.1 %h n n PCP_ARCHIVE_DIR/%i -c foo-metrics.config [create] # matches all hosts hostname(.*) [destroy] # still to be defined (OPTIONS) : -a, --all . . -c class, --class=class pmlogger(1) class. -C check_args, --checkargs=check_args check_args pmlogger_check(1) . -V . -C check_args pmlogger_check(1) . -f, --force . -i ident, --ident=ident ident. create cond-create . -N, --showme pmlogctl <> <> () . -m, --migrate create check systemd(1) pmlogger pmlogger_farm . pmlogger_farm_check ( ). -p policy, --policy=policy policy . $PCP_SYSCONF_DIR/pmlogger/class.d/ . -V, --verbose (verbose). . stderr . -?, --help . PCP (PCP ENVIRONMENT) PCP_ PCP . /etc/pcp.conf . $PCP_CONF pcp.conf(5) . (SEE ALSO) egrep(1), init(1), PCPIntro(1), pmcd(1), pmlc(1), pmlogconf(1), pmlogger(1), pmlogger_check(1), pmlogger_daily(1), systemd(1), PMAPI(3), pmDerivedRegister(3) pcp.conf(5). Performance Co-Pilot PCP PMLOGCTL(1)