pcp
[Top] [All Lists]

pcp updates

To: pcp@xxxxxxxxxxx
Subject: pcp updates
From: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date: Fri, 20 Jan 2012 21:53:56 +1100
Mostly FreeBSD changes that have been on the back burner for a while and
I need to clean 'em out before starting on the Coverity issues.

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

 configure.in                   |   11 
 man/man1/chkhelp.1             |   21 
 src/dbpmda/src/gram.y          |    2 
 src/libpcp/src/pmns.c          |    2 
 src/newhelp/chkhelp.c          |  200 +++++---
 src/pmcd/rc-proc.sh            |    8 
 src/pmcd/src/dopdus.c          |   14 
 src/pmdas/GNUmakefile          |    2 
 src/pmdas/freebsd/GNUmakefile  |   69 ++
 src/pmdas/freebsd/disk.c       |  208 ++++++++
 src/pmdas/freebsd/freebsd.c    |  973 +++++++++++++++++++++++++++++++++++++++++
 src/pmdas/freebsd/freebsd.h    |   44 +
 src/pmdas/freebsd/help         |   95 ++++
 src/pmdas/freebsd/netif.c      |  225 +++++++++
 src/pmdas/freebsd/root_freebsd |  165 ++++++
 src/pmdas/linux/pmda.c         |    2 
 src/pmns/pmnsutil.c            |    7 
 src/pmns/stdpmid.pcp           |    4 
 18 files changed, 1956 insertions(+), 96 deletions(-)

commit 5785e65169e617647fff735122d5e1e62a1a4e77
Author: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date:   Fri Jan 20 21:34:38 2012 +1100

    FreeBSD PMDA - newie
    
    A basic kernel PMDA for FreeBSD.  There are enough metrics here to allow
    pmstat to run, the pmchart Overview chart works, and most of the "sanity"
    group of QA tests pass.
    
    Other metrics could easily be added using the sysctl() or /dev/mem
    reader methods used so far.
    
    All the code here has been developed from scratch, although the /dev/kmem
    reader parts rely on recalling fragments from user space code I wrote
    for Edition 7 Unix some 34 years ago! ... 8^)>

commit 0f6d0c0f4879095e6951549a06e5408019183544
Author: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date:   Fri Jan 20 21:20:26 2012 +1100

    chkhelp - rework -e option
    
    On reflection, existence checking only makes sense if you use the PMNS,
    not the helpfile, to enumerate the metrics to be checked.

commit a623c25fcaeae9905f832077ce81ae951c2e7c3a
Author: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date:   Sat Jan 14 17:22:03 2012 +1100

    Build and PMDA domain number changes for FreeBSD

commit 8260fc3a7af329f1a225b56c18280486d81b6727
Author: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date:   Sat Jan 14 17:20:17 2012 +1100

    chkhelp - add -e option to check if help text exists

commit 6ac821f7b71445741c3a20c716bd206741249ef4
Author: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date:   Thu Jan 5 22:10:40 2012 +1100

    Assorted - botch in metric name lookup error handling
    
    When pmNameLookup() is called with a list of metric names that
    include a mix of derived metrics, dynamic metrics and unknown
    metrics, the logic for handling the mixture of "odd" pmids
    (PM_ID_NULL and pmid_domain(pmid) == DYNAMIC_PMID in particular)
    was not always correct.
    
    Found problems first in pmcd by accident during BSD pmda development,
    then similar problems identified in dbpmda and libpcp.
    
    QA/509 now checks for this type of botch.

commit 501a0ecee32dfda143c3e323c6f00faf5211fd49
Author: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date:   Thu Jan 5 10:45:35 2012 +1100

    linux pmda - correct typo in comment

commit 35f4195570590e924a6e8b41d8fe6d4fecbd96c2
Author: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date:   Thu Jan 5 09:13:28 2012 +1100

    configure.in - BSD changes
    
    Need group "wheel" not "root" for install ... just like darwin ... 8^)>

commit a87f754cf45f45167b52537fcb5566331c1a0b2c
Author: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date:   Thu Jan 5 09:08:25 2012 +1100

    domain numbering - FREEBSD -> BSDKERNEL
    
    Hoping that the one kernel PMDA will work for all the BSD variants,
    so rename the domain name to be more generic.



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