Thanks for this Andrew.
Changes committed to git://oss.sgi.com/kenj/pcp.git dev
src/dbpmda/src/dbpmda.h | 1
src/dbpmda/src/gram.y | 6 +++-
src/dbpmda/src/lex.l | 1
src/dbpmda/src/pmda.c | 62 ++++++++++++++++++++++++++++++++++++++++++++++--
src/dbpmda/src/util.c | 11 +++++---
5 files changed, 74 insertions(+), 7 deletions(-)
commit 8a6d082f8398f2d322b70ecf9642dc3a9e73ffce
Author: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date: Sun Jan 31 08:44:29 2010 +1100
dbmda - cosmetic #if -> #ifdef
commit 3bd41f461564ee04c36f74b3d68c0e62b106b2c9
Author: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date: Sun Jan 31 08:18:36 2010 +1100
dbpmda - add open socket sockname command
Based on a patch from Andrew Wansink, this change adds an open socket
command (alongside the existing open dso and open pipe commands).
In this context a "socket" is a UNIX domain socket, aka a named pipe.
This is useful
1. because -u socketname is supported for PMDAs and dbpmda previously
could not use/exercise this
2. it is sometimes easier to debug a pmda by running it from within
a debugger with a -u socketname option where it will hang waiting
for pmcd/dbpmda and then running dbpmda in another window
|