pcp
[Top] [All Lists]

pcp updates: zsh, pmrep, python containers, cgroup cpu metrics, qa

To: pcp developers <pcp@xxxxxxxxxxx>
Subject: pcp updates: zsh, pmrep, python containers, cgroup cpu metrics, qa
From: Nathan Scott <nathans@xxxxxxxxxx>
Date: Tue, 21 Jun 2016 01:40:37 -0400 (EDT)
Delivered-to: pcp@xxxxxxxxxxx
In-reply-to: <297920488.426696.1466487569558.JavaMail.zimbra@xxxxxxxxxx>
Reply-to: Nathan Scott <nathans@xxxxxxxxxx>
Thread-index: KnPmA+XfVnLtqnRtmL7gLY4A9c4iaA==
Thread-topic: pcp updates: zsh, pmrep, python containers, cgroup cpu metrics, qa
Changes committed to git://git.pcp.io/pcp.git master

Marko Myllynen (10):
      pmrep: improve command line parsing
      Here's draft to add support for containers in the Python PMAPI.
      pmrep: add support for containers
      pmrep: send only real values to zabbix
      pmrep: linguistics tweaks
      pmrep: reorder methods more logically
      pmafm: support standard --help option
      zsh completion: support pmafm/pmdbg/pmerr/pmie2col/pmlogcheck/pmloglabel
      zsh completion: --container is not mutually exclusive with --host
      qa: add another pmrep QA test

Nathan Scott (4):
      pmdalinux: add cgroup.cpusched.cfs_{period,quota} metrics
      qa: extend verification of container setup in Python PMAPI.
      qa: update expected output for test 722, missing colon
      pmrep: set script encoding now that non-ascii chars used

Ken McDonell (1):
      src/pmlogger/pmlogger_check.sh: extra hardening


 qa/1069                        |    2 
 qa/1069.out                    |    2 
 qa/1071                        |   95 +++++++++++++
 qa/1071.out                    |  150 ++++++++++++++++++++
 qa/722                         |    8 -
 qa/722.out                     |   13 +
 qa/730.out                     |  194 +++++++++++++++++++++++++++
 qa/731.out                     |   12 +
 qa/group                       |    1 
 qa/src/test_set_source.python  |   10 +
 src/include/pcp/impl.h         |    1 
 src/libpcp/src/exports         |    5 
 src/libpcp/src/getopt.c        |    6 
 src/pmafm/pmafm                |    2 
 src/pmdas/linux_proc/cgroups.c |   75 ++++++----
 src/pmdas/linux_proc/cgroups.h |    4 
 src/pmdas/linux_proc/help      |   22 ++-
 src/pmdas/linux_proc/pmda.c    |   16 ++
 src/pmdas/linux_proc/root_proc |    2 
 src/pmgetopt/pmgetopt.c        |    1 
 src/pmlogger/pmlogger_check.sh |   21 ++
 src/pmrep/TODO                 |    2 
 src/pmrep/pmrep.1              |   20 ++
 src/pmrep/pmrep.conf.5         |   74 +++++-----
 src/pmrep/pmrep.py             |  294 +++++++++++++++++++----------------------
 src/python/pcp/pmapi.py        |   10 +
 src/python/pmapi.c             |   42 +++++
 src/zshrc/_pcp                 |   91 ++++++++++--
 28 files changed, 917 insertions(+), 258 deletions(-)


commit 1381eac12eaa0e4033424546ebeee6017b19c408
Author: Nathan Scott <nathans@xxxxxxxxxx>
Date:   Tue Jun 21 15:34:56 2016 +1000

    pmrep: set script encoding now that non-ascii chars used

commit d223cb0b372bf822580e12e06792e99e72c44138
Author: Nathan Scott <nathans@xxxxxxxxxx>
Date:   Tue Jun 21 15:34:25 2016 +1000

    qa: update expected output for test 722, missing colon

commit 89bef6245cf06635688138af6c846662355fd5f6
Author: Marko Myllynen <myllynen@xxxxxxxxxx>
Date:   Tue Jun 21 12:51:42 2016 +1000

    qa: add another pmrep QA test
    
    QA test case utilizing the recently added rep archive which
    contains more or less every type of metric seen in real-life
    (see mk.rep.sh for a complete list of metrics).

