pcp
[Top] [All Lists]

pcp updates

To: pcp@xxxxxxxxxxx
Subject: pcp updates
From: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date: Thu, 17 Nov 2011 20:31:22 +1100
Thanks to Nathan for some suggestions here (especially -i for
pmlogrewrite).

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

 Makepkgs                        |    4 
 man/man1/pmlogger_daily.1       |   40 +++++++
 man/man1/pmlogrewrite.1         |   69 ++++++++++++-
 src/libpcp/src/logutil.c        |    6 +
 src/pmdas/kvm/pmdakvm.pl        |    4 
 src/pmevent/pmevent.c           |    2 
 src/pmlogctl/pmlogger_daily.sh  |   63 +++++++++++-
 src/pmlogctl/pmlogger_merge.sh  |  121 ++++++++++++-----------
 src/pmlogrewrite/gram.y         |   36 +++++-
 src/pmlogrewrite/indom.c        |   34 +++---
 src/pmlogrewrite/lex.l          |    4 
 src/pmlogrewrite/logger.h       |    2 
 src/pmlogrewrite/metric.c       |   12 +-
 src/pmlogrewrite/pmlogrewrite.c |  191 +++++++++++++++++++++++++++++++-----
 src/pmlogrewrite/result.c       |   15 --
 src/pmlogrewrite/util.c         |  210 ++++++++++++++++++++++++++++++++++++++++
 16 files changed, 678 insertions(+), 135 deletions(-)

commit 6181089d8a8283a721c320a04088c183209f33bb
Author: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date:   Thu Nov 17 20:26:05 2011 +1100

    pmlogger_daily - integration with pmlogrewrite

commit 3d5d321a89d80ba75f6e1cb3a3c391d984c7a064
Author: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date:   Mon Nov 14 06:15:23 2011 +1100

    pmlogger_daily - additional verbose messages to aid debugging

commit 67cd721586f9c4e826599509109d0cd0d424a1c2
Author: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date:   Mon Nov 14 06:11:26 2011 +1100

    pmlogger_merge - fix corner case for empty archives
    
    Archives with all of their files being empty were not being culled.
    Worse, if _all_ of the archives for a particular day contained empty
    files, then pmlogextract was run with bogus arguments causing it to
    fail ... this had a ripple up effect that stopped pmlogger_daily
    working until the empty archive files were manually removed.

commit 48815f8188e8f20c7567aaf1e5430adee47560de
Author: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date:   Sun Nov 13 07:12:23 2011 +1100

    pmlogrewrite - add -i option
    
    In the model of sed -i, and following a suggestion from Nathan,
    the -i option to pmlogrewrite performs a re-write inplace.
    
    This will be used in pmlogger_daily to expedite the logic for
    handling automatice rewriting of archives to accommodate PMDA
    evolution.

commit ef93003981f8dc3d10803f6b0a3fcd148ce6333f
Author: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date:   Fri Nov 11 06:09:00 2011 +1100

    pmlogrewrite - add -q option
    
    The -q (quick) option allows pmlogrewrite to exit without creating
    the output archive in cases where the rewriting rules will not produce
    any changes to the input archive.
    
    Also
     + cleaned up a couple of error cases, and turned them into no change
       warnings (instance id and instance name not in the instance domain)
     + added -w to -v as implied flages when -C is used
     + a little housekeeping involving sprintf -> snprintf changes

commit 63c4c4aac3cad83c7d4ea6d01e69260d1c2d9496
Author: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date:   Thu Nov 10 05:50:24 2011 +1100

    pmdakvm - don't lower privileges
    
    Need to be running as root to read /sys/kernel/debug/kvm

commit e70cb3946f6c45f826d311e69fda4e2704aea461
Author: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date:   Tue Nov 1 11:11:37 2011 +1100

    libpcp - small diagnostic addition for logutil.c

commit 9c542b6d39b47898f30892b146cf087ddb428b87
Author: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date:   Tue Nov 1 11:11:06 2011 +1100

    Makepkgs - toolchain still broken for me in Ubuntu 11.10

commit 491619297a464bc36298ecaa98474292e9d8e53f
Author: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date:   Tue Nov 1 11:07:42 2011 +1100

    pmevent - clearer output when/if pmUnpackEventRecords fails



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