Changes committed to git://git.pcp.io/nathans/pcp.git master
Nathan Scott (2):
pmevent: consolidate code, merge into pmval sources
pmdapipe: initial version of the command output capture PMDA
debian/libpcp-pmda3-dev.install | 1
man/man1/pmevent.1 | 309 --------------------
man/man1/pmval.1 | 35 ++
man/man3/pmdaeventqueue.3 | 6
qa/.gitignore | 1
qa/044 | 3
qa/044.irix | 87 -----
qa/044.linux | 1
qa/075 | 318 ++++++++++++++-------
qa/075.out | 4
qa/167.out | 2
qa/273.out | 1
qa/390 | 21 -
qa/390.out | 2
qa/415 | 6
qa/415.out | 12
qa/434.out | 8
qa/443 | 3
qa/443.out | 94 +++---
qa/444 | 11
qa/444.out | 439 +++++++++++++++++++++++++++++
qa/444.out.1 | 425 ----------------------------
qa/444.out.2 | 431 ----------------------------
qa/444.out.3 | 431 ----------------------------
qa/447 | 2
qa/447.out | 2
qa/750.out | 17 -
qa/753.out | 3
qa/874.out | 3
src/GNUmakefile | 1
src/include/pcp/pmda.h | 1
src/libpcp_pmda/src/exports | 6
src/libpcp_pmda/src/queues.c | 31 +-
src/libpcp_pmda/src/queues.h | 3
src/pmdas/GNUmakefile | 2
src/pmdas/pipe/.gitignore | 2
src/pmdas/pipe/GNUmakefile | 58 +++
src/pmdas/pipe/Install | 28 +
src/pmdas/pipe/README | 75 +++++
src/pmdas/pipe/Remove | 24 +
src/pmdas/pipe/event.c | 599 ++++++++++++++++++++++++++++++++++++++++
src/pmdas/pipe/event.h | 65 ++++
src/pmdas/pipe/help | 46 +++
src/pmdas/pipe/pipe.c | 429 ++++++++++++++++++++++++++++
src/pmdas/pipe/pipe.conf | 3
src/pmdas/pipe/pmns | 31 ++
src/pmdas/pipe/root | 10
src/pmdas/pipe/util.c | 151 ++++++++++
src/pmdas/pipe/util.h | 23 +
src/pmevent/.gitignore | 1
src/pmevent/GNUmakefile | 35 --
src/pmevent/doargs.c | 517 ----------------------------------
src/pmevent/pmevent.c | 534 -----------------------------------
src/pmevent/pmevent.h | 56 ---
src/pmval/GNUmakefile | 5
src/pmval/event.c | 321 +++++++++++++++++++++
src/pmval/pmval.c | 345 +++++++++++++++--------
src/pmval/pmval.h | 63 ++++
58 files changed, 2969 insertions(+), 3174 deletions(-)
commit c5de4e5fc14debb353231fb99c2077f96803045c
Author: Nathan Scott <nathans@xxxxxxxxxx>
Date: Fri Nov 20 15:27:41 2015 +1100
pmdapipe: initial version of the command output capture PMDA
Initial version of the event metric PMDA, pmdapipe, as described
here: http://www.pcp.io/pipermail/pcp/2014-June/004925.html
Captures output from pre-determined commands, after running them
on behalf of a (possibly remote, possibly unprivileged) PMAPI
client tool.
An additional libpcp_pmda event queue interface is added, which
allows queues to be torn down dynamically (handling the case of
existing clients being connected with outstanding data, also).
Remaining work at this stage includes QA, man page, and the ACL
part of the configuration file, but the fundamentals are there.
Much of this work was done in conjunction with Dave Brolley and
Lukas Berk a few weeks ago, so hats off to those guys!
commit 7459b632adedecf201b7915b55a353357181a026
Author: Nathan Scott <nathans@xxxxxxxxxx>
Date: Fri Nov 20 11:50:18 2015 +1100
pmevent: consolidate code, merge into pmval sources
Resolve long-standing item allowing pmval to handle any/all
metric types once more, by merging back some pmevent code.
pmevent is now a symlink to pmval, and acquires long-option
handling in the process. Several small pmval improvments -
e.g. all errors should be on stderr now, was a mix before.
|