Hi Dave,
----- Original Message -----
> ----- Original Message -----
> > ----- Original Message -----
> > > Some guidance regarding which qa test(s) to augment would be
> > > appreciated. It's hard to tell by number :-(
> >
> > 110 156 199 seem like initial candidates. Looks like they'll need the pmcd
> > and pmdaproc.sh support in place first though.
> >
>
> Another way to test just the work thats been done so far would be to extend
> the sock command in dbpmda. Currently it only supports unix domain sockets
> though - thats an early-days-of-pcp assumption which we could rectify here.
> Lemme look into that today, hopefully I'll have something to send ya by the
> time you're online tomorrow.
Attached patch appears to work for me when testing with inet sockets - it
should also work for exercising the new IPv6 libpcp_pmda code.
$ cd /var/lib/pcp/pmdas/simple
$ ./pmdasimple -U nathans -i 23456 -l /tmp/simple.log
$ dbpmda
dbpmda> open
open dso dsoname init_routine [ domain# ]
open pipe execname [ arg ... ]
open socket unix sockname
open socket inet port#|service
open socket ipv6 port#|service
dbpmda> open socket inet 23456
Connect to PMDA on inet port 23456
dbpmda> status
Namespace: (default)
PMDA: inet port 23456
Connection: daemon
PMDA PMAPI Version: 2
pmDebug: 0 (none)
Timer: off
Getdesc: off
Dump Instance Profile state=INCLUDE, 0 profiles
dbpmda> desc simple.now
PMID: 253.2.4
Data Type: 32-bit unsigned int InDom: 253.1 0x3f400001
Semantics: instant Units: none
dbpmda> ^D
cheers.
--
Nathan
dbpmda+ipv6.patch
Description: Text Data
|