PMLOGCONF(1) General Commands Manual PMLOGCONF(1) (NAME) pmlogconf - pmlogger (SYNOPSIS) pmlogconf [-cqrvV?] [-d groupsdir] [-D debug] [-g grouptag] [-h host] [-s groupfile] configfile (DESCRIPTION) pmlogconf PCP pmlogger(1) . configfile pmlogconf . configfile -c pmlogger(1) PCP . configfile pmlogconf . y () n () Log this group? . : m . q () . /pattern pattern . Logging interval? once default pmlogger(1) ``every N timeunits'' ``N timeunits '' ( every ) N timeunits msec millisecond sec second min minute hour . -c pmlogconf (auto-create) . configfile -c . . -q configfile . -v ..SH " (SETUP GROUP FILES)" configfile groupsdir -d ( groupsdir $PCP_VAR_DIR/config/pmlogconf -d ). groupsdir PMDA / groupsdir pmlogconf . : o configfile . o pmlogconf configfile groupsdir configfile . o pmlogconf configfile (metrics) ( configfile ). o -r ( reprobe) -c ( auto-create) ( ) configfile . o configfile groupsdir ( PCP ) pmlogconf . -c configfile configfile . . : o #pmlogconf-setup 2.0 . o # (comment) . o . o ident . o (white space) . pmlogger(1) PMNS ( PMNS) PMNS ``['' ``]'' . o probe force . o delta pmlogger(1) . o define : define name expr name expr . name expr pmRegisterDerived(3) . name metric probe configfile . name PMNS . . o probe : probe metric [condition [state_rule] ] metric PCP ( PMNS define ) condition exists ( metric PMNS ) values ( metric PMNS ) op val op awk(1) (== != > >= < <= ~ ( ) !~ ( )) val ( ) condition metric ..PP condition exists . condition state_rule : ? true_state : false_state true_state ( condition ) false_state ( condition ) : include ( configfile) available ( configfile - y configfile configfile ) exclude ( configfile ). state_rule : ? available : exclude o force force include exclude available . (probing) configfile -r . pmcd(1) hostname ( :local) . (OPTIONS) : -c (auto-create). -d groupsdir, --groups=groupsdir groupsdir . -g grouptag, --group=grouptag grouptag. -h host, --host=host localhost pmcd(1) host . -q, --quiet . -r, --reprobe configfile. -s groupfile, --setup=groupfile groupfile. pmlogconf-setup PCP . -v, --verbose (verbose). -V, --version . -?, --help ..SH " (EXAMPLES)" . #pmlogconf-setup 2.0 ident Example group file ident ... more description delta 1 minute probe sample.secret.foo.one values ? include : exclude sample.secret.foo.one sample.secret.foo.bar # non-leaf in the PMNS sample.colour [ red green ] ( define ) mumble.foo ( ) mumble.bar ( ) mumble configfile : #pmlogconf-setup 2.0 ident Derived metric example with alternation define mumble.check = \ (defined(mumble.foo) ? count(mumble.foo) : 0) + \ (defined(mumble.bar) ? count(mumble.bar) : 0) probe mumble.check > 0 ? include : exclude mumble probe . #pmlogconf-setup 2.0 ident Derived metric example using a single metric instance define fumble_log = fumble.control[verbose_log] probe fumble_log > 0 ? include : exclude fumble.detailed (MIGRATION) pmlogconf (2.0) configfile . configfile pmlogconf . PCP (PCP ENVIRONMENT) PCP_ PCP . /etc/pcp.conf . $PCP_CONF pcp.conf(5) . pmlogconf configfile $PCP_DERIVED_CONFIG . pmlogconf pmlogger $PMCD_WAIT_TIMEOUT . ..SH " (DEBUGGING OPTIONS)" -D --debug stderr . debug pmdbg(1) -l . (DEBUGGING OPTIONS) -D --debug stderr . debug pmdbg(1) -l . pmlogconf : +----------------+------------------------------------------------------------------------------------------------------------------------------------------+ | | | +----------------+------------------------------------------------------------------------------------------------------------------------------------------+ |appl0 | | +----------------+------------------------------------------------------------------------------------------------------------------------------------------+ |appl1 | | +----------------+------------------------------------------------------------------------------------------------------------------------------------------+ |appl2 | | +----------------+------------------------------------------------------------------------------------------------------------------------------------------+ (SEE ALSO) pmcd(1) pmlogger(1) PMAPI(3) pmRegisterDerived(3) pcp.conf(5) pcp.env(5). Performance Co-Pilot PCP PMLOGCONF(1)