[pcp] Experimental patch (was Re: mmv pmda: stuff always fails the first time?)
Nathan Scott
nscott at aconex.com
Sun Nov 15 19:46:38 CST 2009
----- "Ken McDonell" <kenj at internode.on.net> wrote:
> There is another more fundamental problem with the PMNS traversal in
> the proposed mmv changes. I haven't found the fix for this one yet.
Attached version fixes it. I didn't find a way to get dbpmda to call
the children() method with "traverse" set - is there a way? Also the
dbpmda help for pmid, name, and children methods doesn't seem to give
useful info...
dbpmda> children mmv
Metric: mmv
non-leaf test
leaf reload
dbpmda> help children
^ at or near here
Error: syntax error
Type 'help' for a list of commands.
dbpmda> help pmid
^ at or near here
Error: syntax error
Type 'help' for a list of commands.
dbpmda> help open
open dso dsoname init_routine [ domain# ]
open pipe execname [ arg ... ]
Open a PMDA as either a DSO or a daemon (connected with a pipe). The
'dsoname' and 'execname' fields are the path to the PMDA shared object file
or executable. The arguments to this command are similar to a line in the
pmcd.conf file.
dbpmda>
Looks like we're missing some cases in dbpmda util.c dohelp() routine?
cheers.
--
Nathan
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mmv.patch
Type: text/x-patch
Size: 18123 bytes
Desc: not available
URL: <http://oss.sgi.com/pipermail/pcp/attachments/20091116/47051408/attachment-0001.patch>
More information about the pcp
mailing list