commit 526f4b5e2ca7544a3cee91486440b16dbb784990
Author: Marko Myllynen <myllynen@xxxxxxxxxx>
Date:   Tue Jun 21 12:48:56 2016 +1000

    zsh completion: --container is not mutually exclusive with --host

commit f209a12ec3a47ed5af2e972ba39da489638c4d53
Author: Marko Myllynen <myllynen@xxxxxxxxxx>
Date:   Tue Jun 21 12:48:13 2016 +1000

    zsh completion: support pmafm/pmdbg/pmerr/pmie2col/pmlogcheck/pmloglabel

commit 54def52cce49e386a3dbdb839567f6b0ed145cf6
Author: Marko Myllynen <myllynen@xxxxxxxxxx>
Date:   Tue Jun 21 12:47:09 2016 +1000

    pmafm: support standard --help option

commit 88eee354b9da47d3f0c431a7708e2d2940f3fd1c
Author: Marko Myllynen <myllynen@xxxxxxxxxx>
Date:   Tue Jun 21 12:46:20 2016 +1000

    pmrep: reorder methods more logically
    
    Zero changes for functionality, makes the flow of the execution
    hopefully more easier to follow.

commit 2d30e0265c621c130c25ef3c53c30eefa02eb265
Author: Marko Myllynen <myllynen@xxxxxxxxxx>
Date:   Tue Jun 21 12:45:11 2016 +1000

    pmrep: linguistics tweaks
    
    For me as a non-native speaker argument/option/parameter don't
    make a difference but option is inline with other areas of PCP.

commit cfd91c5a09dd73f36dec93ca79cbe160670687ec
Author: Marko Myllynen <myllynen@xxxxxxxxxx>
Date:   Tue Jun 21 12:42:43 2016 +1000

    pmrep: send only real values to zabbix

commit c42f7d94fb4831585d59031429395ec65e2b8eaf
Author: Marko Myllynen <myllynen@xxxxxxxxxx>
Date:   Tue Jun 21 12:41:56 2016 +1000

    pmrep: add support for containers
    
    Add containers support for pmrep(1), nicely illustrates the
    power of the underlying machinery.

commit 8421eae258c62697194b619ca11ac34196d882f0
Author: Nathan Scott <nathans@xxxxxxxxxx>
Date:   Tue Jun 21 12:39:57 2016 +1000

    qa: extend verification of container setup in Python PMAPI.
    
    Ensure qa/722 can see the requested container.
    
    Related to Fedora BZ #1333702.

commit f4d8062dd3e80d057901d8fdb2d3a6ab8bf55712
Author: Marko Myllynen <myllynen@xxxxxxxxxx>
Date:   Tue Jun 21 11:30:24 2016 +1000

    Here's draft to add support for containers in the Python PMAPI.
    
    A follow-up patch for pmrep will use this and it works nicely.
    This also updates pmoptget(1) to understand the --containers
    option.
    
    Resolves Fedora BZ #1333702.

commit a194578617c59fcc4a66d2815c775f5476e62285
Author: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date:   Tue Jun 21 10:56:21 2016 +1000

    src/pmlogger/pmlogger_check.sh: extra hardening
    
    Similar to the pmie_check.sh changes, extra checks and expunged the
    chown -R that is dangerous in the extreme.

commit 46dcdb1d53bf2c11765f697d9b7a894bb83fb256
Author: Marko Myllynen <myllynen@xxxxxxxxxx>
Date:   Tue Jun 21 10:15:12 2016 +1000

    pmrep: improve command line parsing
    
    This addresses command line parsing issue where options had to be
    separated from switches with a space unlike with other tools.
    
    Creates context more "manually" to allow controlling the time of
    the command parsing and allows to get rid of some wordarounds.

commit 49135f1187437f6df14cfbb152aad6a7c7fd87b8
Author: Nathan Scott <nathans@xxxxxxxxxx>
Date:   Tue Jun 21 08:38:38 2016 +1000

    pmdalinux: add cgroup.cpusched.cfs_{period,quota} metrics

<Prev in Thread] Current Thread [Next in Thread>
  • pcp updates: zsh, pmrep, python containers, cgroup cpu metrics, qa, Nathan Scott <=