PMDAPROC(1) General Commands Manual PMDAPROC(1) (NAME) pmdaproc - (PMDA) (SYNOPSIS) $PCP_PMDAS_DIR/proc/pmdaproc [-AL] [-D debug] [-d domain] [-l logfile] [-r cgroup] [-U username] (DESCRIPTION) pmdaproc << >> (PMDA) . proc PMDA . NUMA /proc//numa_maps proc.numa_maps.* . PMDA (credentials) PMAPI(3) . PMDA (instances) (effective UID/GID) . . PCPIntro(1) . pmdaproc : -A PMAPI <> . pmcd(1) ACCESS CONFIGURATION . . PMAPI PMAPI . CVE-2011-2495 CVE-2012-3419 . -L (instance domain) pmdaproc (threads) . -d domain () . domain PMDA domain PMDA . -l (log file). pmdaproc proc.log pmcd(1) $PCP_LOG_DIR/pmcd. . -r cgroup . pmdaproc . -U . <> seteuid (2) setegid (2) ..SH " HOTPROC (HOTPROC OVERVIEW)" (PMDA) pmdaproc << >> <<>> (hot) . proc PMDA hot . hotproc (predicate) . proc hotproc cpuburn total << >> predicate ( ) hotproc control . HOTPROC (HOTPROC CONFIGURATION) . $PCP_PMDAS_DIR/proc/samplehotproc.conf . $PCP_PMDAS_DIR/proc/hotproc.conf hot . pmstore(1) pmStore(3) ( ). . C(1) awk(1) . (Boolean Connectives) && ( / and) || ( / or) ! ( / not) () ( ) (Number comparators) < , <= , > , >= , == , != (String comparators) == , != / (String/Pattern comparators) ~ ( ) , !~ ( ) (Reserved variables) uid ( ) uname ( ) gid ( ) gname ( ) fname ( ) psargs ( ) cpuburn ( float) iodemand ( / - / float) ctxswitch ( float) syscalls ( float) virtualsize ( float) residentsize ( float) iowait ( / / float) schedwait ( / float). (Literal values) 1234 ( ) 0.35 ( ) "foobar" ( ") /[fF](o)+bar/ ( /) true () false () (Comments) #this is a comment ( # ). (Examples) cpuburn > 0.2 # cpu utilization of more than 20% cpuburn > 0.2 && uname == "root" cpuburn > 0.2 && (uname == "root" || uname == "hot") psargs ~ /pmda/ && cpuburn > 0.4 hotproc.predicate . . hotproc.predicate ..SH " (DYNAMIC CONFIGURATION)" hot pmstore(1) ( pmStore(3)) . pmstore hotproc.control.config 'fname == "mingetty"' pmstore hotproc.control.config 'uid == 0' : pmstore hotproc.control.reload_config "1" (ACCESS CONFIGURATION) . "unix:" "local:" . pmcd . $PCP_SYSCONF_DIR/proc/access.conf : allowed . (root) . mapped (true) ( SASL pmcd(1) ). . (INSTALLATION) proc PMDA . (root) : # cd $PCP_PMDAS_DIR/proc # ./Remove proc (root) : # cd $PCP_PMDAS_DIR/proc # ./Install pmdaproc pmcd(1) . Install Remove pmcd(1) . (FILES) $PCP_PMCDCONF_PATH pmdaproc $PCP_PMDAS_DIR/proc/help proc $PCP_PMDAS_DIR/proc/Install pmdaproc $PCP_PMDAS_DIR/proc/Remove pmdaproc $PCP_LOG_DIR/pmcd/proc.log (log) pmdaproc $PCP_PMDAS_DIR/proc/samplehotproc.conf hotproc $PCP_PMDAS_DIR/proc/hotproc.conf hotproc $PCP_SYSCONF_DIR/proc/access.conf PCP_ PCP . /etc/pcp.conf . $PCP_CONF pcp.conf(5) . (DEBUGGING OPTIONS) -D --debug stderr . debug pmdbg(1) -l . pmdaproc : +----------------+-------------------------------------------------------------------------------------------------+ | | | +----------------+-------------------------------------------------------------------------------------------------+ |appl0 | cgroup | +----------------+-------------------------------------------------------------------------------------------------+ |appl1 | hotproc | +----------------+-------------------------------------------------------------------------------------------------+ |appl2 | PMNS | +----------------+-------------------------------------------------------------------------------------------------+ |appl3 | process accounting | +----------------+-------------------------------------------------------------------------------------------------+ (SEE ALSO) PCPIntro(1) pmcd(1) pmstore(1) seteuid(2) setegid(2) PMAPI(3) pcp.conf(5) pcp.env(5). Performance Co-Pilot PCP PMDAPROC(1)