PMIECTL(1) General Commands Manual PMIECTL(1) (NAME) pmiectl - Performance Co-Pilot (SYNOPSIS) pmiectl [-afmNV?] [-C check_args] [-c class] [-i ident] [-p policy] command [host ...] (DESCRIPTION) pmiectl Performance Co-Pilot (PCP) pmie(1) . <<>> (farm) PCP pmie(1) pmcd(1) . pmie(1) pmcd(1) systemd(1) << rc>> init(1) PCP . pmie(1) pmiectl . <<>> pmie(1) . pmiectl pmie_check(1) pmie_daily(1) : 1. pmcd(1) ( ) pmcd(1) pmie(1) . 2. pmie(1) pmie_check(1) pmie(1) ( CONFIGURATION pmie_check(1) ). 3. class () $class=... . default $class=... . ( summary ) pmie(1) primary . pmiectl pmie_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 ..PP pmiectl (<>) status -N . (COMMANDS) command : check pmie . -m systemd(1) ( ) pmie_farm . create classname ( default) host. ( CLASS POLICY FILE ) %h host %i () ident ident -i . -p $PCP_SYSCONF_DIR/pmie/class.d/classname. host create . cond-create create create () (true) . -c classname . pmfind ( <<>> cond-create ). pmie(1) pmfind . pmieconf(1) . start . -a ( pmie(1) ). ( restart ). stop . -a ( pmie(1) ). . restart . -a ( pmie(1) ). . status . -c host . destroy . pmie(1) . -a ( pmie(1) pmie_check(1) ). destroy . -p . -f ( force) . (CLASS POLICY FILE) <<[>> <<]>> . (#) () . . foo $PCP_SYSCONF_DIR/pmie/class.d/foo. [class] . ( ) . [ident] ident . %h foo-%h. host . [control] control . pmie_check(1) pmie(1) (whitespace) : 1. %h 2. n (non-primary) 3. <> n 4. pmie(1) pmie_check(1) PCP_LOG_DIR pmie %i PCP_LOG_DIR/pmie/%i/pmie.log 5. pmie(1) -c %i . pmie_check(1) pmieconf(1) . : $version=1.1 pmiectl 1.1 . pmiectl . : $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 pmiectl 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) .TP 4n values arg PMNS values <<>> condition arg pmRegisterDerived(3) condition <<>> hostname arg egrep(1) hostname <<>> arg [destroy] destroy . pmfind(1) . destroy . : # policy file for the foo class [class] foo [ident] foo-%h [control] $version=1.1 %h n n PCP_LOG_DIR/pmie/%i/pmie.log -c foo-metrics.config [create] # matches all hosts hostname(.*) [destroy] # still to be defined (OPTIONS) : -a, --all . . -c class, --class=class pmie(1) class. -C check_args, --checkargs=check_args check_args pmie_check(1) . -V . -C check_args pmie_check(1) . -f, --force . -i ident, --ident=ident ident. create cond-create . -N, --showme pmiectl << >> (show me) << >> (dry run) . -m, --migrate create check systemd(1) pmie pmie_farm . pmie_farm_check ( ). -p policy, --policy=policy policy . $PCP_SYSCONF_DIR/pmie/class.d/ . -V, --verbose . . stderr . -?, --help ..SH " PCP (PCP ENVIRONMENT)" PCP_ PCP . /etc/pcp.conf . $PCP_CONF pcp.conf(5) . (SEE ALSO) egrep(1), init(1), PCPIntro(1), pmcd(1), pmieconf(1), pmie(1), pmie_check(1), pmie_daily(1), systemd(1), PMAPI(3), pmDerivedRegister(3) pcp.conf(5). Performance Co-Pilot PCP PMIECTL(1)