pcp
[Top] [All Lists]

pcp updates

To: pcp@xxxxxxxxxxx
Subject: pcp updates
From: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date: Sat, 07 May 2011 15:07:24 +1000
Reply-to: kenj@xxxxxxxxxxxxxxxx
Subject to no issues being found on Windows or Solaris (that I cannot
test), I suggest these are also 3.5 release fodder.

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

 src/dbpmda/src/pmda.c        |    2 +-
 src/libpcp_pmda/src/open.c   |    2 +-
 src/pmcd/src/config.c        |    2 +-
 src/pmdas/aix/data.c         |    8 ++++----
 src/pmdas/darwin/GNUmakefile |    2 +-
 src/pmdas/darwin/pmda.c      |   26 +++++++++++++++++---------
 src/pmdas/darwin/pmns        |    3 ++-
 src/pmdas/linux/pmda.c       |    2 +-
 src/pmdas/solaris/data.c     |    4 ++--
 src/pmdas/windows/pmda.c     |    6 +++---
 src/pmie/pmie_check.sh       |    2 +-
 src/pmie/pmie_daily.sh       |   22 ++++++++++------------
 12 files changed, 44 insertions(+), 37 deletions(-)

commit d1917fc8756eb48b03e431dee268ca001785fe54
Author: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date:   Sat May 7 07:02:17 2011 +1000

    darwin pmda - filesys.maxfiles metric
    
    Minor tweak to last change to use a different PMID for the new metric
    and preserve the PMDA's internal "direct mapping" in the metric table.

commit 1b185fb7e0f929fae3014368363c4f67c26c3533
Author: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date:   Sat May 7 06:50:09 2011 +1000

    pmie_daily - assorted minor fixups
    
    - handling of realpath equivalent in _unsymlink_path() was not
      strictly correct, and failed on Mac OS X where /tmp is really
      a symlink to /private/tmp
    - the test for existence of a process used /proc/pinfo/<pid> or
      /proc/<pid> ... the exit status from ps -p is a much more
      portable way to do this
    - improved diagnostics with -VV to help track matching running
      processes against the control file and the contents of
      $PCP_TMP_DIR/pmie

commit 0628cb94bd7aafa0eb6c73cadc3dde3f52076a41
Author: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date:   Sat May 7 06:43:32 2011 +1000

    pmie_check - fix cosmetic issue with portable echo -n use

commit 3445cedfe73186a6e7e43b7b630c00442ccb5bd9
Author: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date:   Fri May 6 10:17:43 2011 +1000

    hinv.nXXX metrics - make metadata consistent
    
    Across all the platform PMDAs, the semantics of the hinv.ncpu, hinv.ndisk,
    etc. metrics should be consistent.  You can toss a coin and decide
    their units should be "none" or "count" ... I decided "none" and made
    it so everywhere.

commit 9ed7f9f6ede0de3fc0c31da9993090bd7442f235
Author: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date:   Thu May 5 16:14:17 2011 +1000

    darwin pmda - correct filesys metrics
    
    - filesys.usedfiles was really filesys.maxfiles
    - filesys.maxfiles was missing
    - added correct dependencies to makefile for root_darwin

commit f7e928b459b790ceda55fc453cb2732479a4c3dc
Author: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date:   Thu May 5 13:28:55 2011 +1000

    Unix domain socket issue found on Mac OS X
    
    Mac OS X (and hence BSD) systems use a _different_ sockaddr_un
    struct to the rest of the world!  Changed the length calculation
    for the bind() and connect() calls to use a more portable method.



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