pcp
[Top] [All Lists]

pcp updates: scox merge, pmcd.services, qa

To: pcp@xxxxxxxxxxx
Subject: pcp updates: scox merge, pmcd.services, qa
From: Nathan Scott <nathans@xxxxxxxxxx>
Date: Fri, 23 May 2014 01:18:56 -0400 (EDT)
Delivered-to: pcp@xxxxxxxxxxx
In-reply-to: <1206097450.13083278.1400820443326.JavaMail.zimbra@xxxxxxxxxx>
Reply-to: Nathan Scott <nathans@xxxxxxxxxx>
Thread-index: MaJSJDplQVpm4VHObc6Se8iRDZG4aw==
Thread-topic: pcp updates: scox merge, pmcd.services, qa
Changes committed to git://git.performancecopilot.org/pcp.git dev

 qa/366.out                      |    1 
 qa/507                          |    3 
 qa/709                          |   12 +--
 qa/722                          |    7 +-
 qa/722.out                      |    1 
 qa/common.filter                |    1 
 src/include/pcp/impl.h          |    2 
 src/libpcp/src/auxserver.c      |   38 ++++++++++++
 src/libpcp/src/exports          |    6 +
 src/libpcp/src/util.c           |   54 +++++++++++++++++
 src/libpcp/src/win32.c          |    6 +
 src/pcp/pcp.sh                  |    7 +-
 src/pmatop/pmatop.py            |   45 ++++++--------
 src/pmcd/src/pmcd.c             |   87 ----------------------------
 src/pmchart/main.cpp            |    2 
 src/pmcollectl/pmcollectl.py    |   42 ++++++-------
 src/pmdas/pmcd/help             |    4 +
 src/pmdas/pmcd/root_pmcd        |    3 
 src/pmdas/pmcd/src/pmcd.c       |  123 +++++++++++++++++++++++++++++++++++-----
 src/pmfind/pmfind.c             |   10 +--
 src/pmie/src/pmie.c             |   29 ---------
 src/pmlogconf/tools/pcp-summary |    1 
 src/pmmgr/pmmgr.cxx             |    4 +
 src/pmproxy/pmproxy.c           |    2 
 src/pmwebapi/main.c             |    1 
 25 files changed, 302 insertions(+), 189 deletions(-)

commit fcce8fd46a2a5b092b06b3f8fe2079d65fbcc4c5
Author: Nathan Scott <nathans@xxxxxxxxxx>
Date:   Fri May 23 14:43:06 2014 +1000

    Further sub-second recording changes for pmcollectl
    
    Found a couple more spots where we were chopping off
    the fractional portion of the sampling interval, and
    problematic recording resulted.
    
    With this and Stans earlier changes, qa/709 now runs
    in ~15sec elapsed, a handy four-fold speedbump.

commit 2ba521e01a954041c2fb7a642360bdad1a9b5edd
Merge: 28c5ef0 6dd921d
Author: Nathan Scott <nathans@xxxxxxxxxx>
Date:   Fri May 23 14:40:05 2014 +1000

    Merge branch 'scox/dev' of ../pcpfans into scox-merge
    
    Conflicts:
        qa/709
    
    (Resolved by taking mostly latest qa/709 from dev)

commit 6dd921d659da5222239601bdfe66b94866bd708b
Merge: cf157c7 c53efaa
Author: Nathan Scott <nathans@xxxxxxxxxx>
Date:   Fri May 23 13:55:25 2014 +1000

    Merge branch 'scox/dev' of git://sourceware.org/git/pcpfans into scox/dev

commit 28c5ef01edb73b710af7b78129acd5efe448451b
Author: Nathan Scott <nathans@xxxxxxxxxx>
Date:   Fri May 23 13:54:23 2014 +1000

    Fix pmchart test 1006, failing to produce accurate timestamps

commit bd5633383c2ee57011719fc5f1b334ae286f45bc
Author: Nathan Scott <nathans@xxxxxxxxxx>
Date:   Fri May 23 13:51:47 2014 +1000

    Take care with pmfind exit code, with multiple services
    
    Was causing a failure on test 724.  There's other lurking
    issues in this test (and the other avahi tests), in that
    they fail if services are active elsewhere on the network
    - not sure how best we can tackle that, except to say not
    to test on such a network for now.  :(

commit 1362154654f6a7f1fceeed5132b5607800d2c904
Author: Nathan Scott <nathans@xxxxxxxxxx>
Date:   Fri May 23 13:49:09 2014 +1000

    Add a pmcd.services metric reflecting PCP daemon usage
    
    After finding a need to quickly know which PCP services
    are active on a host, on a number of occassions now, I've
    finally cracked up and added a pmcd.services metric that
    reflect this state.  A line that looks alot like:
     services: pmcd pmmgr pmproxy pmwebd
    is added to pcp(1) output as well, using this metric when
    it is available (else, output is as it was before).
    
    This is implemented in a portable way by ensuring daemons
    all manage pidfiles the same way pmcd does ($PCP_RUN_DIR),
    so a helper function is added to libpcp for each server to
    make use of.  While there, pulled the open-coded stackdump
    functions from pmcd and pmie into a shared spot also since
    this is more generally useful (they were inconsistent too,
    with the pmie variant being relatively incomplete).
    
    A small improvement is added to the common pidfile code in
    that an atexit handler is now registered to cleanup, which
    pmcd was lacking (ala the log footer writer).  In addition
    the pidfiles are made readonly after initial creation.

commit c53efaa185ba48a2eb3462d12e4dd54f7f60440e
Author: Stan Cox <scox@xxxxxxxxxx>
Date:   Thu May 22 13:45:47 2014 -0400

    Setup command line during initialization.
    
        * pmatop.py (addstr):  Optionally clear to end of line.
          (_AtopPrint.init): Setup command_line.

commit 551df147760d08fc8950d6939aafa92fb9c3922b
Author: Stan Cox <scox@xxxxxxxxxx>
Date:   Wed May 21 22:39:57 2014 -0400

    Improve pmcollectl and pmatop log writing.
    
    * pmatop.py (record): Parse the log duration arg.
      Sleep with pmtimevalSleep.
      (main): Get the host name.  Parse the interval arg and use the result.
    * pmcollectl.py (record): Parse the log duration arg.
      Sleep with pmtimevalSleep.
      (main): Allow -iN.  Parse the interval arg and use the result.
    * 709: Check it.
    * 722: Check it.

<Prev in Thread] Current Thread [Next in Thread>
  • pcp updates: scox merge, pmcd.services, qa, Nathan Scott <=