pcp
[Top] [All Lists]

pcp updates

To: pcp@xxxxxxxxxxx
Subject: pcp updates
From: Nathan Scott <nathans@xxxxxxxxxx>
Date: Mon, 22 Feb 2010 15:22:58 +1100 (EST)
Changes committed to git://oss.sgi.com/nathans/pcp.git

 debian/control                 |    2 +-
 src/include/mmv_dev.h          |    2 +-
 src/libpcp_mmv/src/mmv_stats.c |   14 +++++++++++++-
 src/pmcd/pmdaproc.sh           |   12 ++++++++++--  
 src/pmdas/mmv/mmv.c            |    1 +             
 src/pmdas/mmv/mmvdump.c        |    4 ++--          
 6 files changed, 28 insertions(+), 7 deletions(-)   

commit 277d390986e5b3b14a1f820e41e8ca24c741ec07
Author: Nathan Scott <nathans@xxxxxxxxxx>      
Date:   Mon Feb 22 15:21:17 2010 +1100         

    Use a better MMV generation number - using all bits available.

    The generation numbers used in the MMV file format are 64 bits
    wide, however we were only using the output from time(2) - ie.
    seconds since the epoch - as the number stored therein.  This
    meant that situations where multiple changes were made within
    a second might not be visible via the PMDA.

    We now use all 64 bits available, by shifting the seconds part
    of the time into the high 32 bits, and the subsecond part into
    the low 32 bits (we're using gettimeofday with its microsecond
    resolution in the C API - other MMV file generator will need
    to do something similar).

    mmvdump (diagnostic tool) no longer assumes it knows what the
    internal form of the generation number is, and dumps it out as
    a plain ol' 64 bit unsigned integer.

commit b0b6a9170f95ecfddf38b6a899ec7aff564f64ff
Author: Nathan Scott <nathans@xxxxxxxxxx>
Date:   Mon Feb 22 13:31:59 2010 +1100

    Improve handling of perl PMDAs when perl PCP package not installed.

    As reported by jeffpc, report meaningful error for attempted PMDA
    install in this situation, and add a Debian install "suggestion"
    for pcp on the perl PMDA package.

commit 721e3eb2a8d9cee11171dc307d1d5401f2d402d0
Author: Nathan Scott <nathans@xxxxxxxxxx>
Date:   Mon Feb 22 13:24:12 2010 +1100

    Fix incorrect accounting of number of mmv metrics.

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