pcp
[Top] [All Lists]

pcp updates

To: pcp@xxxxxxxxxxx
Subject: pcp updates
From: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date: Mon, 27 Apr 2009 08:49:54 +1000
Reply-to: kenj@xxxxxxxxxxxxxxxx
These add the __pmSetClientId support that Nathan mentioned last week.

Now from a system of interest you can tell where the pmlogger
instance(s) and pmie instance(s) are running.

Changes committed to git://oss.sgi.com/kenj/pcp.git dev

 INSTALL                      |   18 ++
 src/include/impl.h           |    7 +
 src/libpcp/src/util.c        |   70 ++++++++++
 src/libpcp_pmcd/src/client.c |    1 
 src/libpcp_pmcd/src/trace.c  |    2 
 src/pmcd/src/client.c        |   17 ++
 src/pmcd/src/client.h        |    3 
 src/pmcd/src/pmcd.c          |    1 
 src/pmcd/src/trace.c         |  282 -------------------------------------------
 src/pmdas/pmcd/help          |   13 +
 src/pmdas/pmcd/root_pmcd     |    7 +
 src/pmdas/pmcd/src/pmcd.c    |  231 ++++++++++++++++++++++++++++++++---
 src/pmie/src/pmie.c          |   21 +++
 src/pmie/src/pragmatics.c    |    8 +
 src/pmlogger/pmlogger.c      |   20 +++
 15 files changed, 398 insertions(+), 303 deletions(-)

commit 05a72fe257ba45918dd38e9e9a65ba2a1786b258
Author: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date:   Mon Apr 27 08:33:27 2009 +1000

    Add __pmSetClientId() and pmcd.client.* metrics
    
    These changes allow clients of pmcd to register their own id string
    which is then exported via pmcd.client.whoami.
    
    Currently pmie and pmlogger are the only clients using this, to
    produce identification strings like this ...
    
    pmcd.client.whoami
        inst [1 or "1"] value "bozo-laptop.localdomain (127.0.1.1) pmlogger
                -P -c config.default 20090427.08.05"
        inst [44 or "44"] value "bozo-laptop.localdomain (127.0.1.1) pmie -b
        -h bozo-laptop -l /var/log/pcp/pmie/bozo-laptop/pmie.log
        -c config.default"

commit c796c06a84a98d49f21253403db947f615145fa2
Author: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date:   Thu Apr 23 21:26:45 2009 +1000

    Interim checkin for pmcd.client.whoami support.
    
    Changes for pmcd and pmcd PMDA to support a new pmcd.client.whoami
    metric that allows clients (specifically pmlogger) to let pmcd know
    what they are doing.
    
    Motivated by Paul Smith's plea to know for a given system of interest
    on which remote host(s) has an "interesting" pmlogger been running
    collecting information from this host.



<Prev in Thread] Current Thread [Next in Thread>