PMDAPIPE(1) General Commands Manual PMDAPIPE(1) (NAME) pmdapipe - (PMDA) (SYNOPSIS) $PCP_PMDAS_DIR/pipe/pmdapipe [-c configfile] [-D debug] [-d domain] [-l logfile] [-m memory] (DESCRIPTION) pmdapipe (PMDA) . . pmval(1) . pipe PMDA . PMDA configfile << (CONFIGURATION)>> . pmdapipe : -c PMDA . $PCP_PMDAS_DIR/pipe/pipe.conf $PCP_SYSCONF_DIR/pipe.conf.d/ . -d (domain) . domain PMDA domain PMDA . -l . pmdapipe pipe.log pmcd(1) ( $PCP_LOG_DIR/pmcd) . . -m PMDA maxsize . PMDA . . (CONFIGURATION) pipe . . ( ). <<#>> . : instance username command options : instance pipe . username ( <>) command options command options command ( ). pmStore (3) pipe.firehose . pmval -x . . : [access] access . . commands . getpwent(3) getgrent(3) /etc/passwd /etc/groups ( ) . : allow user username : instance disallow user username : instance allow group groupname : instance disallow group groupname : instance username groupname getpwent(3) getgrent(3) /etc/passwd /etc/groups ( ) . <<*>> instance ..SH " (INSTALLATION)" pipe root : # cd $PCP_PMDAS_DIR/pipe # ./Install ( ) ( -x pmval(1) ). root : # cd $PCP_PMDAS_DIR/pipe # ./Remove pmdapipe pmcd . Install Remove pmcd . (EXAMPLES) pmdapipe pipe btrace bob : bob> cat $PCP_PMDAS_DIR/pipe/pipe.conf # instance user command rw_syscalls root perf script rw-by-file $1 bdev_trace root btrace -w $1 /dev/$2 [access] allow user bob : *; allow user jane : bdev_trace; allow group perf : rw_syscalls; bob> pmval -i bdev_trace -x '5 sda' pipe.firehose 8,2 5 1 0.000000000 25227 A WS 734332384 + 24 <- (253,2) 734330336 8,0 5 2 0.000000414 25227 A WS 735358432 + 24 <- (8,2) 734332384 8,0 5 3 0.000000756 25227 Q WS 735358432 + 24 [qemu-kvm] [...5 seconds worth] bob> (FILES) $PCP_PMCDCONF_PATH pmdapipe $PCP_PMDAS_DIR/pipe/pipe.conf pipe $PCP_PMDAS_DIR/pipe/help pipe $PCP_PMDAS_DIR/pipe/Install pmdapipe $PCP_PMDAS_DIR/pipe/Remove pmdapipe $PCP_LOG_DIR/pmcd/pipe.log pmdapipe $PCP_SYSCONF_DIR/pipe.conf.d pipe PCP (PCP ENVIRONMENT) PCP_ PCP . /etc/pcp.conf . $PCP_CONF pcp.conf(5) . (DEBUGGING OPTIONS) -D --debug stderr . debug pmdbg(1) -l . pmdapipe : +---------------------------------------------------+------------------+ | | | +---------------------------------------------------+------------------+ |appl0 | | | | | | | | | | | | | | | | | | | pmcd(1) | | | | | | | | | | | | | | | | +---------------------------------------------------+------------------+ |appl1 | | | | | | | | | | | | | | +---------------------------------------------------+------------------+ |appl2 | | | | configfile | | | | | | | | | | | | | | | | | | select(2) | |" (SEE ALSO)" | | |PCPIntro (1) | | |pmval (1) | | |pmcd (1) | | |getpwent (3) | | |getgrent (3) | | |pmStore (3) | | |pcp.conf (5) | | | | | |pcp.env (5). | | | | | +---------------------------------------------------+------------------+ Performance Co-Pilot PCP PMDAPIPE(1)