pcp
[Top] [All Lists]

pcp updates: python pmcc module

To: pcp@xxxxxxxxxxx
Subject: pcp updates: python pmcc module
From: Nathan Scott <nathans@xxxxxxxxxx>
Date: Tue, 3 Jun 2014 04:20:20 -0400 (EDT)
Delivered-to: pcp@xxxxxxxxxxx
In-reply-to: <1382813991.19306137.1401781733657.JavaMail.zimbra@xxxxxxxxxx>
Reply-to: Nathan Scott <nathans@xxxxxxxxxx>
Thread-index: 46QIhVaQHyCG/oonpimDeTy/sRmSOw==
Thread-topic: pcp updates: python pmcc module
Changes committed to git://git.performancecopilot.org/pcp.git dev

 qa/734                   |    1 
 qa/src/test_pmcc.python  |  169 +++++++++++++++++++++++++----------------------
 src/include/pcp.mingw    |    2 
 src/pmconfig/GNUmakefile |    2 
 src/pmstat/pmstat.c      |    2 
 src/python/pcp/pmapi.py  |    6 +
 src/python/pcp/pmcc.py   |  147 +++++++++++++++++++++++++++++++++++++++-
 src/python/pmapi.c       |   12 +++
 8 files changed, 255 insertions(+), 86 deletions(-)

commit eefbc5dd00d9a370fc67a843ecb7601bfa32f505
Author: Nathan Scott <nathans@xxxxxxxxxx>
Date:   Tue Jun 3 17:47:27 2014 +1000

    Extend python convenience classes for command line options
    
    Focus here is on making the high level pmcc.MetricGroupManager
    class able to take on more of the work that all client tools
    have to do.  In particular, responding to command line options
    like sample interval/count, end time, and so on impacts on the
    logic needed around the fetch loop.  Add a MetricGroupPrinter
    class which can be provided by a script, which will be called
    upon to handle all matters related to output.
    
    Ideally everything else will be handled by convenience classes
    - this handles command line options and the fetch loop logic;
    still to be further improved on (perhaps?) is the metric value
    unpacking wrt counters and rate conversion.  Other helpers for
    common output patters are also likely to be needed.

commit 8d8b92b94c2e51a90835877d3576167d831196bb
Author: Nathan Scott <nathans@xxxxxxxxxx>
Date:   Tue Jun 3 17:36:02 2014 +1000

    Trivial readability cleanup in pmstat sample count handling

commit f4f09362256091a7c31ad1dc22c050c5ba2996b0
Author: Nathan Scott <nathans@xxxxxxxxxx>
Date:   Tue Jun 3 17:35:08 2014 +1000

    Move pmconfig to PCP_BINADM_DIR avoiding Solaris name conflict

commit ee4cedc7f4ef3d0b5257147fd31ac024ccb6a627
Author: Nathan Scott <nathans@xxxxxxxxxx>
Date:   Tue Jun 3 09:35:06 2014 +1000

    Remove leftover ld setting in qa/734, noticed by Frank

<Prev in Thread] Current Thread [Next in Thread>
  • pcp updates: python pmcc module, Nathan Scott <=