From nscott@aconex.com Fri May 1 02:11:48 2009 X-Spam-Checker-Version: SpamAssassin 3.3.0-rupdated (updated) on oss.sgi.com X-Spam-Level: X-Spam-Status: No, score=-2.2 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.3.0-rupdated Received: from cuda.sgi.com (cuda3.sgi.com [192.48.176.15]) by oss.sgi.com (8.14.3/8.14.3/SuSE Linux 0.8) with ESMTP id n417BlkH260112 for ; Fri, 1 May 2009 02:11:48 -0500 X-ASG-Debug-ID: 1241161906-103e01870000-S8gJnT X-Barracuda-URL: http://cuda.sgi.com:80/cgi-bin/mark.cgi Received: from postoffice2.aconex.com (localhost [127.0.0.1]) by cuda.sgi.com (Spam Firewall) with ESMTP id 59F251D01FED for ; Fri, 1 May 2009 00:11:46 -0700 (PDT) Received: from postoffice2.aconex.com (mail.aconex.com [203.89.202.182]) by cuda.sgi.com with ESMTP id BG1k36z2Bj6b7H4g for ; Fri, 01 May 2009 00:11:46 -0700 (PDT) Received: from postoffice.aconex.com (localhost [127.0.0.1]) by postoffice2.aconex.com (Spam Firewall) with ESMTP id 6542B509BB9 for ; Fri, 1 May 2009 17:11:44 +1000 (EST) Received: from postoffice.aconex.com (postoffice.yarra.acx [192.168.102.1]) by postoffice2.aconex.com with ESMTP id zgHU4UpvDe3cZJTT for ; Fri, 01 May 2009 17:11:44 +1000 (EST) Received: from gatekeeper.aconex.com (gatekeeper.yarra.acx [192.168.102.10]) by postoffice.aconex.com (Postfix) with ESMTP id C8C132C03D for ; Fri, 1 May 2009 17:11:02 +1000 (EST) Received: from localhost (localhost.localdomain [127.0.0.1]) by gatekeeper.aconex.com (Postfix) with ESMTP id 28BD24FD99 for ; Fri, 1 May 2009 17:15:01 +1000 (EST) X-Virus-Scanned: ClamAV version 0.94.2, clamav-milter version 0.94.2 on oss.sgi.com X-Virus-Scanned: amavisd-new at gatekeeper.yarra.acx Received: from gatekeeper.aconex.com ([127.0.0.1]) by localhost (gatekeeper.aconex.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id zkehDVye44jC for ; Fri, 1 May 2009 17:14:52 +1000 (EST) Received: from mail-au.aconex.com (mail-au.aconex.com [192.168.102.12]) by gatekeeper.aconex.com (Postfix) with ESMTP id 460724FDA9 for ; Fri, 1 May 2009 17:14:47 +1000 (EST) Date: Fri, 1 May 2009 17:11:29 +1000 (EST) From: Nathan Scott To: pcp@oss.sgi.com Message-ID: <1857869869.4361841241161889396.JavaMail.root@mail-au.aconex.com> X-ASG-Orig-Subj: pcp updates (win32) Subject: pcp updates (win32) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Originating-IP: [203.89.192.141] X-Mailer: Zimbra 5.0.13_GA_2791.RHEL5_64 (ZimbraWebClient - [unknown] (Linux)/5.0.13_GA_2791.RHEL5_64) X-Barracuda-Connect: mail.aconex.com[203.89.202.182] X-Barracuda-Start-Time: 1241161908 X-Barracuda-Bayes: INNOCENT GLOBAL 0.0000 1.0000 -2.0208 X-Barracuda-Virus-Scanned: by cuda.sgi.com at sgi.com X-Barracuda-Spam-Score: -2.02 X-Barracuda-Spam-Status: No, SCORE=-2.02 using per-user scores of TAG_LEVEL=2.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=2.1 tests= X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.1.24594 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- X-Virus-Status: Clean Changes committed to git://oss.sgi.com/nathans/pcp.git src/include/impl.h | 12 -- src/libpcp/src/logportmap.c | 24 ++--- src/pmdas/windows/instance.c | 7 + src/pmdas/windows/open.c | 23 +++-- src/pmdas/windows/pdhlist.c | 75 ++++++---------- src/pmdas/windows/pmda.c | 194 +++++++++++++++++++++---------------------- src/pmlogger/ports.c | 35 ++----- 7 files changed, 169 insertions(+), 201 deletions(-) commit 4ea2709b00af1015f9757837eb7bd5254ecfa101 Author: Nathan Scott Date: Fri May 1 16:52:21 2009 +1000 Use generic PdhExpandCounter regexs for Windows metrics with indoms. After initial testing, this seems to work for both Windows Server 2003 and 2008. More testing needed, but pmdawindows is now much more stable for me on 2008, so push the change in for others. This might well resolve some of the pmdawindows issues Chatz saw on some desktop Windows variants as well (XP IIRC). commit 1bed5b2f5983fd4ff2bf552ded03f2fa0a328efa Author: Nathan Scott Date: Fri May 1 16:43:41 2009 +1000 Make the code which expands Windows metric names more robust. commit e2dec6afb26de16247a1022a37f2f79d4bef202c Author: Nathan Scott Date: Fri May 1 16:42:57 2009 +1000 Tweaks to instance domain parsing for Windows 2008. commit e52d51f497c74b288f4fee985c78a8939e274b2b Author: Nathan Scott Date: Fri May 1 16:36:30 2009 +1000 pdhlist uses new metric name regex always now (works for W2K3 too). commit af890048870947ce420ac287e896f8851b626f61 Author: Nathan Scott Date: Fri May 1 16:28:16 2009 +1000 Extend the Windows pdhlist.c utility sources for Windows testing. At some point between Windows Server 2003 and 2008 the regular expression syntax for the PdhExpandCounterPath has mutated. Still figuring out the exact extent of this, but it prevents the Windows PMDA metrics with instances from functioning at all currently, due to the old regexs for those no longer being accepted. This change extends a diagnostic utility to better assist this exercise. commit 8c5763fda6b77e16bcd21ef4ad260333edb95300 Author: Nathan Scott Date: Fri May 1 16:11:00 2009 +1000 After freeing a value set pointer, set it to NULL for realloc. This was causing havoc in the Windows PMDA under Windows Server 2008, as random memory corruption would result in realloc. commit 3c5c3646fff527e90d93bffaec79b916630575ac Author: Nathan Scott Date: Fri May 1 16:08:52 2009 +1000 Rework the pmlogger control file path handling. Remove PM_LOG_PORT_DIR and PM_LOG_PRIMARY_LINK macros. These hard-coded POSIX paths to /var/tmp, now we use PCP_TMP_DIR and Win32 gets a fighting chance. Some of the earlier Windows code is then able to be removed and/or simplified. Win32 scandir returns an error on ENOENT too, so handle that. From nscott@aconex.com Mon May 4 01:14:54 2009 X-Spam-Checker-Version: SpamAssassin 3.3.0-rupdated (updated) on oss.sgi.com X-Spam-Level: X-Spam-Status: No, score=-2.5 required=5.0 tests=AWL,BAYES_00,J_CHICKENPOX_45 autolearn=no version=3.3.0-rupdated Received: from cuda.sgi.com (cuda2.sgi.com [192.48.176.25]) by oss.sgi.com (8.14.3/8.14.3/SuSE Linux 0.8) with ESMTP id n446Erdq158598 for ; Mon, 4 May 2009 01:14:54 -0500 X-ASG-Debug-ID: 1241417694-1c1003b30000-S8gJnT X-Barracuda-URL: http://cuda.sgi.com:80/cgi-bin/mark.cgi Received: from postoffice2.aconex.com (localhost [127.0.0.1]) by cuda.sgi.com (Spam Firewall) with ESMTP id 08CCF25D1D8 for ; Sun, 3 May 2009 23:14:54 -0700 (PDT) Received: from postoffice2.aconex.com (mail.aconex.com [203.89.202.182]) by cuda.sgi.com with ESMTP id d1tKXCTD0XFCUMTp for ; Sun, 03 May 2009 23:14:54 -0700 (PDT) Received: from postoffice.aconex.com (localhost [127.0.0.1]) by postoffice2.aconex.com (Spam Firewall) with ESMTP id 0C1BB76B4F5 for ; Mon, 4 May 2009 16:14:37 +1000 (EST) Received: from postoffice.aconex.com (postoffice.yarra.acx [192.168.102.1]) by postoffice2.aconex.com with ESMTP id 5DLOEZiKN6Bswj0F for ; Mon, 04 May 2009 16:14:37 +1000 (EST) Received: from gatekeeper.aconex.com (gatekeeper.yarra.acx [192.168.102.10]) by postoffice.aconex.com (Postfix) with ESMTP id 71E9C2C03D for ; Mon, 4 May 2009 16:13:16 +1000 (EST) Received: from localhost (localhost.localdomain [127.0.0.1]) by gatekeeper.aconex.com (Postfix) with ESMTP id 6E75D4FDA0 for ; Mon, 4 May 2009 16:18:18 +1000 (EST) X-Virus-Scanned: ClamAV version 0.94.2, clamav-milter version 0.94.2 on oss.sgi.com X-Virus-Scanned: amavisd-new at gatekeeper.yarra.acx Received: from gatekeeper.aconex.com ([127.0.0.1]) by localhost (gatekeeper.aconex.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 10ErMztFeTdK for ; Mon, 4 May 2009 16:18:12 +1000 (EST) Received: from mail-au.aconex.com (mail-au.aconex.com [192.168.102.12]) by gatekeeper.aconex.com (Postfix) with ESMTP id E17414FDA5 for ; Mon, 4 May 2009 16:18:10 +1000 (EST) Date: Mon, 4 May 2009 16:14:29 +1000 (EST) From: Nathan Scott To: pcp@oss.sgi.com Message-ID: <329087779.4421631241417669361.JavaMail.root@mail-au.aconex.com> X-ASG-Orig-Subj: pcp updates (Win32) Subject: pcp updates (Win32) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Originating-IP: [211.28.214.49] X-Mailer: Zimbra 5.0.13_GA_2791.RHEL5_64 (ZimbraWebClient - SAF3 (Mac)/5.0.13_GA_2791.RHEL5_64) X-Barracuda-Connect: mail.aconex.com[203.89.202.182] X-Barracuda-Start-Time: 1241417696 X-Barracuda-Bayes: INNOCENT GLOBAL 0.1068 1.0000 -1.3523 X-Barracuda-Virus-Scanned: by cuda.sgi.com at sgi.com X-Barracuda-Spam-Score: -1.35 X-Barracuda-Spam-Status: No, SCORE=-1.35 using per-user scores of TAG_LEVEL=2.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=2.1 tests= X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.1.24859 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- X-Virus-Status: Clean Changes committed to git://oss.sgi.com/nathans/pcp.git src/pmdas/windows/instance.c | 2 src/pmdas/windows/open.c | 3 src/pmdas/windows/pdhlist.c | 1 src/win32ctl/pcp-services.c | 292 +++---------------------------------------- 4 files changed, 25 insertions(+), 273 deletions(-) commit 602a346c3af8efdce2ae4b6cf49704d0adc06847 Author: Nathan Scott Date: Mon May 4 16:07:07 2009 +1000 Greatly simplify the pcp-services program. It turns out that alot of what we were doing here can be done from the shell already, using sc.exe. So, rip out a bunch of redundant code and we'll run sc.exe in the install process instead of our own utility. commit 505644050548bc11806058c163a8e04027a5bd3f Author: Nathan Scott Date: Mon May 4 16:05:32 2009 +1000 Fix incorrect free before realloc, causing Win Server 2003 PMDA crashes. commit e992c92d67efdb48c6b976dadeb14cccd5ac1c0a Author: Nathan Scott Date: Mon May 4 16:04:39 2009 +1000 Fix string index off-by-one in pmda.uname metrics for Windows. commit a13da1acef34515ff488366ca12a578d642b07bd Author: Nathan Scott Date: Mon May 4 16:03:43 2009 +1000 Fix Windows builds - missed diagnostic variable declaration in debug tool. commit 3a20a83633c303225f237a1068753be8e2d3aa1c Author: Nathan Scott Date: Mon May 4 16:02:47 2009 +1000 Fix up mismerge of last checkin, missing code snippet in Windows PMDA From nscott@aconex.com Mon May 4 01:19:58 2009 X-Spam-Checker-Version: SpamAssassin 3.3.0-rupdated (updated) on oss.sgi.com X-Spam-Level: X-Spam-Status: No, score=-2.5 required=5.0 tests=AWL,BAYES_00,J_CHICKENPOX_41 autolearn=no version=3.3.0-rupdated Received: from cuda.sgi.com (cuda2.sgi.com [192.48.176.25]) by oss.sgi.com (8.14.3/8.14.3/SuSE Linux 0.8) with ESMTP id n446JwGs158804 for ; Mon, 4 May 2009 01:19:58 -0500 X-ASG-Debug-ID: 1241417999-380300870000-S8gJnT X-Barracuda-URL: http://cuda.sgi.com:80/cgi-bin/mark.cgi Received: from postoffice2.aconex.com (localhost [127.0.0.1]) by cuda.sgi.com (Spam Firewall) with ESMTP id C350825CEEA for ; Sun, 3 May 2009 23:20:00 -0700 (PDT) Received: from postoffice2.aconex.com (mail.aconex.com [203.89.202.182]) by cuda.sgi.com with ESMTP id QkscDdfJroIDsCto for ; Sun, 03 May 2009 23:20:00 -0700 (PDT) Received: from postoffice.aconex.com (localhost [127.0.0.1]) by postoffice2.aconex.com (Spam Firewall) with ESMTP id B7A19512A06 for ; Mon, 4 May 2009 16:19:58 +1000 (EST) Received: from postoffice.aconex.com (postoffice.yarra.acx [192.168.102.1]) by postoffice2.aconex.com with ESMTP id RhzEoizVFIsa9Pse for ; Mon, 04 May 2009 16:19:58 +1000 (EST) Received: from gatekeeper.aconex.com (gatekeeper.yarra.acx [192.168.102.10]) by postoffice.aconex.com (Postfix) with ESMTP id 185572C03D for ; Mon, 4 May 2009 16:18:38 +1000 (EST) Received: from localhost (localhost.localdomain [127.0.0.1]) by gatekeeper.aconex.com (Postfix) with ESMTP id 22B504FDA2 for ; Mon, 4 May 2009 16:23:40 +1000 (EST) X-Virus-Scanned: ClamAV version 0.94.2, clamav-milter version 0.94.2 on oss.sgi.com X-Virus-Scanned: amavisd-new at gatekeeper.yarra.acx Received: from gatekeeper.aconex.com ([127.0.0.1]) by localhost (gatekeeper.aconex.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id mqo9D6pMmayK for ; Mon, 4 May 2009 16:23:34 +1000 (EST) Received: from mail-au.aconex.com (mail-au.aconex.com [192.168.102.12]) by gatekeeper.aconex.com (Postfix) with ESMTP id 3B5E04FD99 for ; Mon, 4 May 2009 16:23:34 +1000 (EST) Date: Mon, 4 May 2009 16:19:52 +1000 (EST) From: Nathan Scott To: pcp@oss.sgi.com Message-ID: <1035955022.4421921241417992679.JavaMail.root@mail-au.aconex.com> X-ASG-Orig-Subj: pcpweb updates (Win32) Subject: pcpweb updates (Win32) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Originating-IP: [211.28.214.49] X-Mailer: Zimbra 5.0.13_GA_2791.RHEL5_64 (ZimbraWebClient - SAF3 (Mac)/5.0.13_GA_2791.RHEL5_64) X-Barracuda-Connect: mail.aconex.com[203.89.202.182] X-Barracuda-Start-Time: 1241418000 X-Barracuda-Bayes: INNOCENT GLOBAL 0.0065 1.0000 -1.9787 X-Barracuda-Virus-Scanned: by cuda.sgi.com at sgi.com X-Barracuda-Spam-Score: -1.48 X-Barracuda-Spam-Status: No, SCORE=-1.48 using per-user scores of TAG_LEVEL=2.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=2.1 tests=BSF_RULE7568M X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.1.24861 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- 0.50 BSF_RULE7568M Custom Rule 7568M X-Virus-Status: Clean Changes committed to git://oss.sgi.com/pcp/pcpweb.git win32/Glider.pm | 5 ++++- win32/README | 13 ++++++++----- 2 files changed, 12 insertions(+), 6 deletions(-) commit 5d17b138f27f22cc63deb75823d0d99515d9641e Author: Nathan Scott Date: Mon May 4 16:13:44 2009 +1000 Updates to the Win32 build process and documentation. Use qt-4.3.4 libraries for initial Glider version, as they do not have the QTreeWidget bug which affects the metric selection dialog (that qt-4.4.0 does). Add in the Coin3d libraries while there. Documentation updates - esp. fix location of pmconfig.exe (PCP_CONFIG variable), add install instructions for Coin3D. From nscott@aconex.com Mon May 4 20:46:58 2009 X-Spam-Checker-Version: SpamAssassin 3.3.0-rupdated (updated) on oss.sgi.com X-Spam-Level: X-Spam-Status: No, score=-2.2 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.3.0-rupdated Received: from cuda.sgi.com (cuda3.sgi.com [192.48.176.15]) by oss.sgi.com (8.14.3/8.14.3/SuSE Linux 0.8) with ESMTP id n451kwFB236206 for ; Mon, 4 May 2009 20:46:58 -0500 X-ASG-Debug-ID: 1241488018-129d029d0000-S8gJnT X-Barracuda-URL: http://cuda.sgi.com:80/cgi-bin/mark.cgi Received: from postoffice2.aconex.com (localhost [127.0.0.1]) by cuda.sgi.com (Spam Firewall) with ESMTP id E51CA1D0C7FD for ; Mon, 4 May 2009 18:46:58 -0700 (PDT) Received: from postoffice2.aconex.com (mail.aconex.com [203.89.202.182]) by cuda.sgi.com with ESMTP id Ry1mwHo9K1ZDb4uh for ; Mon, 04 May 2009 18:46:58 -0700 (PDT) Received: from postoffice.aconex.com (localhost [127.0.0.1]) by postoffice2.aconex.com (Spam Firewall) with ESMTP id 14C0E519F3D for ; Tue, 5 May 2009 11:46:57 +1000 (EST) Received: from postoffice.aconex.com (postoffice.yarra.acx [192.168.102.1]) by postoffice2.aconex.com with ESMTP id PltS3ZgEHEnFchqk for ; Tue, 05 May 2009 11:46:57 +1000 (EST) Received: from gatekeeper.aconex.com (gatekeeper.yarra.acx [192.168.102.10]) by postoffice.aconex.com (Postfix) with ESMTP id CDB6D2C03D for ; Tue, 5 May 2009 11:45:25 +1000 (EST) Received: from localhost (localhost.localdomain [127.0.0.1]) by gatekeeper.aconex.com (Postfix) with ESMTP id EB9F14FD89 for ; Tue, 5 May 2009 11:50:44 +1000 (EST) X-Virus-Scanned: ClamAV version 0.94.2, clamav-milter version 0.94.2 on oss.sgi.com X-Virus-Scanned: amavisd-new at gatekeeper.yarra.acx Received: from gatekeeper.aconex.com ([127.0.0.1]) by localhost (gatekeeper.aconex.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id y2IetZssCf7m for ; Tue, 5 May 2009 11:50:41 +1000 (EST) Received: from mail-au.aconex.com (mail-au.aconex.com [192.168.102.12]) by gatekeeper.aconex.com (Postfix) with ESMTP id 28B614FD84 for ; Tue, 5 May 2009 11:50:41 +1000 (EST) Date: Tue, 5 May 2009 11:46:53 +1000 (EST) From: Nathan Scott To: pcp Message-ID: <1767488957.4465141241488013189.JavaMail.root@mail-au.aconex.com> X-ASG-Orig-Subj: pcp-gui updates (1.4.0) Subject: pcp-gui updates (1.4.0) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Originating-IP: [203.89.192.141] X-Mailer: Zimbra 5.0.13_GA_2791.RHEL5_64 (ZimbraWebClient - [unknown] (Linux)/5.0.13_GA_2791.RHEL5_64) X-Barracuda-Connect: mail.aconex.com[203.89.202.182] X-Barracuda-Start-Time: 1241488020 X-Barracuda-Bayes: INNOCENT GLOBAL 0.0000 1.0000 -2.0210 X-Barracuda-Virus-Scanned: by cuda.sgi.com at sgi.com X-Barracuda-Spam-Score: -1.52 X-Barracuda-Spam-Status: No, SCORE=-1.52 using per-user scores of TAG_LEVEL=2.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=2.1 tests=BSF_RULE7568M X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.1.24935 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- 0.50 BSF_RULE7568M Custom Rule 7568M X-Virus-Status: Clean Changes committed to git://oss.sgi.com/pcp/pcp-gui.git VERSION | 4 ++-- build/rpm/pcp-gui.spec.in | 8 +++++++- debian/changelog | 6 ++++++ debian/control | 10 ++++++++-- doc/CHANGES | 6 ++++++ src/chart/chart.cpp | 12 ++++++------ src/chart/main.cpp | 4 ++-- src/chart/main.h | 2 +- src/chart/pmchart.cpp | 2 +- src/chart/statusbar.cpp | 8 ++++---- src/chart/tabwidget.cpp | 2 +- src/chart/timeaxis.cpp | 2 +- src/dumptext/pmdumptext.cpp | 2 +- 13 files changed, 46 insertions(+), 22 deletions(-) commit 426817fb03d3eb65c14664b851ed3c67998fdf6d Author: Nathan Scott Date: Tue May 5 11:10:41 2009 +1000 Bump stable version number to 1.4.0. commit 941934b49a61276dbdeb135c5d9bb1a1a8a6c0c5 Author: Nathan Scott Date: Tue May 5 11:09:17 2009 +1000 Make package descriptions more verbose, at request of some Debian folk. commit c7b2bdff4f676b895c1ec80c862bea8c689c918c Author: Nathan Scott Date: Tue May 5 04:42:03 2009 +0400 Fix the pmchart font problem under X11 -- FINALLY! Reported by *many* people over the years now, particularly prevalent on Fedora though. After a recent Debian upgrade at last I have a system which exhibits the problem, and an hour or so of prodding and poking uncovered the problem. It turns out that the use of a global QFont object for the small font was the cause. This meant the constructor was being run before any other objects, including QApplication and QMainWindow objects ... and somehow this confused all manner of things downstream, once those later constructors did get run. Converting this global to a pointer and then calling the constructor at a more appropriate point in the main() routine gets fonts displayed correctly. Yippeeeee! commit 960fa440dc5faea161011164bf3509a47d7b4aaa Author: Nathan Scott Date: Tue May 5 04:34:10 2009 +0400 Fix a pmdumptext timezone handling bug. Cannot use a QString-converted-to-C-string for putenv, we need to strdup() that so that the C string does not change underneath us (and hence accidentally get reflected in the environment). Thanks to Rodney McKee for reporting this. From jmaly@sgi.com Wed May 6 04:05:00 2009 X-Spam-Checker-Version: SpamAssassin 3.3.0-rupdated (updated) on oss.sgi.com X-Spam-Level: ** X-Spam-Status: No, score=2.8 required=5.0 tests=BAYES_40,HTML_MESSAGE autolearn=no version=3.3.0-rupdated Received: from relay.sgi.com (relay3.corp.sgi.com [198.149.34.15]) by oss.sgi.com (8.14.3/8.14.3/SuSE Linux 0.8) with ESMTP id n46950ac104545 for ; Wed, 6 May 2009 04:05:00 -0500 Received: from rdg-emea002e--3.emea.sgi.com (rdg-emea002e--3.emea.sgi.com [144.253.64.207]) by relay3.corp.sgi.com (Postfix) with ESMTP id E48C8AC010 for ; Wed, 6 May 2009 02:05:00 -0700 (PDT) Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C9CE29.BBF1AF7E" Subject: pmice command for PP5SP2 X-MimeOLE: Produced By Microsoft Exchange V6.5 Date: Wed, 6 May 2009 10:04:59 +0100 Message-ID: <9ECE575E7C19E3468632017ED7B7DF65015957E5@rdg-emea002e--3.emea.sgi.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: pmice command for PP5SP2 Thread-Index: AcnOKbtsfwO95HudRA2Akhewj3pv3A== From: "Jan Maly" To: X-Virus-Scanned: ClamAV version 0.94.2, clamav-milter version 0.94.2 on oss.sgi.com X-Virus-Status: Clean This is a multi-part message in MIME format. ------_=_NextPart_001_01C9CE29.BBF1AF7E Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Hello all, =20 Does anybody know if exist "pmice" for PP5SP2 I found that "pmice" is a part of pcp-sgi-2.7.6, unfortunately I have server with the PP5SP2 (pcp-sgi-2.7.1) I think that the update to 2.7.6 is not possible because of a lot of dependencies. =20 How can I solve this issue if I would like to use "pmice" in PP5SP2 ? =20 Thank you. Jan Maly, SGI =20 ------_=_NextPart_001_01C9CE29.BBF1AF7E Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable
Hello=20 all,
 
Does = anybody know if=20 exist "pmice" for PP5SP2
I = found that "pmice"=20 is a part of pcp-sgi-2.7.6, unfortunately I have server with the PP5SP2=20 (pcp-sgi-2.7.1)
I = think that the=20 update to 2.7.6 is not possible because of a lot of=20 dependencies.
 
How = can I solve this=20 issue if I would like to use "pmice" in PP5SP2 ?
 
Thank=20 you.
Jan = Maly,=20 SGI
 
------_=_NextPart_001_01C9CE29.BBF1AF7E-- From jmaly@sgi.com Wed May 6 05:44:16 2009 X-Spam-Checker-Version: SpamAssassin 3.3.0-rupdated (updated) on oss.sgi.com X-Spam-Level: ** X-Spam-Status: No, score=2.8 required=5.0 tests=BAYES_40,HTML_MESSAGE autolearn=no version=3.3.0-rupdated Received: from relay.sgi.com (relay3.corp.sgi.com [198.149.34.15]) by oss.sgi.com (8.14.3/8.14.3/SuSE Linux 0.8) with ESMTP id n46AiFqP107289 for ; Wed, 6 May 2009 05:44:15 -0500 Received: from rdg-emea002e--3.emea.sgi.com (rdg-emea002e--3.emea.sgi.com [144.253.64.207]) by relay3.corp.sgi.com (Postfix) with ESMTP id E5273AC007 for ; Wed, 6 May 2009 03:44:15 -0700 (PDT) Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C9CE37.9960C23E" Subject: pmice command for PP5SP2 X-MimeOLE: Produced By Microsoft Exchange V6.5 Date: Wed, 6 May 2009 11:44:11 +0100 Message-ID: <9ECE575E7C19E3468632017ED7B7DF6501595816@rdg-emea002e--3.emea.sgi.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: pmice command for PP5SP2 Thread-Index: AcnON5dPTx2LEa9qQrWeg9ghCYHxHw== From: "Jan Maly" To: X-Virus-Scanned: ClamAV version 0.94.2, clamav-milter version 0.94.2 on oss.sgi.com X-Virus-Status: Clean This is a multi-part message in MIME format. ------_=_NextPart_001_01C9CE37.9960C23E Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Hello all, =20 Does anybody know if exist "pmice" for PP5SP2 I found that "pmice" is a part of pcp-sgi-2.7.6, unfortunately I have server with the PP5SP2 (pcp-sgi-2.7.1) I think that the update to 2.7.6 is not possible because of a lot of dependencies. =20 How can I solve this issue if I would like to use "pmice" in PP5SP2 ? =20 Thank you. Jan Maly, SGI ------_=_NextPart_001_01C9CE37.9960C23E Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable
Hello=20 all,
 
Does = anybody know if=20 exist "pmice" for PP5SP2
I = found that "pmice"=20 is a part of pcp-sgi-2.7.6, unfortunately I have server with the PP5SP2=20 (pcp-sgi-2.7.1)
I = think that the=20 update to 2.7.6 is not possible because of a lot of=20 dependencies.
 
How = can I solve this=20 issue if I would like to use "pmice" in PP5SP2 ?
 
Thank=20 you.
Jan = Maly,=20 SGI
------_=_NextPart_001_01C9CE37.9960C23E-- From mort@sgi.com Wed May 6 14:16:13 2009 X-Spam-Checker-Version: SpamAssassin 3.3.0-rupdated (updated) on oss.sgi.com X-Spam-Level: X-Spam-Status: No, score=-2.4 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.3.0-rupdated Received: from relay.sgi.com (relay1.corp.sgi.com [137.38.102.111]) by oss.sgi.com (8.14.3/8.14.3/SuSE Linux 0.8) with ESMTP id n46JGDdC139455 for ; Wed, 6 May 2009 14:16:13 -0500 Received: from attica.americas.sgi.com (attica.americas.sgi.com [128.162.236.44]) by relay1.corp.sgi.com (Postfix) with ESMTP id 3515C8F804C for ; Wed, 6 May 2009 12:16:14 -0700 (PDT) Received: by attica.americas.sgi.com (Postfix, from userid 44682) id 0EB28A0BB908; Wed, 6 May 2009 14:16:14 -0500 (CDT) Date: Wed, 6 May 2009 14:16:13 -0500 From: Martin Hicks To: pcp@oss.sgi.com Subject: [patch] memory leak in xfs project quotas Message-ID: <20090506191613.GR14353@alcatraz.americas.sgi.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.17 (2007-11-01) X-Virus-Scanned: ClamAV version 0.94.2, clamav-milter version 0.94.2 on oss.sgi.com X-Virus-Status: Clean In the linux PMDA. Any complaints with this patch? The changes at the beginning just get rid of whitespace annoyances. The last two hunks are what fix the problem. thanks mh diff --git a/src/pmdas/linux/filesys.c b/src/pmdas/linux/filesys.c index 033da2e..a16abfc 100644 --- a/src/pmdas/linux/filesys.c +++ b/src/pmdas/linux/filesys.c @@ -26,15 +26,15 @@ static void refresh_filesys_projects(pmInDom qindom, filesys_t *fs) { - char buffer[MAXPATHLEN]; + char buffer[MAXPATHLEN]; project_t *qp; fs_quota_stat_t s; fs_disk_quota_t d; size_t idsz, devsz; FILE *projects; - char *p, *idend; - uint32_t prid; - int qcmd, sts; + char *p, *idend; + uint32_t prid; + int qcmd, sts; qcmd = QCMD(Q_XGETQSTAT, XQM_PRJQUOTA); if (quotactl(qcmd, fs->device, 0, (void*)&s) < 0) @@ -75,7 +75,7 @@ refresh_filesys_projects(pmInDom qindom, filesys_t *fs) qp = NULL; sts = pmdaCacheLookupName(qindom, p, NULL, (void **)&qp); if (sts == PMDA_CACHE_ACTIVE) /* repeated line in /etc/projects? */ - continue; + goto next; if (sts != PMDA_CACHE_INACTIVE) { qp = (project_t *)malloc(sizeof(project_t)); #if PCP_DEBUG @@ -92,6 +92,8 @@ refresh_filesys_projects(pmInDom qindom, filesys_t *fs) qp->files_used = d.d_icount; qp->files_time_left = d.d_itimer; pmdaCacheStore(qindom, PMDA_CACHE_ADD, p, (void *)qp); +next: + free(p); } fclose(projects); } From kenj@internode.on.net Wed May 6 17:13:54 2009 X-Spam-Checker-Version: SpamAssassin 3.3.0-rupdated (updated) on oss.sgi.com X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.3.0-rupdated Received: from cuda.sgi.com (cuda1.sgi.com [192.48.157.11]) by oss.sgi.com (8.14.3/8.14.3/SuSE Linux 0.8) with ESMTP id n46MDr5u151393 for ; Wed, 6 May 2009 17:13:53 -0500 X-ASG-Debug-ID: 1241648278-5fef013c0000-S8gJnT X-Barracuda-URL: http://cuda.sgi.com:80/cgi-bin/mark.cgi Received: from mail.internode.on.net (localhost [127.0.0.1]) by cuda.sgi.com (Spam Firewall) with ESMTP id 11846147A4DB for ; Wed, 6 May 2009 15:17:58 -0700 (PDT) Received: from mail.internode.on.net (bld-mail02.adl2.internode.on.net [203.16.214.66]) by cuda.sgi.com with ESMTP id 8WFInIvv3fVPIecg for ; Wed, 06 May 2009 15:17:58 -0700 (PDT) Received: from [192.168.1.100] (unverified [118.208.228.223]) by mail.internode.on.net (SurgeMail 3.8f2) with ESMTP id 359403143-1927428 for multiple; Thu, 07 May 2009 07:43:52 +0930 (CST) X-ASG-Orig-Subj: Re: [pcp] [patch] memory leak in xfs project quotas Subject: Re: [pcp] [patch] memory leak in xfs project quotas From: Ken McDonell Reply-To: kenj@internode.on.net To: Martin Hicks Cc: pcp@oss.sgi.com In-Reply-To: <20090506191613.GR14353@alcatraz.americas.sgi.com> References: <20090506191613.GR14353@alcatraz.americas.sgi.com> Content-Type: text/plain Date: Thu, 07 May 2009 08:13:44 +1000 Message-Id: <1241648024.17541.44.camel@bozo> Mime-Version: 1.0 X-Mailer: Evolution 2.26.1 Content-Transfer-Encoding: 7bit X-Barracuda-Connect: bld-mail02.adl2.internode.on.net[203.16.214.66] X-Barracuda-Start-Time: 1241648281 X-Barracuda-Bayes: INNOCENT GLOBAL 0.0000 1.0000 -2.0210 X-Barracuda-Virus-Scanned: by cuda.sgi.com at sgi.com X-Barracuda-Spam-Score: -2.02 X-Barracuda-Spam-Status: No, SCORE=-2.02 using per-user scores of TAG_LEVEL=2.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=2.1 tests= X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.1.25104 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- X-Virus-Scanned: ClamAV version 0.94.2, clamav-milter version 0.94.2 on oss.sgi.com X-Virus-Status: Clean Looks fine to me Martin. On Wed, 2009-05-06 at 14:16 -0500, Martin Hicks wrote: > In the linux PMDA. Any complaints with this patch? > > The changes at the beginning just get rid of whitespace annoyances. > The last two hunks are what fix the problem. > > thanks > mh > > diff --git a/src/pmdas/linux/filesys.c b/src/pmdas/linux/filesys.c > index 033da2e..a16abfc 100644 > --- a/src/pmdas/linux/filesys.c > +++ b/src/pmdas/linux/filesys.c > @@ -26,15 +26,15 @@ > static void > refresh_filesys_projects(pmInDom qindom, filesys_t *fs) > { > - char buffer[MAXPATHLEN]; > + char buffer[MAXPATHLEN]; > project_t *qp; > fs_quota_stat_t s; > fs_disk_quota_t d; > size_t idsz, devsz; > FILE *projects; > - char *p, *idend; > - uint32_t prid; > - int qcmd, sts; > + char *p, *idend; > + uint32_t prid; > + int qcmd, sts; > > qcmd = QCMD(Q_XGETQSTAT, XQM_PRJQUOTA); > if (quotactl(qcmd, fs->device, 0, (void*)&s) < 0) > @@ -75,7 +75,7 @@ refresh_filesys_projects(pmInDom qindom, filesys_t *fs) > qp = NULL; > sts = pmdaCacheLookupName(qindom, p, NULL, (void **)&qp); > if (sts == PMDA_CACHE_ACTIVE) /* repeated line in /etc/projects? */ > - continue; > + goto next; > if (sts != PMDA_CACHE_INACTIVE) { > qp = (project_t *)malloc(sizeof(project_t)); > #if PCP_DEBUG > @@ -92,6 +92,8 @@ refresh_filesys_projects(pmInDom qindom, filesys_t *fs) > qp->files_used = d.d_icount; > qp->files_time_left = d.d_itimer; > pmdaCacheStore(qindom, PMDA_CACHE_ADD, p, (void *)qp); > +next: > + free(p); > } > fclose(projects); > } > > > _______________________________________________ > pcp mailing list > pcp@oss.sgi.com > http://oss.sgi.com/mailman/listinfo/pcp From nscott@aconex.com Wed May 6 18:45:25 2009 X-Spam-Checker-Version: SpamAssassin 3.3.0-rupdated (updated) on oss.sgi.com X-Spam-Level: X-Spam-Status: No, score=-2.2 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.3.0-rupdated Received: from cuda.sgi.com (cuda3.sgi.com [192.48.176.15]) by oss.sgi.com (8.14.3/8.14.3/SuSE Linux 0.8) with ESMTP id n46NjPBJ156518 for ; Wed, 6 May 2009 18:45:25 -0500 X-ASG-Debug-ID: 1241653527-7bdf02c30000-S8gJnT X-Barracuda-URL: http://cuda.sgi.com:80/cgi-bin/mark.cgi Received: from postoffice2.aconex.com (localhost [127.0.0.1]) by cuda.sgi.com (Spam Firewall) with ESMTP id 13AEF1D13E32 for ; Wed, 6 May 2009 16:45:27 -0700 (PDT) Received: from postoffice2.aconex.com (mail.aconex.com [203.89.202.182]) by cuda.sgi.com with ESMTP id ankZx3aCOo74MNP3 for ; Wed, 06 May 2009 16:45:27 -0700 (PDT) Received: from postoffice.aconex.com (localhost [127.0.0.1]) by postoffice2.aconex.com (Spam Firewall) with ESMTP id A459D699CF9; Thu, 7 May 2009 09:45:24 +1000 (EST) Received: from postoffice.aconex.com (postoffice.yarra.acx [192.168.102.1]) by postoffice2.aconex.com with ESMTP id 3xOmsVKvcaB1X3AI; Thu, 07 May 2009 09:45:24 +1000 (EST) Received: from gatekeeper.aconex.com (gatekeeper.yarra.acx [192.168.102.10]) by postoffice.aconex.com (Postfix) with ESMTP id 4282E2C044; Thu, 7 May 2009 09:43:28 +1000 (EST) Received: from localhost (localhost.localdomain [127.0.0.1]) by gatekeeper.aconex.com (Postfix) with ESMTP id BABB74FD86; Thu, 7 May 2009 09:49:27 +1000 (EST) X-Virus-Scanned: ClamAV version 0.94.2, clamav-milter version 0.94.2 on oss.sgi.com X-Virus-Scanned: amavisd-new at gatekeeper.yarra.acx Received: from gatekeeper.aconex.com ([127.0.0.1]) by localhost (gatekeeper.aconex.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id qqwuiiPFx4C5; Thu, 7 May 2009 09:49:23 +1000 (EST) Received: from mail-au.aconex.com (mail-au.aconex.com [192.168.102.12]) by gatekeeper.aconex.com (Postfix) with ESMTP id 0D8D54FD82; Thu, 7 May 2009 09:49:23 +1000 (EST) Date: Thu, 7 May 2009 09:45:19 +1000 (EST) From: Nathan Scott To: Martin Hicks Cc: pcp@oss.sgi.com Message-ID: <1135334126.4560841241653519852.JavaMail.root@mail-au.aconex.com> In-Reply-To: <20090506191613.GR14353@alcatraz.americas.sgi.com> X-ASG-Orig-Subj: Re: [pcp] [patch] memory leak in xfs project quotas Subject: Re: [pcp] [patch] memory leak in xfs project quotas MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Originating-IP: [203.89.192.141] X-Mailer: Zimbra 5.0.13_GA_2791.RHEL5_64 (ZimbraWebClient - [unknown] (Linux)/5.0.13_GA_2791.RHEL5_64) X-Barracuda-Connect: mail.aconex.com[203.89.202.182] X-Barracuda-Start-Time: 1241653529 X-Barracuda-Bayes: INNOCENT GLOBAL 0.0000 1.0000 -2.0210 X-Barracuda-Virus-Scanned: by cuda.sgi.com at sgi.com X-Barracuda-Spam-Score: -2.02 X-Barracuda-Spam-Status: No, SCORE=-2.02 using per-user scores of TAG_LEVEL=2.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=2.1 tests= X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.1.25109 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- X-Virus-Status: Clean ----- "Martin Hicks" wrote: > In the linux PMDA. Any complaints with this patch? > > The changes at the beginning just get rid of whitespace annoyances. > The last two hunks are what fix the problem. Good catch! > @@ -75,7 +75,7 @@ refresh_filesys_projects(pmInDom qindom, filesys_t > *fs) > qp = NULL; > sts = pmdaCacheLookupName(qindom, p, NULL, (void **)&qp); > if (sts == PMDA_CACHE_ACTIVE) /* repeated line in > /etc/projects? */ > - continue; > + goto next; > if (sts != PMDA_CACHE_INACTIVE) { > qp = (project_t *)malloc(sizeof(project_t)); This malloc return code is unchecked too - the filesys code further on just (silently) continues on this class of error, guess we should do the same thing here (well, "goto next" on a NULL "qp") as SIGSEGV here would take out pmcd. cheers. -- Nathan From nscott@aconex.com Thu May 7 00:50:58 2009 X-Spam-Checker-Version: SpamAssassin 3.3.0-rupdated (updated) on oss.sgi.com X-Spam-Level: X-Spam-Status: No, score=-2.2 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.3.0-rupdated Received: from cuda.sgi.com (cuda1.sgi.com [192.48.157.11]) by oss.sgi.com (8.14.3/8.14.3/SuSE Linux 0.8) with ESMTP id n475owgX179163 for ; Thu, 7 May 2009 00:50:58 -0500 X-ASG-Debug-ID: 1241675705-0cc803860000-S8gJnT X-Barracuda-URL: http://cuda.sgi.com:80/cgi-bin/mark.cgi Received: from postoffice2.aconex.com (localhost [127.0.0.1]) by cuda.sgi.com (Spam Firewall) with ESMTP id E4FB1147B30C for ; Wed, 6 May 2009 22:55:06 -0700 (PDT) Received: from postoffice2.aconex.com (mail.aconex.com [203.89.202.182]) by cuda.sgi.com with ESMTP id 4Iu9SBzUKc0EUG4v for ; Wed, 06 May 2009 22:55:06 -0700 (PDT) Received: from postoffice.aconex.com (localhost [127.0.0.1]) by postoffice2.aconex.com (Spam Firewall) with ESMTP id 132367732D1 for ; Thu, 7 May 2009 15:50:59 +1000 (EST) Received: from postoffice.aconex.com (postoffice.yarra.acx [192.168.102.1]) by postoffice2.aconex.com with ESMTP id 3yFuxU2eWbQwlC0u for ; Thu, 07 May 2009 15:50:59 +1000 (EST) Received: from gatekeeper.aconex.com (gatekeeper.yarra.acx [192.168.102.10]) by postoffice.aconex.com (Postfix) with ESMTP id 394352C045 for ; Thu, 7 May 2009 15:48:59 +1000 (EST) Received: from localhost (localhost.localdomain [127.0.0.1]) by gatekeeper.aconex.com (Postfix) with ESMTP id 1C8914FD82 for ; Thu, 7 May 2009 15:55:04 +1000 (EST) X-Virus-Scanned: ClamAV version 0.94.2, clamav-milter version 0.94.2 on oss.sgi.com X-Virus-Scanned: amavisd-new at gatekeeper.yarra.acx Received: from gatekeeper.aconex.com ([127.0.0.1]) by localhost (gatekeeper.aconex.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id lSOMWqEFWFj5 for ; Thu, 7 May 2009 15:55:00 +1000 (EST) Received: from mail-au.aconex.com (mail-au.aconex.com [192.168.102.12]) by gatekeeper.aconex.com (Postfix) with ESMTP id 1D0BF4FD84 for ; Thu, 7 May 2009 15:55:00 +1000 (EST) Date: Thu, 7 May 2009 15:50:54 +1000 (EST) From: Nathan Scott To: pcp Message-ID: <2039329275.4601121241675454840.JavaMail.root@mail-au.aconex.com> X-ASG-Orig-Subj: pcpweb updates (docs) Subject: pcpweb updates (docs) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Originating-IP: [203.89.192.141] X-Mailer: Zimbra 5.0.13_GA_2791.RHEL5_64 (ZimbraWebClient - [unknown] (Linux)/5.0.13_GA_2791.RHEL5_64) X-Barracuda-Connect: mail.aconex.com[203.89.202.182] X-Barracuda-Start-Time: 1241675707 X-Barracuda-Bayes: INNOCENT GLOBAL 0.0000 1.0000 -2.0210 X-Barracuda-Virus-Scanned: by cuda.sgi.com at sgi.com X-Barracuda-Spam-Score: -2.02 X-Barracuda-Spam-Status: No, SCORE=-2.02 using per-user scores of TAG_LEVEL=2.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=2.1 tests= X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.1.25134 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- X-Virus-Status: Clean Changes committed to git://oss.sgi.com/pcp/pcpweb.git index.html | 2 +- news.html | 6 ++++++ pcp-gui.html | 4 ---- win32/README | 45 ++++++++++++++++++++++++++++++++++++++++++--- win32/service.bat | 17 +++++++++++++++++ win32/setup.bat | 6 ++++++ 6 files changed, 72 insertions(+), 8 deletions(-) commit 4df6f06ca8151e9714e322123a965ae4eb710bb7 Merge: a72ac60 6297558 Author: Nathan Scott Date: Thu May 7 15:44:38 2009 +1000 Merge branch 'master' of git://oss.sgi.com/pcp/pcpweb commit a72ac60ac8f756ca519839482c881531ff68d99e Author: Nathan Scott Date: Thu May 7 15:43:53 2009 +1000 Update the README with Kens notes, and create a troubleshooting section. commit e97f2879ea4b986b3d0739e0eed5eb6b94900a46 Author: Nathan Scott Date: Thu May 7 15:22:16 2009 +1000 Add two batch files that will be needed as an install exitop. These scripts setup a DOS shell to run PCP commands (setup) and install the PCP services so that pmcd and friends automatically startup at boottime (and in general do the right thing when we are given commands by the Windows service manager GUI/utility). commit 629755845200ec48f7825c6fe016c18e5d5ccd3c Merge: d9a9572 5d17b13 Author: Nathan Scott Date: Tue May 5 12:14:15 2009 +1000 Merge branch 'master' of git://oss.sgi.com/pcp/pcpweb commit d9a9572a14736f9d14ac1a294dfdcb60000c67a9 Author: Nathan Scott Date: Tue May 5 12:13:36 2009 +1000 Bump PCP GUI version, update docs. From mort@sgi.com Thu May 7 08:38:42 2009 X-Spam-Checker-Version: SpamAssassin 3.3.0-rupdated (updated) on oss.sgi.com X-Spam-Level: X-Spam-Status: No, score=-2.4 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.3.0-rupdated Received: from relay.sgi.com (relay1.corp.sgi.com [137.38.102.111]) by oss.sgi.com (8.14.3/8.14.3/SuSE Linux 0.8) with ESMTP id n47Dcg7w200847 for ; Thu, 7 May 2009 08:38:42 -0500 Received: from attica.americas.sgi.com (attica.americas.sgi.com [128.162.236.44]) by relay1.corp.sgi.com (Postfix) with ESMTP id 2797A8F80E2; Thu, 7 May 2009 06:38:43 -0700 (PDT) Received: by attica.americas.sgi.com (Postfix, from userid 44682) id DEE4CA0BB90A; Thu, 7 May 2009 08:38:42 -0500 (CDT) Date: Thu, 7 May 2009 08:38:42 -0500 From: Martin Hicks To: Nathan Scott Cc: pcp@oss.sgi.com Subject: Re: [pcp] [patch] memory leak in xfs project quotas Message-ID: <20090507133842.GZ14353@alcatraz.americas.sgi.com> References: <20090506191613.GR14353@alcatraz.americas.sgi.com> <1135334126.4560841241653519852.JavaMail.root@mail-au.aconex.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1135334126.4560841241653519852.JavaMail.root@mail-au.aconex.com> User-Agent: Mutt/1.5.17 (2007-11-01) X-Virus-Scanned: ClamAV version 0.94.2, clamav-milter version 0.94.2 on oss.sgi.com X-Virus-Status: Clean On Thu, May 07, 2009 at 09:45:19AM +1000, Nathan Scott wrote: > > > In the linux PMDA. Any complaints with this patch? > > > > The changes at the beginning just get rid of whitespace annoyances. > > The last two hunks are what fix the problem. > > Good catch! valgrind is a very nice tool... > > - continue; > > + goto next; > > if (sts != PMDA_CACHE_INACTIVE) { > > qp = (project_t *)malloc(sizeof(project_t)); > > This malloc return code is unchecked too - the filesys code > further on just (silently) continues on this class of error, > guess we should do the same thing here (well, "goto next" on > a NULL "qp") as SIGSEGV here would take out pmcd. Yep, should be fixed also. I've added a check here too and pushed out the change to oss. mh From nscott@aconex.com Sun May 10 21:15:50 2009 X-Spam-Checker-Version: SpamAssassin 3.3.0-rupdated (updated) on oss.sgi.com X-Spam-Level: X-Spam-Status: No, score=-2.2 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.3.0-rupdated Received: from cuda.sgi.com (cuda1.sgi.com [192.48.157.11]) by oss.sgi.com (8.14.3/8.14.3/SuSE Linux 0.8) with ESMTP id n4B2Fovp213575 for ; Sun, 10 May 2009 21:15:50 -0500 X-ASG-Debug-ID: 1242008421-6fe8025d0000-S8gJnT X-Barracuda-URL: http://cuda.sgi.com:80/cgi-bin/mark.cgi Received: from postoffice2.aconex.com (localhost [127.0.0.1]) by cuda.sgi.com (Spam Firewall) with ESMTP id A1E94F80C96 for ; Sun, 10 May 2009 19:20:21 -0700 (PDT) Received: from postoffice2.aconex.com (mail.aconex.com [203.89.202.182]) by cuda.sgi.com with ESMTP id 5vkjGZSC1crX7OfC for ; Sun, 10 May 2009 19:20:21 -0700 (PDT) Received: from postoffice.aconex.com (localhost [127.0.0.1]) by postoffice2.aconex.com (Spam Firewall) with ESMTP id BED83548C1B for ; Mon, 11 May 2009 12:15:52 +1000 (EST) Received: from postoffice.aconex.com (postoffice.yarra.acx [192.168.102.1]) by postoffice2.aconex.com with ESMTP id QFbatjPfAI2KIky2 for ; Mon, 11 May 2009 12:15:52 +1000 (EST) Received: from gatekeeper.aconex.com (gatekeeper.yarra.acx [192.168.102.10]) by postoffice.aconex.com (Postfix) with ESMTP id 4A3B0A5012D for ; Mon, 11 May 2009 12:15:51 +1000 (EST) Received: from localhost (localhost.localdomain [127.0.0.1]) by gatekeeper.aconex.com (Postfix) with ESMTP id 9762C4FD8B for ; Mon, 11 May 2009 12:20:28 +1000 (EST) X-Virus-Scanned: ClamAV version 0.94.2, clamav-milter version 0.94.2 on oss.sgi.com X-Virus-Scanned: amavisd-new at gatekeeper.yarra.acx Received: from gatekeeper.aconex.com ([127.0.0.1]) by localhost (gatekeeper.aconex.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id mmnY1qHtndpZ for ; Mon, 11 May 2009 12:20:24 +1000 (EST) Received: from mail-au.aconex.com (mail-au.aconex.com [192.168.102.12]) by gatekeeper.aconex.com (Postfix) with ESMTP id 6638E4FD85 for ; Mon, 11 May 2009 12:20:23 +1000 (EST) Date: Mon, 11 May 2009 12:15:47 +1000 (EST) From: Nathan Scott To: pcp@oss.sgi.com Message-ID: <2061805040.4711911242008147364.JavaMail.root@mail-au.aconex.com> X-ASG-Orig-Subj: pcpweb updates Subject: pcpweb updates MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Originating-IP: [203.89.192.141] X-Mailer: Zimbra 5.0.13_GA_2791.RHEL5_64 (ZimbraWebClient - [unknown] (Linux)/5.0.13_GA_2791.RHEL5_64) X-Barracuda-Connect: mail.aconex.com[203.89.202.182] X-Barracuda-Start-Time: 1242008422 X-Barracuda-Bayes: INNOCENT GLOBAL 0.0000 1.0000 -2.0210 X-Barracuda-Virus-Scanned: by cuda.sgi.com at sgi.com X-Barracuda-Spam-Score: -2.02 X-Barracuda-Spam-Status: No, SCORE=-2.02 using per-user scores of TAG_LEVEL=2.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=2.1 tests= X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.1.25471 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- X-Virus-Status: Clean Changes committed to git://oss.sgi.com/pcp/pcpweb.git index.html | 2 - news.html | 5 ++ win32/Glider.pm | 7 +-- win32/README | 98 +++++++++++++++++++++++++++++++++++----------------- win32/pcp.profile | 4 +- win32/pcpcharts.bat | 2 - win32/pcpcmd.bat | 3 - 7 files changed, 78 insertions(+), 43 deletions(-) commit 59da3557dac516a465a3c041cfdf803b9dad1ff8 Author: Nathan Scott Date: Mon May 11 12:09:22 2009 +1000 Updates to the PCP::Glider packaging, moving to 0.0.2 version. Incorporate more doc updates from Ken, update url for Qt, remove autoconf from the set of installed packages since it aint working, update the Strawberry Perl version. From nscott@aconex.com Mon May 11 00:09:39 2009 X-Spam-Checker-Version: SpamAssassin 3.3.0-rupdated (updated) on oss.sgi.com X-Spam-Level: X-Spam-Status: No, score=-1.7 required=5.0 tests=AWL,BAYES_00,SUBJ_FORWARDED autolearn=no version=3.3.0-rupdated Received: from cuda.sgi.com (cuda2.sgi.com [192.48.176.25]) by oss.sgi.com (8.14.3/8.14.3/SuSE Linux 0.8) with ESMTP id n4B59c3l225523 for ; Mon, 11 May 2009 00:09:38 -0500 X-ASG-Debug-ID: 1242018582-634001890000-S8gJnT X-Barracuda-URL: http://cuda.sgi.com:80/cgi-bin/mark.cgi Received: from postoffice2.aconex.com (localhost [127.0.0.1]) by cuda.sgi.com (Spam Firewall) with ESMTP id 16AA92770D6 for ; Sun, 10 May 2009 22:09:43 -0700 (PDT) Received: from postoffice2.aconex.com (mail.aconex.com [203.89.202.182]) by cuda.sgi.com with ESMTP id OmaDshwCFXXTCmwq for ; Sun, 10 May 2009 22:09:43 -0700 (PDT) Received: from postoffice.aconex.com (localhost [127.0.0.1]) by postoffice2.aconex.com (Spam Firewall) with ESMTP id BB9325497B3 for ; Mon, 11 May 2009 15:09:40 +1000 (EST) Received: from postoffice.aconex.com (postoffice.yarra.acx [192.168.102.1]) by postoffice2.aconex.com with ESMTP id bOzMkt87j6PBhMO7 for ; Mon, 11 May 2009 15:09:40 +1000 (EST) Received: from gatekeeper.aconex.com (gatekeeper.yarra.acx [192.168.102.10]) by postoffice.aconex.com (Postfix) with ESMTP id 2369BA5012D for ; Mon, 11 May 2009 15:09:39 +1000 (EST) Received: from localhost (localhost.localdomain [127.0.0.1]) by gatekeeper.aconex.com (Postfix) with ESMTP id 775D24FD88 for ; Mon, 11 May 2009 15:14:17 +1000 (EST) X-Virus-Scanned: ClamAV version 0.94.2, clamav-milter version 0.94.2 on oss.sgi.com X-Virus-Scanned: amavisd-new at gatekeeper.yarra.acx Received: from gatekeeper.aconex.com ([127.0.0.1]) by localhost (gatekeeper.aconex.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id po9TEtX0Xalg for ; Mon, 11 May 2009 15:14:12 +1000 (EST) Received: from mail-au.aconex.com (mail-au.aconex.com [192.168.102.12]) by gatekeeper.aconex.com (Postfix) with ESMTP id A72754FD85 for ; Mon, 11 May 2009 15:14:12 +1000 (EST) Date: Mon, 11 May 2009 15:09:35 +1000 (EST) From: Nathan Scott To: pcp@oss.sgi.com Message-ID: <171699094.4730731242018575836.JavaMail.root@mail-au.aconex.com> In-Reply-To: <20090511143636.71c70972@aconex.com> X-ASG-Orig-Subj: Fwd: PCP metrics auto-completion in the command line Subject: Fwd: PCP metrics auto-completion in the command line MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_Part_264344_1288858169.1242018575835" X-Originating-IP: [203.89.192.141] X-Mailer: Zimbra 5.0.13_GA_2791.RHEL5_64 (ZimbraWebClient - [unknown] (Linux)/5.0.13_GA_2791.RHEL5_64) X-Barracuda-Connect: mail.aconex.com[203.89.202.182] X-Barracuda-Start-Time: 1242018584 X-Barracuda-Bayes: INNOCENT GLOBAL 0.0000 1.0000 -2.0210 X-Barracuda-Virus-Scanned: by cuda.sgi.com at sgi.com X-Barracuda-Spam-Score: -2.02 X-Barracuda-Spam-Status: No, SCORE=-2.02 using per-user scores of TAG_LEVEL=2.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=2.1 tests= X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.1.25473 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- X-Virus-Status: Clean ------=_Part_264344_1288858169.1242018575835 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Enjoy! Considering installing this to /etc/bash_completion.d - anyone have any thoughts? cheers. ----- Forwarded Message ----- From: "Roman Revyakin" Sent: Monday, May 11, 2009 2:36:36 PM GMT +10:00 Canberra / Melbourne / Syd= ney Subject: PCP metrics auto-completion in the command line Hi guys,=20 I do not know how much each of of you guys interact with the command-line PCP tools like pminfo or pmdumptext, in any case here's what I find helpful: autocompletion of the PCP metrics in your command line. (For Bash users only as of now, sorry).=20 Untar the attached tarball in your home, and add the following lines to your .bashrc=20 if [ -d ~/.bash_completion.d ] then for f in `ls ~/.bash_completion.d` do=20 source ~/.bash_completion.d/"$f" done=20 fi Try it out after sourcing your new .bashrc:=20 pminfo -f aconex.=20 Autocompletion works for the following set of programs as of now:=20 pminfo =20 pmdumptext =20 pmdumplog =20 pmlogsummary =20 pmstore =20 pmval =20 Enjoy,=20 Roman=20 --=20 Roman Revyakin ETO Systems Engineer=20 Aconex The easy way to save time and money on your project 696 Bourke Street, Melbourne, Victoria, Australia Tel: +61 3 9240 0200 =C2=A0 =C2=A0 =C2=A0 =C2=A0Fax: +61 3 9240 0299=20 --=20 Nathan ------=_Part_264344_1288858169.1242018575835 Content-Type: application/x-compressed-tar; name=pminfo_bash_completion.tgz Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename=pminfo_bash_completion.tgz H4sIABKpB0oAA+2WbY/aOBDHeZ1PMV1QS6TyEBZKbytOR3fTHlK70ABd9fYQ9SYOWCV2zjHbrdrt Z68d8kRZetoe0ul0/r1JMh6PZzx/G+pXKFrOXRaEKywIo3WvUTo0TUm301FPq9tpFp8pJctqSWOr ffykXWpabeu4VYLOwTO5g3UkEAcocXzNWbDf7+/G/6PUd/sfBoT6LLVhXo+W/2wN1eAn7fa+/h93 u1be/470ayljCZqHKfHH/M/7X37QuCK0oVRglHuHxSgbZch4MXhlnwDcoS7pVXCcjvsvlWP9LiFC 6ntmj0+dwWgyGJ5L39HpCJQv5EIGztaCUByBYOAjl6yIQALDX2vMibQWU0tgfhwowIITNwKf8SRb QNQDX06jXgTFbIdxAmOZQa1WU1bHfjMdOPZr+3xSsKY8n77ctZ4PJ/aOtT+d/D50pNVhAaLg4OtP 6AOhUI2/zcfAeWL6DbmM4pu6rDybfjp8Peqfv5PT+/FgNvDWdsabHbPqzdzdsfsT+0xam91Gs9No /gIt66T19MRqgT2epH6O/XaQzI5zPbRajPl3DYeqaXw21NIr5qIVuGveq3xWxc0vhs7Z+LISv5+q j9ltwZGFYs7xAt/01JyQRXN8E8oeyjXS7XHs0at3vaoJG1MZhqFSjVTLEgmgGHtAt+SkJCCWWAWM lDBYRGK7VJe6QUQSJl4oUgO+vC5iDXnE9zHHVEDI2YKjIAKIvV0UYdgqqDm7lTo2UhVs9sOEzJAX dlS7RFdLOvxjdpSNbtdqZfZnz4xCSG8dhALfiH1h+8j1fBl55ERjMZl+/LkVVmyxbwE6ntw/powX rYMA8U/7wj6n4Y8Ct/YEjgTjeF/MJaH3zvQarfZvrS8jDsNxNBH32lccIVc9y+rkgbyG1F0Vy0ed xER6F3ijPg8wkUrlUpcckcVSbKRYEC/xgQggEUipK3NRzJsQSUjp6y6x+yHWcezJsYs9QheqsPi8 fFzieLFsqppEmdhsgVypWoXCOYVeDypb5YJpwpcv8GdWdPX7Kb/eMSN3Vzx8CA/g8hKOtq+HajWP UrNMc3Z7BL2vUMmaArNZ3iozfpPF5AewcFO8V3fBAlOoXcCjSlV+BSqV5Ig+ilN8vwnhE3mr3Gb9 SoC0b/6auvFu79x3BW/DyKy1F7ueNQYe9tF6JdKfqPxg5ydw69ykWt9I1Pi3/3hoNBqNRqPRaDQa jUaj0Wg0Go1Go9FoNJqD8w1UH0BdACgAAA== ------=_Part_264344_1288858169.1242018575835-- From nscott@aconex.com Mon May 11 00:31:52 2009 X-Spam-Checker-Version: SpamAssassin 3.3.0-rupdated (updated) on oss.sgi.com X-Spam-Level: X-Spam-Status: No, score=-2.2 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.3.0-rupdated Received: from cuda.sgi.com (cuda3.sgi.com [192.48.176.15]) by oss.sgi.com (8.14.3/8.14.3/SuSE Linux 0.8) with ESMTP id n4B5VqFd226940 for ; Mon, 11 May 2009 00:31:52 -0500 X-ASG-Debug-ID: 1242019917-175500c90000-S8gJnT X-Barracuda-URL: http://cuda.sgi.com:80/cgi-bin/mark.cgi Received: from postoffice2.aconex.com (localhost [127.0.0.1]) by cuda.sgi.com (Spam Firewall) with ESMTP id 689BC1D22202 for ; Sun, 10 May 2009 22:31:57 -0700 (PDT) Received: from postoffice2.aconex.com (mail.aconex.com [203.89.202.182]) by cuda.sgi.com with ESMTP id mFpjItM1PiFlBUVp for ; Sun, 10 May 2009 22:31:57 -0700 (PDT) Received: from postoffice.aconex.com (localhost [127.0.0.1]) by postoffice2.aconex.com (Spam Firewall) with ESMTP id A7D2B54A2BC for ; Mon, 11 May 2009 15:31:55 +1000 (EST) Received: from postoffice.aconex.com (postoffice.yarra.acx [192.168.102.1]) by postoffice2.aconex.com with ESMTP id bg0A8CQEb7HmpH8q for ; Mon, 11 May 2009 15:31:55 +1000 (EST) Received: from gatekeeper.aconex.com (gatekeeper.yarra.acx [192.168.102.10]) by postoffice.aconex.com (Postfix) with ESMTP id 1AAC0A5028C for ; Mon, 11 May 2009 15:31:54 +1000 (EST) Received: from localhost (localhost.localdomain [127.0.0.1]) by gatekeeper.aconex.com (Postfix) with ESMTP id 8EEE24FD85 for ; Mon, 11 May 2009 15:36:32 +1000 (EST) X-Virus-Scanned: ClamAV version 0.94.2, clamav-milter version 0.94.2 on oss.sgi.com X-Virus-Scanned: amavisd-new at gatekeeper.yarra.acx Received: from gatekeeper.aconex.com ([127.0.0.1]) by localhost (gatekeeper.aconex.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id FxwSvA2Y1Igh for ; Mon, 11 May 2009 15:36:28 +1000 (EST) Received: from mail-au.aconex.com (mail-au.aconex.com [192.168.102.12]) by gatekeeper.aconex.com (Postfix) with ESMTP id AE4954FD86 for ; Mon, 11 May 2009 15:36:28 +1000 (EST) Date: Mon, 11 May 2009 15:31:51 +1000 (EST) From: Nathan Scott To: pcp@oss.sgi.com Message-ID: <1819547067.4733261242019911724.JavaMail.root@mail-au.aconex.com> X-ASG-Orig-Subj: pcpweb updates (win32 packaging docs) Subject: pcpweb updates (win32 packaging docs) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Originating-IP: [203.89.192.141] X-Mailer: Zimbra 5.0.13_GA_2791.RHEL5_64 (ZimbraWebClient - [unknown] (Linux)/5.0.13_GA_2791.RHEL5_64) X-Barracuda-Connect: mail.aconex.com[203.89.202.182] X-Barracuda-Start-Time: 1242019918 X-Barracuda-Bayes: INNOCENT GLOBAL 0.0000 1.0000 -2.0210 X-Barracuda-Virus-Scanned: by cuda.sgi.com at sgi.com X-Barracuda-Spam-Score: -2.02 X-Barracuda-Spam-Status: No, SCORE=-2.02 using per-user scores of TAG_LEVEL=2.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=2.1 tests= X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.1.25474 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- X-Virus-Status: Clean Changes committed to git://oss.sgi.com/pcp/pcpweb.git win32/Glider.pm | 4 ++-- win32/README | 28 ++++++++++++++++++++++++++-- win32/setup.bat | 4 ++-- 3 files changed, 30 insertions(+), 6 deletions(-) commit 12174ae670687d2f5b4b702279b11d7b8789edea Author: Nathan Scott Date: Mon May 11 15:23:10 2009 +1000 Add documentation on building pcp-glider installable packages. Also bump the version number for the PCP packages, and tweak setup.bat to point to C:\Glider now instead of C:\MSYS. From kenj@internode.on.net Mon May 11 01:24:04 2009 X-Spam-Checker-Version: SpamAssassin 3.3.0-rupdated (updated) on oss.sgi.com X-Spam-Level: X-Spam-Status: No, score=-2.3 required=5.0 tests=AWL,BAYES_00,J_CHICKENPOX_43, J_CHICKENPOX_44,J_CHICKENPOX_45,J_CHICKENPOX_47,J_CHICKENPOX_48 autolearn=no version=3.3.0-rupdated Received: from cuda.sgi.com (cuda1.sgi.com [192.48.157.11]) by oss.sgi.com (8.14.3/8.14.3/SuSE Linux 0.8) with ESMTP id n4B6O2FL231011 for ; Mon, 11 May 2009 01:24:03 -0500 X-ASG-Debug-ID: 1242023314-779a03850000-S8gJnT X-Barracuda-URL: http://cuda.sgi.com:80/cgi-bin/mark.cgi Received: from mail.internode.on.net (localhost [127.0.0.1]) by cuda.sgi.com (Spam Firewall) with ESMTP id 55F1611985CE for ; Sun, 10 May 2009 23:28:34 -0700 (PDT) Received: from mail.internode.on.net (bld-mail19.adl2.internode.on.net [150.101.137.104]) by cuda.sgi.com with ESMTP id YAK9SK0ObmL185mm for ; Sun, 10 May 2009 23:28:34 -0700 (PDT) Received: from [192.168.1.100] (unverified [118.208.255.77]) by mail.internode.on.net (SurgeMail 3.8f2) with ESMTP id 6362-1927428 for multiple; Mon, 11 May 2009 15:54:03 +0930 (CST) X-ASG-Orig-Subj: Re: [pcp] Fwd: PCP metrics auto-completion in the command line Subject: Re: [pcp] Fwd: PCP metrics auto-completion in the command line From: Ken McDonell Reply-To: kenj@internode.on.net To: Nathan Scott Cc: pcp@oss.sgi.com In-Reply-To: <171699094.4730731242018575836.JavaMail.root@mail-au.aconex.com> References: <171699094.4730731242018575836.JavaMail.root@mail-au.aconex.com> Content-Type: text/plain Date: Mon, 11 May 2009 16:23:51 +1000 Message-Id: <1242023031.17338.8.camel@bozo> Mime-Version: 1.0 X-Mailer: Evolution 2.26.1 Content-Transfer-Encoding: 7bit X-Barracuda-Connect: bld-mail19.adl2.internode.on.net[150.101.137.104] X-Barracuda-Start-Time: 1242023316 X-Barracuda-Bayes: INNOCENT GLOBAL 0.0000 1.0000 -2.0210 X-Barracuda-Virus-Scanned: by cuda.sgi.com at sgi.com X-Barracuda-Spam-Score: -2.02 X-Barracuda-Spam-Status: No, SCORE=-2.02 using per-user scores of TAG_LEVEL=2.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=2.1 tests= X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.1.25477 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- X-Virus-Scanned: ClamAV version 0.94.2, clamav-milter version 0.94.2 on oss.sgi.com X-Virus-Status: Clean Interesting. Need to dig a bit deeper, but for me it does not work correctly. The auto completion list for hinv. is reported as hinv.cpu.bogomips hinv.cpu.stepping hinv.map.scsi hinv.pagesize hinv.cpu.cache hinv.cpu.vendor hinv.ncpu hinv.physmem hinv.cpu.clock hinv.machine hinv.ndisk hinv.cpu.model hinv.map.cpu_num hinv.nfilesys but pminfo hinv.cpu reports hinv.cpu.clock hinv.cpu.vendor hinv.cpu.model hinv.cpu.stepping hinv.cpu.cache hinv.cpu.bogomips So I'm not sure where the metrics namespace info is coming from! And with -h and/or -a, hard to see how this is going to work without surprises. On Mon, 2009-05-11 at 15:09 +1000, Nathan Scott wrote: > Enjoy! Considering installing this to /etc/bash_completion.d - > anyone have any thoughts? > > cheers. > > ----- Forwarded Message ----- > From: "Roman Revyakin" > Sent: Monday, May 11, 2009 2:36:36 PM GMT +10:00 Canberra / Melbourne / Sydney > Subject: PCP metrics auto-completion in the command line > > Hi guys, > > I do not know how much each of of you guys interact with the > command-line PCP tools like pminfo or pmdumptext, in any case here's > what I find helpful: autocompletion of the PCP metrics in your command > line. (For Bash users only as of now, sorry). > > Untar the attached tarball in your home, and add the following lines to > your .bashrc > > if [ -d ~/.bash_completion.d ] > then > for f in `ls ~/.bash_completion.d` > do > source ~/.bash_completion.d/"$f" > done > fi > > Try it out after sourcing your new .bashrc: > > pminfo -f aconex. > > Autocompletion works for the following set of programs as of now: > > pminfo > pmdumptext > pmdumplog > pmlogsummary > pmstore > pmval > > Enjoy, > Roman > > -- > Roman Revyakin > ETO Systems Engineer > Aconex > The easy way to save time and money on your project > > 696 Bourke Street, Melbourne, Victoria, Australia > Tel: +61 3 9240 0200 Fax: +61 3 9240 0299 > > _______________________________________________ > pcp mailing list > pcp@oss.sgi.com > http://oss.sgi.com/mailman/listinfo/pcp > From nscott@aconex.com Mon May 11 01:43:35 2009 X-Spam-Checker-Version: SpamAssassin 3.3.0-rupdated (updated) on oss.sgi.com X-Spam-Level: X-Spam-Status: No, score=-2.0 required=5.0 tests=AWL,BAYES_00,J_CHICKENPOX_43, J_CHICKENPOX_44,J_CHICKENPOX_45,J_CHICKENPOX_47,J_CHICKENPOX_48 autolearn=no version=3.3.0-rupdated Received: from cuda.sgi.com (cuda2.sgi.com [192.48.176.25]) by oss.sgi.com (8.14.3/8.14.3/SuSE Linux 0.8) with ESMTP id n4B6hXOc232284 for ; Mon, 11 May 2009 01:43:34 -0500 X-ASG-Debug-ID: 1242024218-45c601050000-S8gJnT X-Barracuda-URL: http://cuda.sgi.com:80/cgi-bin/mark.cgi Received: from postoffice2.aconex.com (localhost [127.0.0.1]) by cuda.sgi.com (Spam Firewall) with ESMTP id 98E63277383 for ; Sun, 10 May 2009 23:43:38 -0700 (PDT) Received: from postoffice2.aconex.com (mail.aconex.com [203.89.202.182]) by cuda.sgi.com with ESMTP id mQGxpUe8ADdz6JxQ for ; Sun, 10 May 2009 23:43:38 -0700 (PDT) Received: from postoffice.aconex.com (localhost [127.0.0.1]) by postoffice2.aconex.com (Spam Firewall) with ESMTP id 5208254B42B; Mon, 11 May 2009 16:43:37 +1000 (EST) Received: from postoffice.aconex.com (postoffice.yarra.acx [192.168.102.1]) by postoffice2.aconex.com with ESMTP id 7yakHwkD4Zpws0tG; Mon, 11 May 2009 16:43:37 +1000 (EST) Received: from gatekeeper.aconex.com (gatekeeper.yarra.acx [192.168.102.10]) by postoffice.aconex.com (Postfix) with ESMTP id AE457A5028C; Mon, 11 May 2009 16:43:35 +1000 (EST) Received: from localhost (localhost.localdomain [127.0.0.1]) by gatekeeper.aconex.com (Postfix) with ESMTP id 934774FD87; Mon, 11 May 2009 16:48:14 +1000 (EST) X-Virus-Scanned: ClamAV version 0.94.2, clamav-milter version 0.94.2 on oss.sgi.com X-Virus-Scanned: amavisd-new at gatekeeper.yarra.acx Received: from gatekeeper.aconex.com ([127.0.0.1]) by localhost (gatekeeper.aconex.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id j4SbqK351Ou5; Mon, 11 May 2009 16:48:09 +1000 (EST) Received: from mail-au.aconex.com (mail-au.aconex.com [192.168.102.12]) by gatekeeper.aconex.com (Postfix) with ESMTP id 922454FD85; Mon, 11 May 2009 16:48:09 +1000 (EST) Date: Mon, 11 May 2009 16:43:32 +1000 (EST) From: Nathan Scott To: kenj@internode.on.net, Roman Revyakin Cc: pcp@oss.sgi.com Message-ID: <663113014.4742211242024212224.JavaMail.root@mail-au.aconex.com> In-Reply-To: <374355103.4742181242024085099.JavaMail.root@mail-au.aconex.com> X-ASG-Orig-Subj: Re: [pcp] Fwd: PCP metrics auto-completion in the command line Subject: Re: [pcp] Fwd: PCP metrics auto-completion in the command line MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Originating-IP: [203.89.192.141] X-Mailer: Zimbra 5.0.13_GA_2791.RHEL5_64 (ZimbraWebClient - [unknown] (Linux)/5.0.13_GA_2791.RHEL5_64) X-Barracuda-Connect: mail.aconex.com[203.89.202.182] X-Barracuda-Start-Time: 1242024219 X-Barracuda-Bayes: INNOCENT GLOBAL 0.0000 1.0000 -2.0210 X-Barracuda-Virus-Scanned: by cuda.sgi.com at sgi.com X-Barracuda-Spam-Score: -2.02 X-Barracuda-Spam-Status: No, SCORE=-2.02 using per-user scores of TAG_LEVEL=2.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=2.1 tests= X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.1.25477 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- X-Virus-Status: Clean ----- "Ken McDonell" wrote: > Interesting. >=20 > Need to dig a bit deeper, but for me it does not work correctly. Depends how you define "correctly" I suspect. You may be expecting it to stop at first "."? Not sure thats what it is designed todo... > The auto completion list for hinv. is reported as > hinv.cpu.bogomips hinv.cpu.stepping hinv.map.scsi =20 > hinv.pagesize > hinv.cpu.cache hinv.cpu.vendor hinv.ncpu hinv.physmem > hinv.cpu.clock hinv.machine hinv.ndisk =20 > hinv.cpu.model hinv.map.cpu_num hinv.nfilesys =20 >=20 > but pminfo hinv.cpu reports > hinv.cpu.clock > hinv.cpu.vendor > hinv.cpu.model > hinv.cpu.stepping > hinv.cpu.cache > hinv.cpu.bogomips All of those are listed above though. As well as everything else below hinv, afaict, so it looks correct to me (just, not stopping at the next level down, but expands all below a point if there's not "too much" matching). > So I'm not sure where the metrics namespace info is coming from! Its running pminfo internally ... COMPREPLY=3D(`compgen -W '$(command pminfo)' $cur`) ... maybe Roman can explain how that bit works. compgen is a bash builtin: compgen [option] [word] Generate possible completion matches for word according to = the options, which may be any option accepted by the compl= ete builtin with the exception of -p and -r, and write the matc= hes to the standard output. When using the -F or -C options, = the various shell variables set by the programmable complet= ion facilities, while available, will not have useful values. The matches will be generated in the same way as if the p= ro=E2=80=90 grammable completion code had generated them directly fro= m a completion specification with the same flags. If word is spe= ci=E2=80=90 fied, only those completions matching word will be displayed. The return value is true unless an invalid option is suppli= ed, or no matches were generated. Not sure what -W does. > And with -h and/or -a, hard to see how this is going to work without > surprises. Those are explicitly excluded via the regexs (i.e. if those were the last part of the command line before attempting expansion, then no expansion is attempted, I think). cheers. --=20 Nathan From kenj@internode.on.net Mon May 11 02:52:59 2009 X-Spam-Checker-Version: SpamAssassin 3.3.0-rupdated (updated) on oss.sgi.com X-Spam-Level: X-Spam-Status: No, score=-2.3 required=5.0 tests=AWL,BAYES_00,J_CHICKENPOX_43, J_CHICKENPOX_44,J_CHICKENPOX_45,J_CHICKENPOX_47,J_CHICKENPOX_48 autolearn=no version=3.3.0-rupdated Received: from cuda.sgi.com (cuda3.sgi.com [192.48.176.15]) by oss.sgi.com (8.14.3/8.14.3/SuSE Linux 0.8) with ESMTP id n4B7qwMo236668 for ; Mon, 11 May 2009 02:52:59 -0500 X-ASG-Debug-ID: 1242028382-67e701e40000-S8gJnT X-Barracuda-URL: http://cuda.sgi.com:80/cgi-bin/mark.cgi Received: from mail.internode.on.net (localhost [127.0.0.1]) by cuda.sgi.com (Spam Firewall) with ESMTP id 262C21D22817 for ; Mon, 11 May 2009 00:53:02 -0700 (PDT) Received: from mail.internode.on.net (bld-mail17.adl2.internode.on.net [150.101.137.102]) by cuda.sgi.com with ESMTP id 9YIw6yBJwj5bKwIf for ; Mon, 11 May 2009 00:53:02 -0700 (PDT) Received: from [192.168.1.100] (unverified [118.208.255.77]) by mail.internode.on.net (SurgeMail 3.8f2) with ESMTP id 6779-1927428 for multiple; Mon, 11 May 2009 17:23:01 +0930 (CST) X-ASG-Orig-Subj: Re: [pcp] Fwd: PCP metrics auto-completion in the command line Subject: Re: [pcp] Fwd: PCP metrics auto-completion in the command line From: Ken McDonell Reply-To: kenj@internode.on.net To: Nathan Scott Cc: Roman Revyakin , pcp@oss.sgi.com In-Reply-To: <663113014.4742211242024212224.JavaMail.root@mail-au.aconex.com> References: <663113014.4742211242024212224.JavaMail.root@mail-au.aconex.com> Content-Type: text/plain; charset="UTF-8" Date: Mon, 11 May 2009 17:52:49 +1000 Message-Id: <1242028369.17338.11.camel@bozo> Mime-Version: 1.0 X-Mailer: Evolution 2.26.1 Content-Transfer-Encoding: quoted-printable X-Barracuda-Connect: bld-mail17.adl2.internode.on.net[150.101.137.102] X-Barracuda-Start-Time: 1242028384 X-Barracuda-Bayes: INNOCENT GLOBAL 0.0000 1.0000 -2.0210 X-Barracuda-Virus-Scanned: by cuda.sgi.com at sgi.com X-Barracuda-Spam-Score: -2.02 X-Barracuda-Spam-Status: No, SCORE=-2.02 using per-user scores of TAG_LEVEL=2.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=2.1 tests= X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.1.25483 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- X-Virus-Scanned: ClamAV version 0.94.2, clamav-milter version 0.94.2 on oss.sgi.com X-Virus-Status: Clean The example I used in the mail is not what I did (duh!). And now I cannot reproduce the "problem" which was pminfo returned Unknown metric name for a metric name formed by auto completion. Don't know what happened ... assume idiot user error and please ignore. Ta. On Mon, 2009-05-11 at 16:43 +1000, Nathan Scott wrote: > ----- "Ken McDonell" wrote: >=20 > > Interesting. > >=20 > > Need to dig a bit deeper, but for me it does not work correctly. >=20 > Depends how you define "correctly" I suspect. You may be expecting > it to stop at first "."? Not sure thats what it is designed todo... >=20 > > The auto completion list for hinv. is reported as > > hinv.cpu.bogomips hinv.cpu.stepping hinv.map.scsi =20 > > hinv.pagesize > > hinv.cpu.cache hinv.cpu.vendor hinv.ncpu hinv.physmem > > hinv.cpu.clock hinv.machine hinv.ndisk =20 > > hinv.cpu.model hinv.map.cpu_num hinv.nfilesys =20 > >=20 > > but pminfo hinv.cpu reports > > hinv.cpu.clock > > hinv.cpu.vendor > > hinv.cpu.model > > hinv.cpu.stepping > > hinv.cpu.cache > > hinv.cpu.bogomips >=20 > All of those are listed above though. As well as everything else > below hinv, afaict, so it looks correct to me (just, not stopping > at the next level down, but expands all below a point if there's > not "too much" matching). >=20 > > So I'm not sure where the metrics namespace info is coming from! >=20 > Its running pminfo internally ... > COMPREPLY=3D(`compgen -W '$(command pminfo)' $cur`) >=20 > ... maybe Roman can explain how that bit works. compgen is > a bash builtin: >=20 > compgen [option] [word] > Generate possible completion matches for word according t= o the > options, which may be any option accepted by the com= plete > builtin with the exception of -p and -r, and write the ma= tches > to the standard output. When using the -F or -C options,= the > various shell variables set by the programmable compl= etion > facilities, while available, will not have useful values. >=20 > The matches will be generated in the same way as if the = pro=E2=80=90 > grammable completion code had generated them directly f= rom a > completion specification with the same flags. If word is s= peci=E2=80=90 > fied, only those completions matching word will be displaye= d. >=20 > The return value is true unless an invalid option is supp= lied, > or no matches were generated. >=20 > Not sure what -W does. >=20 > > And with -h and/or -a, hard to see how this is going to work without > > surprises. >=20 > Those are explicitly excluded via the regexs (i.e. if those were the > last part of the command line before attempting expansion, then no > expansion is attempted, I think). >=20 > cheers. >=20 From mort@sgi.com Mon May 11 07:41:22 2009 X-Spam-Checker-Version: SpamAssassin 3.3.0-rupdated (updated) on oss.sgi.com X-Spam-Level: X-Spam-Status: No, score=-2.5 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.3.0-rupdated Received: from relay.sgi.com (relay1.corp.sgi.com [137.38.102.111]) by oss.sgi.com (8.14.3/8.14.3/SuSE Linux 0.8) with ESMTP id n4BCfMtn254295 for ; Mon, 11 May 2009 07:41:22 -0500 Received: from attica.americas.sgi.com (attica.americas.sgi.com [128.162.236.44]) by relay1.corp.sgi.com (Postfix) with ESMTP id 85F2D8F806F; Mon, 11 May 2009 05:41:25 -0700 (PDT) Received: by attica.americas.sgi.com (Postfix, from userid 44682) id 5A822A0BB90D; Mon, 11 May 2009 07:41:25 -0500 (CDT) Date: Mon, 11 May 2009 07:41:25 -0500 From: Martin Hicks To: Nathan Scott Cc: pcp@oss.sgi.com Subject: Re: [pcp] Fwd: PCP metrics auto-completion in the command line Message-ID: <20090511124125.GK14353@alcatraz.americas.sgi.com> References: <20090511143636.71c70972@aconex.com> <171699094.4730731242018575836.JavaMail.root@mail-au.aconex.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <171699094.4730731242018575836.JavaMail.root@mail-au.aconex.com> User-Agent: Mutt/1.5.17 (2007-11-01) X-Virus-Scanned: ClamAV version 0.94.2, clamav-milter version 0.94.2 on oss.sgi.com X-Virus-Status: Clean On Mon, May 11, 2009 at 03:09:35PM +1000, Nathan Scott wrote: > Enjoy! Considering installing this to /etc/bash_completion.d - > anyone have any thoughts? I definitely like it! mh From nscott@aconex.com Mon May 11 18:59:28 2009 X-Spam-Checker-Version: SpamAssassin 3.3.0-rupdated (updated) on oss.sgi.com X-Spam-Level: X-Spam-Status: No, score=-2.2 required=5.0 tests=AWL,BAYES_00,J_CHICKENPOX_73 autolearn=no version=3.3.0-rupdated Received: from cuda.sgi.com (cuda2.sgi.com [192.48.176.25]) by oss.sgi.com (8.14.3/8.14.3/SuSE Linux 0.8) with ESMTP id n4BNxRok019516 for ; Mon, 11 May 2009 18:59:27 -0500 X-ASG-Debug-ID: 1242086371-6c2102580000-S8gJnT X-Barracuda-URL: http://cuda.sgi.com:80/cgi-bin/mark.cgi Received: from postoffice2.aconex.com (localhost [127.0.0.1]) by cuda.sgi.com (Spam Firewall) with ESMTP id 884B027B30C for ; Mon, 11 May 2009 16:59:31 -0700 (PDT) Received: from postoffice2.aconex.com (mail.aconex.com [203.89.202.182]) by cuda.sgi.com with ESMTP id dMY9IcA326Ep5Xqk for ; Mon, 11 May 2009 16:59:31 -0700 (PDT) Received: from postoffice.aconex.com (localhost [127.0.0.1]) by postoffice2.aconex.com (Spam Firewall) with ESMTP id 1618354FE0A for ; Tue, 12 May 2009 09:59:30 +1000 (EST) Received: from postoffice.aconex.com (postoffice.yarra.acx [192.168.102.1]) by postoffice2.aconex.com with ESMTP id hMqiHJHs7MF6BJqf for ; Tue, 12 May 2009 09:59:30 +1000 (EST) Received: from gatekeeper.aconex.com (gatekeeper.yarra.acx [192.168.102.10]) by postoffice.aconex.com (Postfix) with ESMTP id 1B52BA50121 for ; Tue, 12 May 2009 09:59:28 +1000 (EST) Received: from localhost (localhost.localdomain [127.0.0.1]) by gatekeeper.aconex.com (Postfix) with ESMTP id 18C434FD86 for ; Tue, 12 May 2009 10:04:13 +1000 (EST) X-Virus-Scanned: ClamAV version 0.94.2, clamav-milter version 0.94.2 on oss.sgi.com X-Virus-Scanned: amavisd-new at gatekeeper.yarra.acx Received: from gatekeeper.aconex.com ([127.0.0.1]) by localhost (gatekeeper.aconex.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id NEwKdRs1Wbp1 for ; Tue, 12 May 2009 10:04:09 +1000 (EST) Received: from mail-au.aconex.com (mail-au.aconex.com [192.168.102.12]) by gatekeeper.aconex.com (Postfix) with ESMTP id 68C754FD85 for ; Tue, 12 May 2009 10:04:09 +1000 (EST) Date: Tue, 12 May 2009 09:59:26 +1000 (EST) From: Nathan Scott To: pcp@oss.sgi.com Message-ID: <1641262048.4763511242086366304.JavaMail.root@mail-au.aconex.com> X-ASG-Orig-Subj: pcp updates (2.8.3) Subject: pcp updates (2.8.3) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Originating-IP: [203.89.192.141] X-Mailer: Zimbra 5.0.13_GA_2791.RHEL5_64 (ZimbraWebClient - [unknown] (Linux)/5.0.13_GA_2791.RHEL5_64) X-Barracuda-Connect: mail.aconex.com[203.89.202.182] X-Barracuda-Start-Time: 1242086373 X-Barracuda-Bayes: INNOCENT GLOBAL 0.0000 1.0000 -2.0210 X-Barracuda-Virus-Scanned: by cuda.sgi.com at sgi.com X-Barracuda-Spam-Score: -1.52 X-Barracuda-Spam-Status: No, SCORE=-1.52 using per-user scores of TAG_LEVEL=2.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=2.1 tests=BSF_RULE7568M X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.1.25533 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- 0.50 BSF_RULE7568M Custom Rule 7568M X-Virus-Status: Clean Changes committed to git://oss.sgi.com/pcp/pcp.git CHANGELOG | 15 ++++++-- VERSION.pcp | 2 - configure.in | 3 - debian/GNUmakefile | 2 - debian/changelog | 6 +++ debian/control | 67 ++++++++++++++++++++++++++++++------- debian/source.lintian-overrides | 4 -- src/bashrc/GNUmakefile | 32 +++++++++++++++++ src/bashrc/pcp_completion.sh | 65 +++++++++++++++++++++++++++++++++++ src/include/platform_defs.h.in | 20 ----------- src/libkmtime/src/.gitignore | 1 src/libpcp_pmc/examples/.gitignore | 2 - src/libpcp_pmc/pcp/.gitignore | 3 - src/libpcp_pmc/pcp/pmc/.gitignore | 1 src/libpcp_pmc/src/.gitignore | 4 -- src/pmcdctl/pmcd_wait.c | 5 +- src/pmclient/pmclient.c | 9 +--- src/pmdas/linux/filesys.c | 14 ++++--- src/pmdumptext/.gitignore | 1 19 files changed, 188 insertions(+), 68 deletions(-) commit c2dc7f56aae778d0f8621ded1499f5d9c98bbbe8 Author: Nathan Scott Date: Tue May 12 09:46:42 2009 +1000 Debian packaging updates and bump release number to 2.8.3. commit 387bac6b443ac23d7b828738169d577757570e99 Author: Nathan Scott Date: Tue May 12 09:29:54 2009 +1000 Remove final references to sginap. Convert last two programs still using this (pmcd_wait and pmclient) to struct timeval APIs and clean out the trash, removing CLK_TCK, usleep and sginap macros in configure.in and platform_defs.h.in. commit ac3a8f0cc3e7798614dfa65c6501f91226a8dc3f Author: Nathan Scott Date: Mon May 11 17:13:18 2009 +1000 Tweak the bash auto-completion - local context and pmprobe support. Use local context mode when completing metric names in bash, so that it works (and straight-away, not with a 5 sec timeout) when pmcd is not running locally. Also added pmprobe as a command for which we expand metric names. Note that on Debian systems at least, in order for the system-wide auto-completion to use /etc/bash_completion.d/ files, a few lines in /etc/bash.bashrc need to be un-commented. commit 5127f904d15df2178364dbaefbbbd29d2615b2cf Author: Roman Revyakin Date: Mon May 11 17:06:11 2009 +1000 Bash auto-completion of metric names for several PCP tools. Use it as follows, after sourcing your new bash rc file (start new instance of bash). pminfo -f kernel. Autocompletion works for the following set of programs as of now: pminfo pmdumptext pmdumplog pmlogsummary pmstore pmval commit 52dcbe12f37312e92117cc5fe5532e6d7153759d Author: Nathan Scott Date: Mon May 11 16:00:48 2009 +1000 Remove some leftover gitignore cruft on old libkmtime. commit 3ce5ddd23187968f74c897ff76de87fa6e21d818 Author: Martin Hicks Date: Thu May 7 13:27:22 2009 -0500 Remove gitignores for libpcp_pmc and pmdumptext Both of these have moved over to pcp-gui commit d61bf4aed719780305e73df4db0b1e4617402779 Merge: 19c73ea 07fd076 Author: Martin Hicks Date: Thu May 7 07:53:23 2009 -0500 Merge commit 'nathan/dev' into oss-dev commit 19c73ead5569bd7cf5e637c42d26c9a5e39372da Author: Martin Hicks Date: Thu May 7 07:51:22 2009 -0500 Fix memory leak in xfs project quotas There was a memory leak in the XFS project quota metrics. Also added a malloc return value check to ensure that the pmcd wouldn't crash if a memory allocation failed while adding a new project to the indom cache. From rrevyakin@aconex.com Mon May 11 19:42:56 2009 X-Spam-Checker-Version: SpamAssassin 3.3.0-rupdated (updated) on oss.sgi.com X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00 autolearn=ham version=3.3.0-rupdated Received: from cuda.sgi.com (cuda2.sgi.com [192.48.176.25]) by oss.sgi.com (8.14.3/8.14.3/SuSE Linux 0.8) with ESMTP id n4C0gt8U021768 for ; Mon, 11 May 2009 19:42:55 -0500 X-ASG-Debug-ID: 1242088980-6c2403730000-S8gJnT X-Barracuda-URL: http://cuda.sgi.com:80/cgi-bin/mark.cgi Received: from postoffice2.aconex.com (localhost [127.0.0.1]) by cuda.sgi.com (Spam Firewall) with ESMTP id BC92727B44F for ; Mon, 11 May 2009 17:43:00 -0700 (PDT) Received: from postoffice2.aconex.com (mail.aconex.com [203.89.202.182]) by cuda.sgi.com with ESMTP id NkhXRKFqgzawLyxe for ; Mon, 11 May 2009 17:43:00 -0700 (PDT) Received: from postoffice.aconex.com (localhost [127.0.0.1]) by postoffice2.aconex.com (Spam Firewall) with ESMTP id 6B5B855033F; Tue, 12 May 2009 10:42:59 +1000 (EST) Received: from postoffice.aconex.com (postoffice.yarra.acx [192.168.102.1]) by postoffice2.aconex.com with ESMTP id KFjpD0tEgH7UJX2B; Tue, 12 May 2009 10:42:59 +1000 (EST) Received: from gatekeeper.aconex.com (gatekeeper.yarra.acx [192.168.102.10]) by postoffice.aconex.com (Postfix) with ESMTP id 70BD7A50121; Tue, 12 May 2009 10:42:57 +1000 (EST) Received: from localhost (localhost.localdomain [127.0.0.1]) by gatekeeper.aconex.com (Postfix) with ESMTP id AB9904FD87; Tue, 12 May 2009 10:47:42 +1000 (EST) X-Virus-Scanned: ClamAV version 0.94.2, clamav-milter version 0.94.2 on oss.sgi.com X-Virus-Scanned: amavisd-new at gatekeeper.yarra.acx Received: from gatekeeper.aconex.com ([127.0.0.1]) by localhost (gatekeeper.aconex.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id oQ932vqCi6zR; Tue, 12 May 2009 10:47:37 +1000 (EST) Received: from localhost.localdomain (melho0.aconex.com [203.89.192.141]) by gatekeeper.aconex.com (Postfix) with ESMTP id B4B554FD86; Tue, 12 May 2009 10:47:37 +1000 (EST) Date: Tue, 12 May 2009 10:42:51 +1000 From: Roman Revyakin To: Nathan Scott Cc: kenj@internode.on.net, pcp@oss.sgi.com X-ASG-Orig-Subj: Re: [pcp] Fwd: PCP metrics auto-completion in the command line Subject: Re: [pcp] Fwd: PCP metrics auto-completion in the command line Message-ID: <20090512104251.05fb4c00@aconex.com> In-Reply-To: <663113014.4742211242024212224.JavaMail.root@mail-au.aconex.com> References: <374355103.4742181242024085099.JavaMail.root@mail-au.aconex.com> <663113014.4742211242024212224.JavaMail.root@mail-au.aconex.com> Organization: Aconex X-Mailer: Claws Mail 3.3.1 (GTK+ 2.12.9; i486-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Barracuda-Connect: mail.aconex.com[203.89.202.182] X-Barracuda-Start-Time: 1242088981 X-Barracuda-Bayes: INNOCENT GLOBAL 0.0000 1.0000 -2.0210 X-Barracuda-Virus-Scanned: by cuda.sgi.com at sgi.com X-Barracuda-Spam-Score: -2.01 X-Barracuda-Spam-Status: No, SCORE=-2.01 using per-user scores of TAG_LEVEL=2.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=2.1 tests=BSF_SC0_SA_TO_FROM_DOMAIN_MATCH X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.1.25535 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- 0.01 BSF_SC0_SA_TO_FROM_DOMAIN_MATCH Sender Domain Matches Recipient Domain X-Virus-Status: Clean On Mon, 11 May 2009 16:43:32 +1000 (EST) Nathan Scott wrote: > > ----- "Ken McDonell" wrote: > > > Its running pminfo internally ... > COMPREPLY=(`compgen -W '$(command pminfo)' $cur`) > > ... maybe Roman can explain how that bit works. compgen is > a bash builtin: > Yes, it generates the completion list out of the output it receives from the pminfo command. > > Not sure what -W does. > Generate completions out of the given wordlist. > > And with -h and/or -a, hard to see how this is going to work without > > surprises. > > Those are explicitly excluded via the regexs (i.e. if those were the > last part of the command line before attempting expansion, then no > expansion is attempted, I think). > Yes, exactly. Heavy Bash syntax :-) Roman From goodwinos@gmail.com Mon May 11 19:57:22 2009 X-Spam-Checker-Version: SpamAssassin 3.3.0-rupdated (updated) on oss.sgi.com X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00 autolearn=ham version=3.3.0-rupdated Received: from cuda.sgi.com (cuda1.sgi.com [192.48.157.11]) by oss.sgi.com (8.14.3/8.14.3/SuSE Linux 0.8) with ESMTP id n4C0vL1X022576 for ; Mon, 11 May 2009 19:57:22 -0500 X-ASG-Debug-ID: 1242090118-1c8b01390000-S8gJnT X-Barracuda-URL: http://cuda.sgi.com:80/cgi-bin/mark.cgi Received: from mx2.redhat.com (localhost [127.0.0.1]) by cuda.sgi.com (Spam Firewall) with ESMTP id 9039DF91D6B for ; Mon, 11 May 2009 18:01:58 -0700 (PDT) Received: from mx2.redhat.com (mx2.redhat.com [66.187.237.31]) by cuda.sgi.com with ESMTP id mFj3yBoZWNldOF3a for ; Mon, 11 May 2009 18:01:58 -0700 (PDT) Received: from int-mx2.corp.redhat.com (int-mx2.corp.redhat.com [172.16.27.26]) by mx2.redhat.com (8.13.8/8.13.8) with ESMTP id n4C0vLpt017585; Mon, 11 May 2009 20:57:21 -0400 Received: from ns3.rdu.redhat.com (ns3.rdu.redhat.com [10.11.255.199]) by int-mx2.corp.redhat.com (8.13.1/8.13.1) with ESMTP id n4C0vKTr028091; Mon, 11 May 2009 20:57:20 -0400 Received: from [10.64.6.19] (vpn6-6-19.bne.redhat.com [10.64.6.19]) by ns3.rdu.redhat.com (8.13.8/8.13.8) with ESMTP id n4C0vHwf022950; Mon, 11 May 2009 20:57:18 -0400 Message-ID: <4A08C96C.8090908@gmail.com> Date: Tue, 12 May 2009 10:57:16 +1000 From: Mark Goodwin User-Agent: Thunderbird 2.0.0.21 (X11/20090320) MIME-Version: 1.0 To: Nathan Scott CC: pcp@oss.sgi.com X-ASG-Orig-Subj: Re: [pcp] pcp updates (2.8.3) Subject: Re: [pcp] pcp updates (2.8.3) References: <1641262048.4763511242086366304.JavaMail.root@mail-au.aconex.com> In-Reply-To: <1641262048.4763511242086366304.JavaMail.root@mail-au.aconex.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 2.58 on 172.16.27.26 X-Barracuda-Connect: mx2.redhat.com[66.187.237.31] X-Barracuda-Start-Time: 1242090119 X-Barracuda-Bayes: INNOCENT GLOBAL 0.0000 1.0000 -2.0210 X-Barracuda-Virus-Scanned: by cuda.sgi.com at sgi.com X-Barracuda-Spam-Score: -1.52 X-Barracuda-Spam-Status: No, SCORE=-1.52 using per-user scores of TAG_LEVEL=2.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=2.1 tests=BSF_RULE7568M X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.1.25536 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- 0.50 BSF_RULE7568M Custom Rule 7568M X-Virus-Scanned: ClamAV version 0.94.2, clamav-milter version 0.94.2 on oss.sgi.com X-Virus-Status: Clean Nathan Scott wrote: > Changes committed to git://oss.sgi.com/pcp/pcp.git > ... > commit ac3a8f0cc3e7798614dfa65c6501f91226a8dc3f > Author: Nathan Scott > Date: Mon May 11 17:13:18 2009 +1000 > > Tweak the bash auto-completion - local context and pmprobe support. > > Use local context mode when completing metric names in bash, > so that it works (and straight-away, not with a 5 sec timeout) > when pmcd is not running locally. > I haven't looked at the code, but I'd guess this is going to need some tweaking isn't it? e.g. for metrics in non-DSO PMDAs and (in general) PMDAs that are not supported with a local context? Cheers -- Mark From nscott@aconex.com Mon May 11 20:00:00 2009 X-Spam-Checker-Version: SpamAssassin 3.3.0-rupdated (updated) on oss.sgi.com X-Spam-Level: X-Spam-Status: No, score=-2.2 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.3.0-rupdated Received: from cuda.sgi.com (cuda2.sgi.com [192.48.176.25]) by oss.sgi.com (8.14.3/8.14.3/SuSE Linux 0.8) with ESMTP id n4C0xxQP022705 for ; Mon, 11 May 2009 20:00:00 -0500 X-ASG-Debug-ID: 1242090004-6c2003a50000-S8gJnT X-Barracuda-URL: http://cuda.sgi.com:80/cgi-bin/mark.cgi Received: from postoffice2.aconex.com (localhost [127.0.0.1]) by cuda.sgi.com (Spam Firewall) with ESMTP id A8C5E27B314 for ; Mon, 11 May 2009 18:00:05 -0700 (PDT) Received: from postoffice2.aconex.com (mail.aconex.com [203.89.202.182]) by cuda.sgi.com with ESMTP id Oxm6Gy27pNpqbz36 for ; Mon, 11 May 2009 18:00:05 -0700 (PDT) Received: from postoffice.aconex.com (localhost [127.0.0.1]) by postoffice2.aconex.com (Spam Firewall) with ESMTP id 2306455030E; Tue, 12 May 2009 11:00:03 +1000 (EST) Received: from postoffice.aconex.com (postoffice.yarra.acx [192.168.102.1]) by postoffice2.aconex.com with ESMTP id lAgDWnsKA4hb9tVZ; Tue, 12 May 2009 11:00:03 +1000 (EST) Received: from gatekeeper.aconex.com (gatekeeper.yarra.acx [192.168.102.10]) by postoffice.aconex.com (Postfix) with ESMTP id 207B5A50121; Tue, 12 May 2009 11:00:01 +1000 (EST) Received: from localhost (localhost.localdomain [127.0.0.1]) by gatekeeper.aconex.com (Postfix) with ESMTP id 736F24FD87; Tue, 12 May 2009 11:04:46 +1000 (EST) X-Virus-Scanned: ClamAV version 0.94.2, clamav-milter version 0.94.2 on oss.sgi.com X-Virus-Scanned: amavisd-new at gatekeeper.yarra.acx Received: from gatekeeper.aconex.com ([127.0.0.1]) by localhost (gatekeeper.aconex.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id xToHDFzG4FaQ; Tue, 12 May 2009 11:04:41 +1000 (EST) Received: from mail-au.aconex.com (mail-au.aconex.com [192.168.102.12]) by gatekeeper.aconex.com (Postfix) with ESMTP id BCC264FD86; Tue, 12 May 2009 11:04:41 +1000 (EST) Date: Tue, 12 May 2009 10:59:58 +1000 (EST) From: Nathan Scott To: Mark Goodwin Cc: pcp@oss.sgi.com Message-ID: <423924162.4768071242089998339.JavaMail.root@mail-au.aconex.com> In-Reply-To: <4A08C96C.8090908@gmail.com> X-ASG-Orig-Subj: Re: [pcp] pcp updates (2.8.3) Subject: Re: [pcp] pcp updates (2.8.3) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Originating-IP: [203.89.192.141] X-Mailer: Zimbra 5.0.13_GA_2791.RHEL5_64 (ZimbraWebClient - [unknown] (Linux)/5.0.13_GA_2791.RHEL5_64) X-Barracuda-Connect: mail.aconex.com[203.89.202.182] X-Barracuda-Start-Time: 1242090005 X-Barracuda-Bayes: INNOCENT GLOBAL 0.0029 1.0000 -2.0020 X-Barracuda-Virus-Scanned: by cuda.sgi.com at sgi.com X-Barracuda-Spam-Score: -2.00 X-Barracuda-Spam-Status: No, SCORE=-2.00 using per-user scores of TAG_LEVEL=2.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=2.1 tests= X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.1.25537 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- X-Virus-Status: Clean ----- "Mark Goodwin" wrote: > Nathan Scott wrote: > > Use local context mode when completing metric names in bash, > > so that it works (and straight-away, not with a 5 sec timeout) > > when pmcd is not running locally. > > > > I haven't looked at the code, but I'd guess this is going to need > some tweaking isn't it? e.g. for metrics in non-DSO PMDAs and (in > general) PMDAs that are not supported with a local context? No, for local context we list all of the names in the local pmns file. I checked. :) (Otherwise, yes, not alot of point as it'd introduce more issues than it solves). cheers. -- Nathan From nscott@aconex.com Mon May 11 21:17:19 2009 X-Spam-Checker-Version: SpamAssassin 3.3.0-rupdated (updated) on oss.sgi.com X-Spam-Level: X-Spam-Status: No, score=-2.2 required=5.0 tests=AWL,BAYES_00,J_CHICKENPOX_73 autolearn=no version=3.3.0-rupdated Received: from cuda.sgi.com (cuda3.sgi.com [192.48.176.15]) by oss.sgi.com (8.14.3/8.14.3/SuSE Linux 0.8) with ESMTP id n4C2HIEV027257 for ; Mon, 11 May 2009 21:17:19 -0500 X-ASG-Debug-ID: 1242094643-04ab00440000-S8gJnT X-Barracuda-URL: http://cuda.sgi.com:80/cgi-bin/mark.cgi Received: from postoffice2.aconex.com (localhost [127.0.0.1]) by cuda.sgi.com (Spam Firewall) with ESMTP id 2705A1D26F3A for ; Mon, 11 May 2009 19:17:24 -0700 (PDT) Received: from postoffice2.aconex.com (mail.aconex.com [203.89.202.182]) by cuda.sgi.com with ESMTP id a8H7S3brt8HScF05 for ; Mon, 11 May 2009 19:17:24 -0700 (PDT) Received: from postoffice.aconex.com (localhost [127.0.0.1]) by postoffice2.aconex.com (Spam Firewall) with ESMTP id 46A97550E54 for ; Tue, 12 May 2009 12:17:22 +1000 (EST) Received: from postoffice.aconex.com (postoffice.yarra.acx [192.168.102.1]) by postoffice2.aconex.com with ESMTP id IXUh9lDOQNQtSfzj for ; Tue, 12 May 2009 12:17:22 +1000 (EST) Received: from gatekeeper.aconex.com (gatekeeper.yarra.acx [192.168.102.10]) by postoffice.aconex.com (Postfix) with ESMTP id 47D96A50121 for ; Tue, 12 May 2009 12:17:20 +1000 (EST) Received: from localhost (localhost.localdomain [127.0.0.1]) by gatekeeper.aconex.com (Postfix) with ESMTP id 16E5B4FD87 for ; Tue, 12 May 2009 12:22:06 +1000 (EST) X-Virus-Scanned: ClamAV version 0.94.2, clamav-milter version 0.94.2 on oss.sgi.com X-Virus-Scanned: amavisd-new at gatekeeper.yarra.acx Received: from gatekeeper.aconex.com ([127.0.0.1]) by localhost (gatekeeper.aconex.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id jhzgXGLlFedJ for ; Tue, 12 May 2009 12:22:02 +1000 (EST) Received: from mail-au.aconex.com (mail-au.aconex.com [192.168.102.12]) by gatekeeper.aconex.com (Postfix) with ESMTP id 44EC64FD88 for ; Tue, 12 May 2009 12:22:02 +1000 (EST) Date: Tue, 12 May 2009 12:17:18 +1000 (EST) From: Nathan Scott To: pcp@oss.sgi.com Message-ID: <1453577835.4773541242094638395.JavaMail.root@mail-au.aconex.com> X-ASG-Orig-Subj: pcp update (2.8.4) Subject: pcp update (2.8.4) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Originating-IP: [203.89.192.141] X-Mailer: Zimbra 5.0.13_GA_2791.RHEL5_64 (ZimbraWebClient - [unknown] (Linux)/5.0.13_GA_2791.RHEL5_64) X-Barracuda-Connect: mail.aconex.com[203.89.202.182] X-Barracuda-Start-Time: 1242094645 X-Barracuda-Bayes: INNOCENT GLOBAL 0.0000 1.0000 -2.0210 X-Barracuda-Virus-Scanned: by cuda.sgi.com at sgi.com X-Barracuda-Spam-Score: -2.02 X-Barracuda-Spam-Status: No, SCORE=-2.02 using per-user scores of TAG_LEVEL=2.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=2.1 tests= X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.1.25541 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- X-Virus-Status: Clean Changes committed to git://oss.sgi.com/nathans/pcp.git CHANGELOG | 3 +++ VERSION.pcp | 2 +- debian/changelog | 6 ++++++ src/GNUmakefile | 2 +- src/bashrc/pcp_completion.sh | 2 +- 5 files changed, 12 insertions(+), 3 deletions(-) commit 67008d888f772d2fdae48439207d5e918e9c701e Author: Nathan Scott Date: Tue May 12 12:07:40 2009 +1000 Bump version number for 2.8.4. commit af3e3d2baf1e634c03377b24347a93ec9550ec3a Author: Nathan Scott Date: Tue May 12 12:03:06 2009 +1000 Add bashrc into SUBDIRS, add pmprobe to completion commands, really. From mort@sgi.com Tue May 12 13:32:55 2009 X-Spam-Checker-Version: SpamAssassin 3.3.0-rupdated (updated) on oss.sgi.com X-Spam-Level: X-Spam-Status: No, score=-2.5 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.3.0-rupdated Received: from relay.sgi.com (relay3.corp.sgi.com [198.149.34.15]) by oss.sgi.com (8.14.3/8.14.3/SuSE Linux 0.8) with ESMTP id n4CIWtBg092486 for ; Tue, 12 May 2009 13:32:55 -0500 Received: from attica.americas.sgi.com (attica.americas.sgi.com [128.162.236.44]) by relay3.corp.sgi.com (Postfix) with ESMTP id EB997AC008; Tue, 12 May 2009 11:32:58 -0700 (PDT) Received: by attica.americas.sgi.com (Postfix, from userid 44682) id 6C443A0BB916; Tue, 12 May 2009 13:32:58 -0500 (CDT) Date: Tue, 12 May 2009 13:32:58 -0500 From: Martin Hicks To: Nathan Scott Cc: pcp@oss.sgi.com Subject: redhatism in perl-PCP-PMDA specfile Message-ID: <20090512183258.GE14353@alcatraz.americas.sgi.com> References: <1453577835.4773541242094638395.JavaMail.root@mail-au.aconex.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1453577835.4773541242094638395.JavaMail.root@mail-au.aconex.com> User-Agent: Mutt/1.5.17 (2007-11-01) X-Virus-Scanned: ClamAV version 0.94.2, clamav-milter version 0.94.2 on oss.sgi.com X-Virus-Status: Clean I built the ia64 RPMS on a Sles11 machine, and the perl package won't install due to a dependency on a Redhat-specific Requires. minime3:/usr/src/packages/RPMS/ia64 # rpm -Uvh perl-PCP-PMDA-1.01-8.ia64.rpm error: Failed dependencies: perl(:MODULE_COMPAT_5.10.0) is needed by perl-PCP-PMDA-1.01-8.ia64 Nathan, do you know what perl version this package really requires? 5.6? 5.8? Could we just stick a Requires for >= some perl version? Thanks, mh From nscott@aconex.com Tue May 12 16:46:42 2009 X-Spam-Checker-Version: SpamAssassin 3.3.0-rupdated (updated) on oss.sgi.com X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.3.0-rupdated Received: from cuda.sgi.com (cuda3.sgi.com [192.48.176.15]) by oss.sgi.com (8.14.3/8.14.3/SuSE Linux 0.8) with ESMTP id n4CLkgY3100127 for ; Tue, 12 May 2009 16:46:42 -0500 X-ASG-Debug-ID: 1242164807-18cb028e0000-S8gJnT X-Barracuda-URL: http://cuda.sgi.com:80/cgi-bin/mark.cgi Received: from postoffice2.aconex.com (localhost [127.0.0.1]) by cuda.sgi.com (Spam Firewall) with ESMTP id 0EF1C1D2B373 for ; Tue, 12 May 2009 14:46:47 -0700 (PDT) Received: from postoffice2.aconex.com (mail.aconex.com [203.89.202.182]) by cuda.sgi.com with ESMTP id 9rTTMltr2hhI5XzX for ; Tue, 12 May 2009 14:46:47 -0700 (PDT) Received: from postoffice.aconex.com (localhost [127.0.0.1]) by postoffice2.aconex.com (Spam Firewall) with ESMTP id 7A07A557256; Wed, 13 May 2009 07:46:46 +1000 (EST) Received: from postoffice.aconex.com (postoffice.yarra.acx [192.168.102.1]) by postoffice2.aconex.com with ESMTP id N1sCUAuE6S4x4yWr; Wed, 13 May 2009 07:46:46 +1000 (EST) Received: from gatekeeper.aconex.com (gatekeeper.yarra.acx [192.168.102.10]) by postoffice.aconex.com (Postfix) with ESMTP id 098AAA5028C; Wed, 13 May 2009 07:46:44 +1000 (EST) Received: from localhost (localhost.localdomain [127.0.0.1]) by gatekeeper.aconex.com (Postfix) with ESMTP id 9FBB14FD86; Wed, 13 May 2009 07:51:36 +1000 (EST) X-Virus-Scanned: ClamAV version 0.94.2, clamav-milter version 0.94.2 on oss.sgi.com X-Virus-Scanned: amavisd-new at gatekeeper.yarra.acx Received: from gatekeeper.aconex.com ([127.0.0.1]) by localhost (gatekeeper.aconex.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id NqrtkouWcu4U; Wed, 13 May 2009 07:51:31 +1000 (EST) Received: from mail-au.aconex.com (mail-au.aconex.com [192.168.102.12]) by gatekeeper.aconex.com (Postfix) with ESMTP id DA2594FD84; Wed, 13 May 2009 07:51:31 +1000 (EST) Date: Wed, 13 May 2009 07:46:41 +1000 (EST) From: Nathan Scott To: Martin Hicks Cc: pcp@oss.sgi.com Message-ID: <1339458571.4807571242164801563.JavaMail.root@mail-au.aconex.com> In-Reply-To: <141669641.4807551242164723736.JavaMail.root@mail-au.aconex.com> X-ASG-Orig-Subj: Re: redhatism in perl-PCP-PMDA specfile Subject: Re: redhatism in perl-PCP-PMDA specfile MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Originating-IP: [211.28.214.49] X-Mailer: Zimbra 5.0.13_GA_2791.RHEL5_64 (ZimbraWebClient - SAF3 (Mac)/5.0.13_GA_2791.RHEL5_64) X-Barracuda-Connect: mail.aconex.com[203.89.202.182] X-Barracuda-Start-Time: 1242164809 X-Barracuda-Bayes: INNOCENT GLOBAL 0.0000 1.0000 -2.0210 X-Barracuda-Virus-Scanned: by cuda.sgi.com at sgi.com X-Barracuda-Spam-Score: -2.02 X-Barracuda-Spam-Status: No, SCORE=-2.02 using per-user scores of TAG_LEVEL=2.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=2.1 tests= X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.1.25616 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- X-Virus-Status: Clean ----- "Martin Hicks" wrote: > I built the ia64 RPMS on a Sles11 machine, and the perl package won't > install due to a dependency on a Redhat-specific Requires. > > minime3:/usr/src/packages/RPMS/ia64 # rpm -Uvh > perl-PCP-PMDA-1.01-8.ia64.rpm > error: Failed dependencies: > perl(:MODULE_COMPAT_5.10.0) is needed by > perl-PCP-PMDA-1.01-8.ia64 > > > Nathan, do you know what perl version this package really requires? > 5.6? 5.8? Could we just stick a Requires for >= some perl version? It will work with pretty much any version of Perl, and should have no dependency. The spec file is completely generated as part of the build using cpanflute2, so that specific version requirement must be coming from the SLES11 cpanflute2? The relevant makefile is build/rpm/GNUmakefile at around line 40 ... $(CPANFLUTE) --email="$(PACKAGE_BUILDER)" \ --descfile=pcp-pmda-perl.desc --buildrequires=pcp \ --buildall $(TOPDIR)/src/cpan/PMDA/PCP-PMDA-*.tar.gz $(CPANFLUTE) --email="$(PACKAGE_BUILDER)" \ --descfile=pcp-logsummary-perl.desc --buildrequires=pcp \ --buildall $(TOPDIR)/src/cpan/LogSummary/PCP-LogSummary-*.tar.gz So ... AFAICT, we add no explicit dependencies on particular Perl versions ourself - must be cpanflute2 or rpm doing so? Looking deeper - looks like this comes from cpanflute2 - its just a Perl script, and in my RHEL5 version at line 255... # Use perl requirements by default (onward and upward...). if ($plat_perl_reqs) { $spec->push_require(q|perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))|); } ... does adding "--noperlreqs" to the cpanflute2 lines in that makefile fix this up?? cheers. -- Nathan From nscott@aconex.com Wed May 13 02:17:52 2009 X-Spam-Checker-Version: SpamAssassin 3.3.0-rupdated (updated) on oss.sgi.com X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.3.0-rupdated Received: from cuda.sgi.com (cuda3.sgi.com [192.48.176.15]) by oss.sgi.com (8.14.3/8.14.3/SuSE Linux 0.8) with ESMTP id n4D7HpwP124984 for ; Wed, 13 May 2009 02:17:51 -0500 X-ASG-Debug-ID: 1242199076-29ac03160000-S8gJnT X-Barracuda-URL: http://cuda.sgi.com:80/cgi-bin/mark.cgi Received: from postoffice2.aconex.com (localhost [127.0.0.1]) by cuda.sgi.com (Spam Firewall) with ESMTP id 21F311D2CA29 for ; Wed, 13 May 2009 00:17:56 -0700 (PDT) Received: from postoffice2.aconex.com (mail.aconex.com [203.89.202.182]) by cuda.sgi.com with ESMTP id GFluuWk0ZAXFJbo4 for ; Wed, 13 May 2009 00:17:56 -0700 (PDT) Received: from postoffice.aconex.com (localhost [127.0.0.1]) by postoffice2.aconex.com (Spam Firewall) with ESMTP id 9F08A55C1AE for ; Wed, 13 May 2009 17:17:50 +1000 (EST) Received: from postoffice.aconex.com (postoffice.yarra.acx [192.168.102.1]) by postoffice2.aconex.com with ESMTP id Hw3ULGVKd7m3a2gm for ; Wed, 13 May 2009 17:17:50 +1000 (EST) Received: from gatekeeper.aconex.com (gatekeeper.yarra.acx [192.168.102.10]) by postoffice.aconex.com (Postfix) with ESMTP id E780DA502AF for ; Wed, 13 May 2009 17:17:47 +1000 (EST) Received: from localhost (localhost.localdomain [127.0.0.1]) by gatekeeper.aconex.com (Postfix) with ESMTP id BB4414FD91 for ; Wed, 13 May 2009 17:22:43 +1000 (EST) X-Virus-Scanned: ClamAV version 0.94.2, clamav-milter version 0.94.2 on oss.sgi.com X-Virus-Scanned: amavisd-new at gatekeeper.yarra.acx Received: from gatekeeper.aconex.com ([127.0.0.1]) by localhost (gatekeeper.aconex.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id tB1XvcC4yR5X for ; Wed, 13 May 2009 17:22:39 +1000 (EST) Received: from mail-au.aconex.com (mail-au.aconex.com [192.168.102.12]) by gatekeeper.aconex.com (Postfix) with ESMTP id C16A94FD85 for ; Wed, 13 May 2009 17:22:39 +1000 (EST) Date: Wed, 13 May 2009 17:17:46 +1000 (EST) From: Nathan Scott To: pcp@oss.sgi.com Message-ID: <896619554.4850541242199066233.JavaMail.root@mail-au.aconex.com> X-ASG-Orig-Subj: pcp updates Subject: pcp updates MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Originating-IP: [211.28.214.49] X-Mailer: Zimbra 5.0.13_GA_2791.RHEL5_64 (ZimbraWebClient - SAF3 (Mac)/5.0.13_GA_2791.RHEL5_64) X-Barracuda-Connect: mail.aconex.com[203.89.202.182] X-Barracuda-Start-Time: 1242199078 X-Barracuda-Bayes: INNOCENT GLOBAL 0.0000 1.0000 -2.0210 X-Barracuda-Virus-Scanned: by cuda.sgi.com at sgi.com X-Barracuda-Spam-Score: -1.52 X-Barracuda-Spam-Status: No, SCORE=-1.52 using per-user scores of TAG_LEVEL=2.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=2.1 tests=BSF_RULE7568M X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.1.25652 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- 0.50 BSF_RULE7568M Custom Rule 7568M X-Virus-Status: Clean Changes committed to git://oss.sgi.com/nathans/pcp.git configure.in | 22 ---------------------- src/cpan/PMDA/PMDA.xs | 6 ++++-- src/cpan/PMDA/local.c | 5 +++-- src/include/impl.h | 6 ++---- src/include/platform_defs.h.in | 7 ------- src/include/trace_dev.h | 4 ---- src/libpcp/src/config.c | 17 +++++++++++------ src/libpcp/src/logutil.c | 9 +++++---- src/libpcp_gui/src/record.c | 18 +++++++++--------- src/pmdas/darwin/pmda.c | 21 --------------------- src/pmdas/darwin/pmns | 7 ------- src/pmdas/jstat/jstat.c | 6 ++++-- src/pmdas/pmcd/src/pmcd.c | 3 ++- src/pmdate/GNUmakefile | 1 + src/pmdate/pmdate.c | 6 +----- src/pmie/src/pmie.c | 7 ++++--- src/pmimport/pmimport.c | 6 ++++-- src/pmlogger/ports.c | 7 +------ src/pmlogger/preamble.c | 2 +- 19 files changed, 52 insertions(+), 108 deletions(-) commit f5a210d0c456409e7faf2b36c66b9fe1c9fd6848 Author: Nathan Scott Date: Wed May 13 17:11:07 2009 +1000 An interface for testing whether a path is absolute or relative. Been putting this off for awhile, but need to get this interface in as theres many places that test this. Obviously, behaviour is different depending on which Windows mode is in effect and/or if on a POSIX system (in which case its all too easy). commit 87ea1a7f66e6073d22fdec5103ff35247509fbdf Author: Nathan Scott Date: Wed May 13 15:56:24 2009 +1000 Another round of path name separator auditing for Windows. commit 38831af87b20a10a84324e5c4b4962a65b94b939 Author: Nathan Scott Date: Wed May 13 15:53:40 2009 +1000 Remove old Mac 10.3 nqnfs metrics. commit 6813836cbc739ca7a2743f52b3ac06e7320d8b42 Author: Nathan Scott Date: Wed May 13 15:50:44 2009 +1000 Remove dead code from old-and-crufty compatibility macros. In particular these configure macros: HAVE_NQNFS_LEASES (no one runs 10.3 MacOSX), HAVE_SGIDEFS_H, HAVE_ABI_MUTEX_H (no IRIX anymore), HAVE_IOSTREAM_H, HAVE_IOSTREAM (no C++ code in core PCP anymore). From nscott@aconex.com Wed May 13 02:19:25 2009 X-Spam-Checker-Version: SpamAssassin 3.3.0-rupdated (updated) on oss.sgi.com X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.3.0-rupdated Received: from cuda.sgi.com (cuda2.sgi.com [192.48.176.25]) by oss.sgi.com (8.14.3/8.14.3/SuSE Linux 0.8) with ESMTP id n4D7JPWG125078 for ; Wed, 13 May 2009 02:19:25 -0500 X-ASG-Debug-ID: 1242199170-20f402660000-S8gJnT X-Barracuda-URL: http://cuda.sgi.com:80/cgi-bin/mark.cgi Received: from postoffice2.aconex.com (localhost [127.0.0.1]) by cuda.sgi.com (Spam Firewall) with ESMTP id 40E34280AB1 for ; Wed, 13 May 2009 00:19:30 -0700 (PDT) Received: from postoffice2.aconex.com (mail.aconex.com [203.89.202.182]) by cuda.sgi.com with ESMTP id W5Q4ASUcNWIitcux for ; Wed, 13 May 2009 00:19:30 -0700 (PDT) Received: from postoffice.aconex.com (localhost [127.0.0.1]) by postoffice2.aconex.com (Spam Firewall) with ESMTP id 62FFF55C1E9 for ; Wed, 13 May 2009 17:19:29 +1000 (EST) Received: from postoffice.aconex.com (postoffice.yarra.acx [192.168.102.1]) by postoffice2.aconex.com with ESMTP id eo1xRpQSWagoQbt7 for ; Wed, 13 May 2009 17:19:29 +1000 (EST) Received: from gatekeeper.aconex.com (gatekeeper.yarra.acx [192.168.102.10]) by postoffice.aconex.com (Postfix) with ESMTP id B163DA5028C for ; Wed, 13 May 2009 17:19:26 +1000 (EST) Received: from localhost (localhost.localdomain [127.0.0.1]) by gatekeeper.aconex.com (Postfix) with ESMTP id B542C4FD85 for ; Wed, 13 May 2009 17:24:22 +1000 (EST) X-Virus-Scanned: ClamAV version 0.94.2, clamav-milter version 0.94.2 on oss.sgi.com X-Virus-Scanned: amavisd-new at gatekeeper.yarra.acx Received: from gatekeeper.aconex.com ([127.0.0.1]) by localhost (gatekeeper.aconex.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id c+jkw8KFCZn2 for ; Wed, 13 May 2009 17:24:18 +1000 (EST) Received: from mail-au.aconex.com (mail-au.aconex.com [192.168.102.12]) by gatekeeper.aconex.com (Postfix) with ESMTP id DEEF04FD88 for ; Wed, 13 May 2009 17:24:17 +1000 (EST) Date: Wed, 13 May 2009 17:19:23 +1000 (EST) From: Nathan Scott To: pcp@oss.sgi.com Message-ID: <283245554.4853621242199163164.JavaMail.root@mail-au.aconex.com> X-ASG-Orig-Subj: pcp-gui updates Subject: pcp-gui updates MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Originating-IP: [211.28.214.49] X-Mailer: Zimbra 5.0.13_GA_2791.RHEL5_64 (ZimbraWebClient - SAF3 (Mac)/5.0.13_GA_2791.RHEL5_64) X-Barracuda-Connect: mail.aconex.com[203.89.202.182] X-Barracuda-Start-Time: 1242199172 X-Barracuda-Bayes: INNOCENT GLOBAL 0.0000 1.0000 -2.0210 X-Barracuda-Virus-Scanned: by cuda.sgi.com at sgi.com X-Barracuda-Spam-Score: -2.02 X-Barracuda-Spam-Status: No, SCORE=-2.02 using per-user scores of TAG_LEVEL=2.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=2.1 tests= X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.1.25652 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- X-Virus-Status: Clean Changes committed to git://oss.sgi.com/nathans/pcp-gui.git GNUmakefile | 1 + aclocal.m4 | 11 ++++++++++- configure.in | 1 + debian/control | 1 + m4/package_pcpdev.m4 | 9 +++++++++ src/chart/view.cpp | 44 +++++++++++++++++++++++++++----------------- src/include/version.h.in | 9 +++++++-- 7 files changed, 56 insertions(+), 20 deletions(-) commit 35dd10bd8cc20ea8cb48e27ea37f170c9f7ccdb0 Author: Nathan Scott Date: Wed May 13 12:08:41 2009 +1000 On pmchart view lookup failure, reset path to system directory for reporting. commit d2c4eab2ac9776f69397977965f108d09d2cd3a6 Author: Nathan Scott Date: Wed May 13 11:57:52 2009 +1000 Add build dir to main makefile dirt for Win32 package builds. commit 21871dde77e91f66a21c68aaca63c0e19367b56d Author: Nathan Scott Date: Wed May 13 11:51:27 2009 +1000 Use native Windows path separators when opening pmchart views. This change makes (conditional, not available on older libpcp) use of the __pmPathSeparator() libpcp interface to ensure paths opened on Windows are in the appropriate style. It also redoes code that assumes $HOME is set and uses QDir::home() instead - this was able to cause a SIGSEGV on startup on Windows. Finally, it also reorders the view search path so that the pmchart locations are scanned ahead of the kmchart compatability paths. commit d2b86d101869cd8b13b69d0352f305fa3bf31d7b Author: Nathan Scott Date: Wed May 13 11:46:59 2009 +1000 Use proper paragraph separator in Debian package long description. From mort@sgi.com Wed May 13 11:57:40 2009 X-Spam-Checker-Version: SpamAssassin 3.3.0-rupdated (updated) on oss.sgi.com X-Spam-Level: X-Spam-Status: No, score=-2.5 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.3.0-rupdated Received: from relay.sgi.com (relay1.corp.sgi.com [137.38.102.111]) by oss.sgi.com (8.14.3/8.14.3/SuSE Linux 0.8) with ESMTP id n4DGveFH159638 for ; Wed, 13 May 2009 11:57:40 -0500 Received: from attica.americas.sgi.com (attica.americas.sgi.com [128.162.236.44]) by relay1.corp.sgi.com (Postfix) with ESMTP id E53FD8F8130; Wed, 13 May 2009 09:57:44 -0700 (PDT) Received: by attica.americas.sgi.com (Postfix, from userid 44682) id 9CAE7A0BB90C; Wed, 13 May 2009 11:57:44 -0500 (CDT) Date: Wed, 13 May 2009 11:57:44 -0500 From: Martin Hicks To: Michael Werner Cc: pcp@oss.sgi.com Subject: Re: performance co-pilot Message-ID: <20090513165744.GK14353@alcatraz.americas.sgi.com> References: <20090513120735.GH14353@alcatraz.americas.sgi.com> <4B59A019-4FFB-4011-B2C8-FAB1FA610268@protomagic.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4B59A019-4FFB-4011-B2C8-FAB1FA610268@protomagic.com> User-Agent: Mutt/1.5.17 (2007-11-01) X-Virus-Scanned: ClamAV version 0.94.2, clamav-milter version 0.94.2 on oss.sgi.com X-Virus-Status: Clean CCing the PCP list... On Wed, May 13, 2009 at 12:21:49PM -0400, Michael Werner wrote: > > It's way over 40k. Can you put the review copy up on the > oss ftp drop? Yeah, send me a copy and I'll stick it on oss. > Currently, this is structured as a typical standalone python > extension, built and installed via distutils. It is not dovetailed > into the sgi sources or the build, install, or pkg process. > > Should it be dovetailled in? And, how and where? I suppose it could do either...we could have it as a separate package to build and install. Maybe that is the best way, as it would avoid having to install python bits to compile PCP. > A couple dependancy issues come immediately to mind. > > *) my extension uses the ctypes facilities, meaning python 2.5 > is required - or a lesser version plus a separate ctypes extension Okay. The .deb or .rpm and build system can test for this, I'm sure. > *) many appliances or embedded systems, which one might > want to monitor, are likely to not have python at all. A lot of embedded systems don't have perl either, so it's up to the writer of the PMDA to decide which wrapper set to write their PMDA in... mh > > - mtw > > On May 13, 2009, at 8:07 AM, Martin Hicks wrote: > >> >> On Tue, May 12, 2009 at 06:41:36PM -0400, Michael Werner wrote: >>> Hi Martin, >>> >>> I've made some python wrappers for PCP. Who should I talk >>> with about getting them posted on oss? >> >> Hi, >> >> You should definitely post them to the mailing list. This will get the >> experts involved and will allow us to review the code. >> >> If they're really big (the mailing list may have a 40kB limit) then >> split the patch up or post it to a website. >> >> ...don't compress (zip, gzip) the patches you mail out. That makes it >> easier to review in-line in a response. >> >> Sounds excellent Michael. I'm a fan of python, so I'd like to see your >> wrappers in the tree. >> >> mh From kenj@internode.on.net Wed May 13 20:20:12 2009 X-Spam-Checker-Version: SpamAssassin 3.3.0-rupdated (updated) on oss.sgi.com X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00 autolearn=ham version=3.3.0-rupdated Received: from cuda.sgi.com (cuda1.sgi.com [192.48.157.11]) by oss.sgi.com (8.14.3/8.14.3/SuSE Linux 0.8) with ESMTP id n4E1KBVg184031 for ; Wed, 13 May 2009 20:20:12 -0500 X-ASG-Debug-ID: 1242264299-167301e10000-S8gJnT X-Barracuda-URL: http://cuda.sgi.com:80/cgi-bin/mark.cgi Received: from mail.internode.on.net (localhost [127.0.0.1]) by cuda.sgi.com (Spam Firewall) with ESMTP id 3713BFA6043 for ; Wed, 13 May 2009 18:24:59 -0700 (PDT) Received: from mail.internode.on.net (bld-mail15.adl6.internode.on.net [150.101.137.100]) by cuda.sgi.com with ESMTP id V0Xw5nNcdxbxpu4P for ; Wed, 13 May 2009 18:24:59 -0700 (PDT) Received: from [172.29.188.130] (unverified [203.206.165.193]) by mail.internode.on.net (SurgeMail 3.8f2) with ESMTP id 15117-1927428 for ; Thu, 14 May 2009 10:50:15 +0930 (CST) X-ASG-Orig-Subj: snmp experiences? Subject: snmp experiences? From: Ken McDonell To: pcp@oss.sgi.com Content-Type: text/plain Organization: Kenj Consulting Date: Thu, 14 May 2009 11:20:00 +1000 Message-Id: <1242264000.6435.11.camel@kenj-ubuntu.internal> Mime-Version: 1.0 X-Mailer: Evolution 2.24.3 Content-Transfer-Encoding: 7bit X-Barracuda-Connect: bld-mail15.adl6.internode.on.net[150.101.137.100] X-Barracuda-Start-Time: 1242264301 X-Barracuda-Bayes: INNOCENT GLOBAL 0.2689 1.0000 -0.4862 X-Barracuda-Virus-Scanned: by cuda.sgi.com at sgi.com X-Barracuda-Spam-Score: -0.49 X-Barracuda-Spam-Status: No, SCORE=-0.49 using per-user scores of TAG_LEVEL=2.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=2.1 tests= X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.1.25716 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- X-Virus-Scanned: ClamAV version 0.94.2, clamav-milter version 0.94.2 on oss.sgi.com X-Virus-Status: Clean Does anyone have any experience with integrating a pcp-based collection service (i.e. perf data from pmcd) into an snmp-based enterprise management framework, e.g. HP OpenView, IBM Tivoli, CA Unicenter TNG, etc. This would need to export both a MIB and SNMP traps. I'm guessing it should support SNMPv3. snmpd from http://www.net-snmp.org/ looks a likely candidate, but I have no experience of it. Thoughts or recommendations would be appreciated. From mort@sgi.com Thu May 14 07:53:19 2009 X-Spam-Checker-Version: SpamAssassin 3.3.0-rupdated (updated) on oss.sgi.com X-Spam-Level: X-Spam-Status: No, score=-2.5 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.3.0-rupdated Received: from relay.sgi.com (relay2.corp.sgi.com [137.38.102.29]) by oss.sgi.com (8.14.3/8.14.3/SuSE Linux 0.8) with ESMTP id n4ECrJYf220239 for ; Thu, 14 May 2009 07:53:19 -0500 Received: from attica.americas.sgi.com (attica.americas.sgi.com [128.162.236.44]) by relay2.corp.sgi.com (Postfix) with ESMTP id 6C6FF3040E9 for ; Thu, 14 May 2009 05:53:24 -0700 (PDT) Received: by attica.americas.sgi.com (Postfix, from userid 44682) id 1ECDAA0BB91B; Thu, 14 May 2009 07:53:24 -0500 (CDT) Date: Thu, 14 May 2009 07:53:23 -0500 From: Martin Hicks To: pcp@oss.sgi.com Subject: bugzilla on oss.sgi.com Message-ID: <20090514125323.GS14353@alcatraz.americas.sgi.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.17 (2007-11-01) X-Virus-Scanned: ClamAV version 0.94.2, clamav-milter version 0.94.2 on oss.sgi.com X-Virus-Status: Clean Hi, Nathan and I talked about starting to use bugzilla to track bugs and possibly track our feature request lists... I set it up a while ago, but forgot to send out an e-mail. I just created a single bug against the PCP package, and it worked fine. oss.sgi.com/bugzilla Please feel free to file your bugs and feature requests there. mh From mort@sgi.com Thu May 14 13:02:34 2009 X-Spam-Checker-Version: SpamAssassin 3.3.0-rupdated (updated) on oss.sgi.com X-Spam-Level: X-Spam-Status: No, score=-2.4 required=5.0 tests=AWL,BAYES_00,J_CHICKENPOX_35 autolearn=no version=3.3.0-rupdated Received: from relay.sgi.com (relay1.corp.sgi.com [137.38.102.111]) by oss.sgi.com (8.14.3/8.14.3/SuSE Linux 0.8) with ESMTP id n4EI2YOU238408 for ; Thu, 14 May 2009 13:02:34 -0500 Received: from attica.americas.sgi.com (attica.americas.sgi.com [128.162.236.44]) by relay1.corp.sgi.com (Postfix) with ESMTP id 033D98F812E; Thu, 14 May 2009 11:02:38 -0700 (PDT) Received: by attica.americas.sgi.com (Postfix, from userid 44682) id A1D8AA0BB91B; Thu, 14 May 2009 13:02:38 -0500 (CDT) Date: Thu, 14 May 2009 13:02:38 -0500 From: Martin Hicks To: pcp@oss.sgi.com, Michael Werner Subject: python-pcp git tree available Message-ID: <20090514180238.GZ14353@alcatraz.americas.sgi.com> References: <20090513120735.GH14353@alcatraz.americas.sgi.com> <4B59A019-4FFB-4011-B2C8-FAB1FA610268@protomagic.com> <20090513165744.GK14353@alcatraz.americas.sgi.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20090513165744.GK14353@alcatraz.americas.sgi.com> User-Agent: Mutt/1.5.17 (2007-11-01) X-Virus-Scanned: ClamAV version 0.94.2, clamav-milter version 0.94.2 on oss.sgi.com X-Virus-Status: Clean Hi all, Michael has sent me the tarball of his python PMAPI wrapper. I created a git tree which can be cloned with: git clone git://oss.sgi.com/mort/python-pcp.git I haven't reviewed the code, but I thought it would be good to get it out ASAP. I did create a specfile for it, but initially I thought this was a PMDA wrapper library so the specfile probably says the wrong thing. I'll fix that shortly. Michael: I did compile and install this on a sles11 machine and the "mem" metrics don't seem to work for me: cleopatra1:~/mort # /usr/share/doc/python-pcp/examples/dofetch.py Traceback (most recent call last): File "/usr/share/doc/python-pcp/examples/dofetch.py", line 191, in mgmD[ mgm ][ "mem" ] = memList File "/usr/lib64/python2.6/site-packages/pcpi.py", line 427, in __setitem__ dict.__setitem__( self, attr, MetricGroup( self, inL=value ) ) File "/usr/lib64/python2.6/site-packages/pcpi.py", line 381, in __init__ self.mgAdd( inL ) File "/usr/lib64/python2.6/site-packages/pcpi.py", line 387, in mgAdd coreL, errL = self._ctx.mcGetCoresByName( nameL ) File "/usr/lib64/python2.6/site-packages/pcpi.py", line 264, in mcGetCoresByName newcore = self._mcCreateCore( name, pmid ) File "/usr/lib64/python2.6/site-packages/pcpi.py", line 274, in _mcCreateCore self._mcAdd( newcore ) File "/usr/lib64/python2.6/site-packages/pcpi.py", line 232, in _mcAdd instL, nameL = self.pmGetInDom( i ) File "/usr/lib64/python2.6/site-packages/pcp.py", line 838, in pmGetInDom raise pmErr, status pmapi.pmErr: -12359 If I comment out the mem metrics, I do get: cleopatra1:~/mort # ./dofetch.py 127.0.0.1 kernel.percpu.cpu.sys 0.0 % kernel.percpu.cpu.user 0.0 % kernel.percpu.cpu.nice 0.0 % kernel.percpu.cpu.idle 100.0 % network.interface.in.bytes ib0 0.0 Kbyte/sec network.interface.in.bytes lo 1.0 Kbyte/sec network.interface.in.bytes eth1 0.0 Kbyte/sec network.interface.in.bytes eth0 1.0 Kbyte/sec network.interface.out.bytes ib0 0.0 Kbyte/sec network.interface.out.bytes lo 1.0 Kbyte/sec network.interface.out.bytes eth1 0.0 Kbyte/sec network.interface.out.bytes eth0 0.0 Kbyte/sec I think this example is as little confusing, since it still displays the kernel.percpu.cpu.* metric name, but it is actually an average of all of the cpu instances. mh On Wed, May 13, 2009 at 11:57:44AM -0500, Martin Hicks wrote: > > CCing the PCP list... > > On Wed, May 13, 2009 at 12:21:49PM -0400, Michael Werner wrote: > > > > It's way over 40k. Can you put the review copy up on the > > oss ftp drop? > > Yeah, send me a copy and I'll stick it on oss. > > > Currently, this is structured as a typical standalone python > > extension, built and installed via distutils. It is not dovetailed > > into the sgi sources or the build, install, or pkg process. > > > > Should it be dovetailled in? And, how and where? > > I suppose it could do either...we could have it as a separate package to > build and install. Maybe that is the best way, as it would avoid having > to install python bits to compile PCP. > > > A couple dependancy issues come immediately to mind. > > > > *) my extension uses the ctypes facilities, meaning python 2.5 > > is required - or a lesser version plus a separate ctypes extension > > Okay. The .deb or .rpm and build system can test for this, I'm sure. > > > *) many appliances or embedded systems, which one might > > want to monitor, are likely to not have python at all. > > A lot of embedded systems don't have perl either, so it's up to the > writer of the PMDA to decide which wrapper set to write their PMDA in... > > mh > > > > > - mtw > > > > On May 13, 2009, at 8:07 AM, Martin Hicks wrote: > > > >> > >> On Tue, May 12, 2009 at 06:41:36PM -0400, Michael Werner wrote: > >>> Hi Martin, > >>> > >>> I've made some python wrappers for PCP. Who should I talk > >>> with about getting them posted on oss? > >> > >> Hi, > >> > >> You should definitely post them to the mailing list. This will get the > >> experts involved and will allow us to review the code. > >> > >> If they're really big (the mailing list may have a 40kB limit) then > >> split the patch up or post it to a website. > >> > >> ...don't compress (zip, gzip) the patches you mail out. That makes it > >> easier to review in-line in a response. > >> > >> Sounds excellent Michael. I'm a fan of python, so I'd like to see your > >> wrappers in the tree. > >> > >> mh > > _______________________________________________ > pcp mailing list > pcp@oss.sgi.com > http://oss.sgi.com/mailman/listinfo/pcp From mtw@protomagic.com Thu May 14 13:34:16 2009 X-Spam-Checker-Version: SpamAssassin 3.3.0-rupdated (updated) on oss.sgi.com X-Spam-Level: X-Spam-Status: No, score=-2.5 required=5.0 tests=BAYES_00,J_CHICKENPOX_35 autolearn=no version=3.3.0-rupdated Received: from cuda.sgi.com (cuda2.sgi.com [192.48.176.25]) by oss.sgi.com (8.14.3/8.14.3/SuSE Linux 0.8) with ESMTP id n4EIYGbT240263 for ; Thu, 14 May 2009 13:34:16 -0500 X-ASG-Debug-ID: 1242326062-3f8900fd0000-S8gJnT X-Barracuda-URL: http://cuda.sgi.com:80/cgi-bin/mark.cgi Received: from mail.serverlogistics.com (localhost [127.0.0.1]) by cuda.sgi.com (Spam Firewall) with ESMTP id AE47B287C31 for ; Thu, 14 May 2009 11:34:22 -0700 (PDT) Received: from mail.serverlogistics.com (osiris.serverlogistics.com [67.43.163.77]) by cuda.sgi.com with ESMTP id ZAHcpxEJhYtR4zHm for ; Thu, 14 May 2009 11:34:22 -0700 (PDT) Received: from [166.129.113.182] (unverified [166.129.113.182]) by mail.serverlogistics.com (SurgeMail 4.0c) with ESMTP id 38960314-1873669 for multiple; Thu, 14 May 2009 11:34:21 -0700 PDT In-Reply-To: <20090514180238.GZ14353@alcatraz.americas.sgi.com> References: <20090513120735.GH14353@alcatraz.americas.sgi.com> <4B59A019-4FFB-4011-B2C8-FAB1FA610268@protomagic.com> <20090513165744.GK14353@alcatraz.americas.sgi.com> <20090514180238.GZ14353@alcatraz.americas.sgi.com> Mime-Version: 1.0 (Apple Message framework v752.2) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: <22F1ED87-24EB-42BE-8562-B7F2D08156E8@protomagic.com> Cc: pcp@oss.sgi.com Content-Transfer-Encoding: 7bit From: Michael Werner X-ASG-Orig-Subj: Re: python-pcp git tree available Subject: Re: python-pcp git tree available Date: Thu, 14 May 2009 14:35:41 -0400 To: Martin Hicks X-Mailer: Apple Mail (2.752.2) X-Authenticated-User: mtw@protomagic.com X-Barracuda-Connect: osiris.serverlogistics.com[67.43.163.77] X-Barracuda-Start-Time: 1242326063 X-Barracuda-Bayes: INNOCENT GLOBAL 0.0002 1.0000 -2.0197 X-Barracuda-Virus-Scanned: by cuda.sgi.com at sgi.com X-Barracuda-Spam-Score: -2.02 X-Barracuda-Spam-Status: No, SCORE=-2.02 using per-user scores of TAG_LEVEL=2.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=2.1 tests= X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.1.25783 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- X-Virus-Scanned: ClamAV version 0.94.2, clamav-milter version 0.94.2 on oss.sgi.com X-Virus-Status: Clean Hi Martin, You are sure right about the cpu metric label. I've been looking at that for a week and never noticed. That's usually where I can't find things, right in front of my head. The memory metric error is interesting. "Unknown or illegal instance domain identifier". A better exception message is needed too. I'll look into it all. - mtw On May 14, 2009, at 2:02 PM, Martin Hicks wrote: > > Hi all, > > Michael has sent me the tarball of his python PMAPI wrapper. I > created > a git tree which can be cloned with: > > git clone git://oss.sgi.com/mort/python-pcp.git > > I haven't reviewed the code, but I thought it would be good to get it > out ASAP. I did create a specfile for it, but initially I thought > this > was a PMDA wrapper library so the specfile probably says the wrong > thing. I'll fix that shortly. > > > Michael: I did compile and install this on a sles11 machine and the > "mem" metrics don't seem to work for me: > > cleopatra1:~/mort # /usr/share/doc/python-pcp/examples/dofetch.py > Traceback (most recent call last): > File "/usr/share/doc/python-pcp/examples/dofetch.py", line 191, > in > mgmD[ mgm ][ "mem" ] = memList > File "/usr/lib64/python2.6/site-packages/pcpi.py", line 427, in > __setitem__ > dict.__setitem__( self, attr, MetricGroup( self, inL=value ) ) > File "/usr/lib64/python2.6/site-packages/pcpi.py", line 381, in > __init__ > self.mgAdd( inL ) > File "/usr/lib64/python2.6/site-packages/pcpi.py", line 387, in > mgAdd > coreL, errL = self._ctx.mcGetCoresByName( nameL ) > File "/usr/lib64/python2.6/site-packages/pcpi.py", line 264, in > mcGetCoresByName > newcore = self._mcCreateCore( name, pmid ) > File "/usr/lib64/python2.6/site-packages/pcpi.py", line 274, in > _mcCreateCore > self._mcAdd( newcore ) > File "/usr/lib64/python2.6/site-packages/pcpi.py", line 232, in > _mcAdd > instL, nameL = self.pmGetInDom( i ) > File "/usr/lib64/python2.6/site-packages/pcp.py", line 838, in > pmGetInDom > raise pmErr, status > pmapi.pmErr: -12359 > > > If I comment out the mem metrics, I do get: > > cleopatra1:~/mort # ./dofetch.py > 127.0.0.1 > kernel.percpu.cpu.sys 0.0 % > kernel.percpu.cpu.user 0.0 % > kernel.percpu.cpu.nice 0.0 % > kernel.percpu.cpu.idle 100.0 % > network.interface.in.bytes ib0 0.0 Kbyte/sec > network.interface.in.bytes lo 1.0 Kbyte/sec > network.interface.in.bytes eth1 0.0 Kbyte/sec > network.interface.in.bytes eth0 1.0 Kbyte/sec > network.interface.out.bytes ib0 0.0 Kbyte/sec > network.interface.out.bytes lo 1.0 Kbyte/sec > network.interface.out.bytes eth1 0.0 Kbyte/sec > network.interface.out.bytes eth0 0.0 Kbyte/sec > > > I think this example is as little confusing, since it still > displays the > kernel.percpu.cpu.* metric name, but it is actually an average of all > of the cpu instances. > > mh > > On Wed, May 13, 2009 at 11:57:44AM -0500, Martin Hicks wrote: >> >> CCing the PCP list... >> >> On Wed, May 13, 2009 at 12:21:49PM -0400, Michael Werner wrote: >>> >>> It's way over 40k. Can you put the review copy up on the >>> oss ftp drop? >> >> Yeah, send me a copy and I'll stick it on oss. >> >>> Currently, this is structured as a typical standalone python >>> extension, built and installed via distutils. It is not dovetailed >>> into the sgi sources or the build, install, or pkg process. >>> >>> Should it be dovetailled in? And, how and where? >> >> I suppose it could do either...we could have it as a separate >> package to >> build and install. Maybe that is the best way, as it would avoid >> having >> to install python bits to compile PCP. >> >>> A couple dependancy issues come immediately to mind. >>> >>> *) my extension uses the ctypes facilities, meaning python 2.5 >>> is required - or a lesser version plus a separate ctypes extension >> >> Okay. The .deb or .rpm and build system can test for this, I'm sure. >> >>> *) many appliances or embedded systems, which one might >>> want to monitor, are likely to not have python at all. >> >> A lot of embedded systems don't have perl either, so it's up to the >> writer of the PMDA to decide which wrapper set to write their PMDA >> in... >> >> mh >> >>> >>> - mtw >>> >>> On May 13, 2009, at 8:07 AM, Martin Hicks wrote: >>> >>>> >>>> On Tue, May 12, 2009 at 06:41:36PM -0400, Michael Werner wrote: >>>>> Hi Martin, >>>>> >>>>> I've made some python wrappers for PCP. Who should I talk >>>>> with about getting them posted on oss? >>>> >>>> Hi, >>>> >>>> You should definitely post them to the mailing list. This will >>>> get the >>>> experts involved and will allow us to review the code. >>>> >>>> If they're really big (the mailing list may have a 40kB limit) then >>>> split the patch up or post it to a website. >>>> >>>> ...don't compress (zip, gzip) the patches you mail out. That >>>> makes it >>>> easier to review in-line in a response. >>>> >>>> Sounds excellent Michael. I'm a fan of python, so I'd like to >>>> see your >>>> wrappers in the tree. >>>> >>>> mh >> >> _______________________________________________ >> pcp mailing list >> pcp@oss.sgi.com >> http://oss.sgi.com/mailman/listinfo/pcp From mtw@protomagic.com Thu May 14 14:35:47 2009 X-Spam-Checker-Version: SpamAssassin 3.3.0-rupdated (updated) on oss.sgi.com X-Spam-Level: X-Spam-Status: No, score=-2.5 required=5.0 tests=BAYES_00,J_CHICKENPOX_35 autolearn=no version=3.3.0-rupdated Received: from cuda.sgi.com (cuda2.sgi.com [192.48.176.25]) by oss.sgi.com (8.14.3/8.14.3/SuSE Linux 0.8) with ESMTP id n4EJZlOu243568 for ; Thu, 14 May 2009 14:35:47 -0500 X-ASG-Debug-ID: 1242329754-515e031a0000-S8gJnT X-Barracuda-URL: http://cuda.sgi.com:80/cgi-bin/mark.cgi Received: from mail.serverlogistics.com (localhost [127.0.0.1]) by cuda.sgi.com (Spam Firewall) with ESMTP id DA1F02888E6 for ; Thu, 14 May 2009 12:35:54 -0700 (PDT) Received: from mail.serverlogistics.com (osiris.serverlogistics.com [67.43.163.77]) by cuda.sgi.com with ESMTP id LANgU1mEcw3erTaR for ; Thu, 14 May 2009 12:35:54 -0700 (PDT) Received: from [32.177.51.227] (unverified [32.177.51.227]) by mail.serverlogistics.com (SurgeMail 4.0c) with ESMTP id 38965698-1873669 for multiple; Thu, 14 May 2009 12:35:53 -0700 PDT In-Reply-To: <22F1ED87-24EB-42BE-8562-B7F2D08156E8@protomagic.com> References: <20090513120735.GH14353@alcatraz.americas.sgi.com> <4B59A019-4FFB-4011-B2C8-FAB1FA610268@protomagic.com> <20090513165744.GK14353@alcatraz.americas.sgi.com> <20090514180238.GZ14353@alcatraz.americas.sgi.com> <22F1ED87-24EB-42BE-8562-B7F2D08156E8@protomagic.com> Mime-Version: 1.0 (Apple Message framework v752.2) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: <2859B418-4F06-4851-8088-B6D6EA7D7DC5@protomagic.com> Cc: Martin Hicks , pcp@oss.sgi.com Content-Transfer-Encoding: 7bit From: Michael Werner X-ASG-Orig-Subj: Re: python-pcp git tree available Subject: Re: python-pcp git tree available Date: Thu, 14 May 2009 15:37:15 -0400 To: Michael Werner X-Mailer: Apple Mail (2.752.2) X-Authenticated-User: mtw@protomagic.com X-Barracuda-Connect: osiris.serverlogistics.com[67.43.163.77] X-Barracuda-Start-Time: 1242329754 X-Barracuda-Bayes: INNOCENT GLOBAL 0.0002 1.0000 -2.0200 X-Barracuda-Virus-Scanned: by cuda.sgi.com at sgi.com X-Barracuda-Spam-Score: -1.52 X-Barracuda-Spam-Status: No, SCORE=-1.52 using per-user scores of TAG_LEVEL=2.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=2.1 tests=BSF_SC0_SA_TO_FROM_ADDR_MATCH X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.1.25787 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- 0.50 BSF_SC0_SA_TO_FROM_ADDR_MATCH Sender Address Matches Recipient Address X-Virus-Scanned: ClamAV version 0.94.2, clamav-milter version 0.94.2 on oss.sgi.com X-Virus-Status: Clean I've reconfirmed that the sample program works correctly on mac and centos. I'll have to load up sles later and have a look. - mtw On May 14, 2009, at 2:35 PM, Michael Werner wrote: > Hi Martin, > > You are sure right about the cpu metric label. I've been looking > at that for a week and never noticed. That's usually where I can't > find things, right in front of my head. > > The memory metric error is interesting. "Unknown or illegal instance > domain identifier". A better exception message is needed too. I'll > look into it all. > > - mtw > > > On May 14, 2009, at 2:02 PM, Martin Hicks wrote: > >> >> Hi all, >> >> Michael has sent me the tarball of his python PMAPI wrapper. I >> created >> a git tree which can be cloned with: >> >> git clone git://oss.sgi.com/mort/python-pcp.git >> >> I haven't reviewed the code, but I thought it would be good to get it >> out ASAP. I did create a specfile for it, but initially I thought >> this >> was a PMDA wrapper library so the specfile probably says the wrong >> thing. I'll fix that shortly. >> >> >> Michael: I did compile and install this on a sles11 machine and the >> "mem" metrics don't seem to work for me: >> >> cleopatra1:~/mort # /usr/share/doc/python-pcp/examples/dofetch.py >> Traceback (most recent call last): >> File "/usr/share/doc/python-pcp/examples/dofetch.py", line 191, >> in >> mgmD[ mgm ][ "mem" ] = memList >> File "/usr/lib64/python2.6/site-packages/pcpi.py", line 427, in >> __setitem__ >> dict.__setitem__( self, attr, MetricGroup( self, inL=value ) ) >> File "/usr/lib64/python2.6/site-packages/pcpi.py", line 381, in >> __init__ >> self.mgAdd( inL ) >> File "/usr/lib64/python2.6/site-packages/pcpi.py", line 387, in >> mgAdd >> coreL, errL = self._ctx.mcGetCoresByName( nameL ) >> File "/usr/lib64/python2.6/site-packages/pcpi.py", line 264, in >> mcGetCoresByName >> newcore = self._mcCreateCore( name, pmid ) >> File "/usr/lib64/python2.6/site-packages/pcpi.py", line 274, in >> _mcCreateCore >> self._mcAdd( newcore ) >> File "/usr/lib64/python2.6/site-packages/pcpi.py", line 232, in >> _mcAdd >> instL, nameL = self.pmGetInDom( i ) >> File "/usr/lib64/python2.6/site-packages/pcp.py", line 838, in >> pmGetInDom >> raise pmErr, status >> pmapi.pmErr: -12359 >> >> >> If I comment out the mem metrics, I do get: >> >> cleopatra1:~/mort # ./dofetch.py >> 127.0.0.1 >> kernel.percpu.cpu.sys 0.0 % >> kernel.percpu.cpu.user 0.0 % >> kernel.percpu.cpu.nice 0.0 % >> kernel.percpu.cpu.idle 100.0 % >> network.interface.in.bytes ib0 0.0 Kbyte/sec >> network.interface.in.bytes lo 1.0 Kbyte/sec >> network.interface.in.bytes eth1 0.0 Kbyte/sec >> network.interface.in.bytes eth0 1.0 Kbyte/sec >> network.interface.out.bytes ib0 0.0 Kbyte/sec >> network.interface.out.bytes lo 1.0 Kbyte/sec >> network.interface.out.bytes eth1 0.0 Kbyte/sec >> network.interface.out.bytes eth0 0.0 Kbyte/sec >> >> >> I think this example is as little confusing, since it still >> displays the >> kernel.percpu.cpu.* metric name, but it is actually an average of all >> of the cpu instances. >> >> mh >> >> On Wed, May 13, 2009 at 11:57:44AM -0500, Martin Hicks wrote: >>> >>> CCing the PCP list... >>> >>> On Wed, May 13, 2009 at 12:21:49PM -0400, Michael Werner wrote: >>>> >>>> It's way over 40k. Can you put the review copy up on the >>>> oss ftp drop? >>> >>> Yeah, send me a copy and I'll stick it on oss. >>> >>>> Currently, this is structured as a typical standalone python >>>> extension, built and installed via distutils. It is not dovetailed >>>> into the sgi sources or the build, install, or pkg process. >>>> >>>> Should it be dovetailled in? And, how and where? >>> >>> I suppose it could do either...we could have it as a separate >>> package to >>> build and install. Maybe that is the best way, as it would avoid >>> having >>> to install python bits to compile PCP. >>> >>>> A couple dependancy issues come immediately to mind. >>>> >>>> *) my extension uses the ctypes facilities, meaning python 2.5 >>>> is required - or a lesser version plus a separate ctypes extension >>> >>> Okay. The .deb or .rpm and build system can test for this, I'm >>> sure. >>> >>>> *) many appliances or embedded systems, which one might >>>> want to monitor, are likely to not have python at all. >>> >>> A lot of embedded systems don't have perl either, so it's up to the >>> writer of the PMDA to decide which wrapper set to write their >>> PMDA in... >>> >>> mh >>> >>>> >>>> - mtw >>>> >>>> On May 13, 2009, at 8:07 AM, Martin Hicks wrote: >>>> >>>>> >>>>> On Tue, May 12, 2009 at 06:41:36PM -0400, Michael Werner wrote: >>>>>> Hi Martin, >>>>>> >>>>>> I've made some python wrappers for PCP. Who should I talk >>>>>> with about getting them posted on oss? >>>>> >>>>> Hi, >>>>> >>>>> You should definitely post them to the mailing list. This will >>>>> get the >>>>> experts involved and will allow us to review the code. >>>>> >>>>> If they're really big (the mailing list may have a 40kB limit) >>>>> then >>>>> split the patch up or post it to a website. >>>>> >>>>> ...don't compress (zip, gzip) the patches you mail out. That >>>>> makes it >>>>> easier to review in-line in a response. >>>>> >>>>> Sounds excellent Michael. I'm a fan of python, so I'd like to >>>>> see your >>>>> wrappers in the tree. >>>>> >>>>> mh >>> >>> _______________________________________________ >>> pcp mailing list >>> pcp@oss.sgi.com >>> http://oss.sgi.com/mailman/listinfo/pcp > From mtw@protomagic.com Thu May 14 15:01:45 2009 X-Spam-Checker-Version: SpamAssassin 3.3.0-rupdated (updated) on oss.sgi.com X-Spam-Level: X-Spam-Status: No, score=-2.5 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.3.0-rupdated Received: from cuda.sgi.com (cuda2.sgi.com [192.48.176.25]) by oss.sgi.com (8.14.3/8.14.3/SuSE Linux 0.8) with ESMTP id n4EK1jx0245219 for ; Thu, 14 May 2009 15:01:45 -0500 X-ASG-Debug-ID: 1242331312-72b500a10000-S8gJnT X-Barracuda-URL: http://cuda.sgi.com:80/cgi-bin/mark.cgi Received: from mail.serverlogistics.com (localhost [127.0.0.1]) by cuda.sgi.com (Spam Firewall) with ESMTP id CF9ED2886A3 for ; Thu, 14 May 2009 13:01:52 -0700 (PDT) Received: from mail.serverlogistics.com (osiris.serverlogistics.com [67.43.163.77]) by cuda.sgi.com with ESMTP id C3BwG0ZMSeHANtvS for ; Thu, 14 May 2009 13:01:52 -0700 (PDT) Received: from [32.177.51.227] (unverified [32.177.51.227]) by mail.serverlogistics.com (SurgeMail 4.0c) with ESMTP id 38968535-1873669 for multiple; Thu, 14 May 2009 13:01:47 -0700 PDT In-Reply-To: <20090514193852.GK14353@alcatraz.americas.sgi.com> References: <20090513120735.GH14353@alcatraz.americas.sgi.com> <4B59A019-4FFB-4011-B2C8-FAB1FA610268@protomagic.com> <20090513165744.GK14353@alcatraz.americas.sgi.com> <20090514180238.GZ14353@alcatraz.americas.sgi.com> <22F1ED87-24EB-42BE-8562-B7F2D08156E8@protomagic.com> <2859B418-4F06-4851-8088-B6D6EA7D7DC5@protomagic.com> <20090514193852.GK14353@alcatraz.americas.sgi.com> Mime-Version: 1.0 (Apple Message framework v752.2) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: Cc: pcp@oss.sgi.com Content-Transfer-Encoding: 7bit From: Michael Werner X-ASG-Orig-Subj: python metric problem [was Re: python-pcp git tree available] Subject: python metric problem [was Re: python-pcp git tree available] Date: Thu, 14 May 2009 16:03:09 -0400 To: Martin Hicks X-Mailer: Apple Mail (2.752.2) X-Authenticated-User: mtw@protomagic.com X-Barracuda-Connect: osiris.serverlogistics.com[67.43.163.77] X-Barracuda-Start-Time: 1242331312 X-Barracuda-Bayes: INNOCENT GLOBAL 0.0000 1.0000 -2.0210 X-Barracuda-Virus-Scanned: by cuda.sgi.com at sgi.com X-Barracuda-Spam-Score: -2.02 X-Barracuda-Spam-Status: No, SCORE=-2.02 using per-user scores of TAG_LEVEL=2.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=2.1 tests= X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.1.25789 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- X-Virus-Scanned: ClamAV version 0.94.2, clamav-milter version 0.94.2 on oss.sgi.com X-Virus-Status: Clean Nice call; I'd bet money. With PM_INDOM_NULL being what it is, there is probably some sign extension or conversion hiccup. I had a feeling that issue would crop up again. I'll fire up the 64 later and have a look. Thanks. - mtw On May 14, 2009, at 3:38 PM, Martin Hicks wrote: > > On Thu, May 14, 2009 at 03:37:15PM -0400, Michael Werner wrote: >> I've reconfirmed that the sample program works correctly on mac >> and centos. I'll have to load up sles later and have a look. > > is it possible that there's a 64bit problem? Are you running on > x86 or > x86-64? > > mh > From nscott@aconex.com Thu May 14 17:19:45 2009 X-Spam-Checker-Version: SpamAssassin 3.3.0-rupdated (updated) on oss.sgi.com X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.3.0-rupdated Received: from cuda.sgi.com (cuda3.sgi.com [192.48.176.15]) by oss.sgi.com (8.14.3/8.14.3/SuSE Linux 0.8) with ESMTP id n4EMJipa252621 for ; Thu, 14 May 2009 17:19:45 -0500 X-ASG-Debug-ID: 1242339558-283702ab0000-S8gJnT X-Barracuda-URL: http://cuda.sgi.com:80/cgi-bin/mark.cgi Received: from postoffice2.aconex.com (localhost [127.0.0.1]) by cuda.sgi.com (Spam Firewall) with ESMTP id E492819C52D3 for ; Thu, 14 May 2009 15:19:18 -0700 (PDT) Received: from postoffice2.aconex.com (mail.aconex.com [203.89.202.182]) by cuda.sgi.com with ESMTP id LZt47E2LywzyBO0p for ; Thu, 14 May 2009 15:19:18 -0700 (PDT) Received: from postoffice.aconex.com (localhost [127.0.0.1]) by postoffice2.aconex.com (Spam Firewall) with ESMTP id 0657A6A3375; Fri, 15 May 2009 08:19:14 +1000 (EST) Received: from postoffice.aconex.com (postoffice.yarra.acx [192.168.102.1]) by postoffice2.aconex.com with ESMTP id r3WSiqAozaWHLsGS; Fri, 15 May 2009 08:19:14 +1000 (EST) Received: from gatekeeper.aconex.com (gatekeeper.yarra.acx [192.168.102.10]) by postoffice.aconex.com (Postfix) with ESMTP id 69F0AA5012D; Fri, 15 May 2009 08:19:11 +1000 (EST) Received: from localhost (localhost.localdomain [127.0.0.1]) by gatekeeper.aconex.com (Postfix) with ESMTP id 378C1C7B5D; Fri, 15 May 2009 08:24:21 +1000 (EST) X-Virus-Scanned: ClamAV version 0.94.2, clamav-milter version 0.94.2 on oss.sgi.com X-Virus-Scanned: amavisd-new at gatekeeper.yarra.acx Received: from gatekeeper.aconex.com ([127.0.0.1]) by localhost (gatekeeper.aconex.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Lgb2Eb8DBjue; Fri, 15 May 2009 08:24:16 +1000 (EST) Received: from mail-au.aconex.com (mail-au.aconex.com [192.168.102.12]) by gatekeeper.aconex.com (Postfix) with ESMTP id 35538C7B5C; Fri, 15 May 2009 08:24:16 +1000 (EST) Date: Fri, 15 May 2009 08:19:09 +1000 (EST) From: Nathan Scott To: Michael Werner Cc: pcp@oss.sgi.com Message-ID: <763441083.4916421242339549744.JavaMail.root@mail-au.aconex.com> In-Reply-To: <1922396138.4916351242339445243.JavaMail.root@mail-au.aconex.com> X-ASG-Orig-Subj: Re: [pcp] python-pcp git tree available Subject: Re: [pcp] python-pcp git tree available MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_Part_270996_121803921.1242339549742" X-Originating-IP: [211.28.214.49] X-Mailer: Zimbra 5.0.13_GA_2791.RHEL5_64 (ZimbraWebClient - SAF3 (Mac)/5.0.13_GA_2791.RHEL5_64) X-Barracuda-Connect: mail.aconex.com[203.89.202.182] X-Barracuda-Start-Time: 1242339559 X-Barracuda-Bayes: INNOCENT GLOBAL 0.0826 1.0000 -1.4976 X-Barracuda-Virus-Scanned: by cuda.sgi.com at sgi.com X-Barracuda-Spam-Score: -1.50 X-Barracuda-Spam-Status: No, SCORE=-1.50 using per-user scores of TAG_LEVEL=2.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=2.1 tests= X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.1.25799 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- X-Virus-Status: Clean ------=_Part_270996_121803921.1242339549742 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Hi! Thanks for doing this. There were several people asking about Python wrappers for the PCP APIs at LCA in January, so it is great to see this effort. I can't offer much on the Python coding side of things, but this patch fixes up some doco typos. >From the comment at the top of pmapi.c, I wouldn't worry about these few macros either: PM_ERR_V1, XLATE_ERR_1TO2, XLATE_ERR_2TO1 The extended time base macros listed (PM_XTB_FLAG, PM_XTB_SET, and PM_XTB_GET) will also likely never be needed by any modern clients; pmTimeStateMode() in libpcp_gui is a better interface to the PM_XTB_SET macro, which is the only one clients really use. Probably those macros should all really be in impl.h nowadays, they shouldn't be used directly. Oh well, too late now I guess. cheers. -- Nathan ------=_Part_270996_121803921.1242339549742 Content-Type: application/octet-stream; name=patch Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=patch diff --git a/README b/README index cefcbd0..0bd5664 100644 --- a/README +++ b/README @@ -7,7 +7,7 @@ Description of this Python Extension ----------------------------- -This python extension, called pcp, provides an iterface to SGI's open source +This python extension, called pcp, provides an interface to SGI's open source Performance Co-Pilot C library, i.e. libpcp. @@ -49,7 +49,7 @@ require installation of a separate ctypes extension module. *) cpp - the C pre-processor Cpp is required at runtime by Performance Co-Pilot's target-side agent PMCD, -the performace metrc collection daemon. +the performance metric collection daemon. *) Performance Co-Pilot from SGI @@ -60,14 +60,15 @@ Performance Co-Pilot is known to run on Solaris, HP-UX, and AIX, when built from source. Performance Co-Pilot is Open Source software, distributed under the GNU -Lesser General Public Liscense. It is available from: +Lesser General Public License. It is available from: http://oss.sgi.com/projects/pcp When installing Performance Co-Pilot on embedded Linux systems: several shared libraries are required by pmcd, the target-side metric collection daemon. -- xxxx -- xxxx -- xxxx +- libpcp.so +- libpcp_pmcd.so +- pmda_linux.so +- pmda_pmcd.so Installation of Python Extension diff --git a/dofetch.py b/dofetch.py index ecb6862..d4d1353 100755 --- a/dofetch.py +++ b/dofetch.py @@ -21,7 +21,7 @@ #### # # This program will produce output similar to the following, when run on -# a machine that is running the Performance Co-Pilot agent, pmcd. +# a machine running the PCP performance metrics collector daemon, pmcd. # # 127.0.0.1 # kernel.percpu.cpu.sys 3.0 % diff --git a/pmapi.c b/pmapi.c index 709c049..3e3b0ac 100644 --- a/pmapi.c +++ b/pmapi.c @@ -19,7 +19,7 @@ ** ** ** ----------------------------------------------- ** ** ** -** This C extension module mainly serves the purpos of loading constants ** +** This C extension module mainly serves the purpose of loading constants ** ** from into the module dictionary. The PMAPI functions and ** ** data structures are wrapped in pcp.py, using ctypes. ** ** ** ------=_Part_270996_121803921.1242339549742-- From mtw@protomagic.com Thu May 14 18:28:15 2009 X-Spam-Checker-Version: SpamAssassin 3.3.0-rupdated (updated) on oss.sgi.com X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.3.0-rupdated Received: from cuda.sgi.com (cuda1.sgi.com [192.48.157.11]) by oss.sgi.com (8.14.3/8.14.3/SuSE Linux 0.8) with ESMTP id n4ENSEFh257319 for ; Thu, 14 May 2009 18:28:14 -0500 X-ASG-Debug-ID: 1242343988-420800330000-S8gJnT X-Barracuda-URL: http://cuda.sgi.com:80/cgi-bin/mark.cgi Received: from mail.serverlogistics.com (localhost [127.0.0.1]) by cuda.sgi.com (Spam Firewall) with ESMTP id E40C7FB1E15 for ; Thu, 14 May 2009 16:33:08 -0700 (PDT) Received: from mail.serverlogistics.com (osiris.serverlogistics.com [67.43.163.77]) by cuda.sgi.com with ESMTP id 7cL8azrXKYLkolAG for ; Thu, 14 May 2009 16:33:08 -0700 (PDT) Received: from [32.177.14.102] (unverified [32.177.14.102]) by mail.serverlogistics.com (SurgeMail 4.0c) with ESMTP id 38982743-1873669 for multiple; Thu, 14 May 2009 16:28:17 -0700 PDT In-Reply-To: <763441083.4916421242339549744.JavaMail.root@mail-au.aconex.com> References: <763441083.4916421242339549744.JavaMail.root@mail-au.aconex.com> Mime-Version: 1.0 (Apple Message framework v752.2) Content-Type: text/plain; charset=US-ASCII; format=flowed Message-Id: <109D6865-C285-4F69-8817-9B54965067F6@protomagic.com> Cc: pcp@oss.sgi.com Content-Transfer-Encoding: 7bit From: Michael Werner X-ASG-Orig-Subj: Re: [pcp] python-pcp git tree available Subject: Re: [pcp] python-pcp git tree available Date: Thu, 14 May 2009 19:29:38 -0400 To: Nathan Scott X-Mailer: Apple Mail (2.752.2) X-Authenticated-User: mtw@protomagic.com X-Barracuda-Connect: osiris.serverlogistics.com[67.43.163.77] X-Barracuda-Start-Time: 1242343989 X-Barracuda-Bayes: INNOCENT GLOBAL 0.0000 1.0000 -2.0210 X-Barracuda-Virus-Scanned: by cuda.sgi.com at sgi.com X-Barracuda-Spam-Score: -2.02 X-Barracuda-Spam-Status: No, SCORE=-2.02 using per-user scores of TAG_LEVEL=2.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=2.1 tests= X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.1.25802 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- X-Virus-Scanned: ClamAV version 0.94.2, clamav-milter version 0.94.2 on oss.sgi.com X-Virus-Status: Clean You're welcome. Thanks for the interest and feedback. What's LCA? You touch on another interesting point. I'm wondering what the usership demographics are for PCP. How many sites, machines, downloads, etc. How is it being used? What lines of business are the users in? This would be interesting information to see on the PCP web site. - mtw On May 14, 2009, at 6:19 PM, Nathan Scott wrote: > Hi! > > Thanks for doing this. There were several people asking about > Python wrappers for the PCP APIs at LCA in January, so it is > great to see this effort. > > I can't offer much on the Python coding side of things, but this > patch fixes up some doco typos. > > From the comment at the top of pmapi.c, I wouldn't worry about > these few macros either: > PM_ERR_V1, XLATE_ERR_1TO2, XLATE_ERR_2TO1 > The extended time base macros listed (PM_XTB_FLAG, PM_XTB_SET, > and PM_XTB_GET) will also likely never be needed by any modern > clients; pmTimeStateMode() in libpcp_gui is a better interface > to the PM_XTB_SET macro, which is the only one clients really > use. > > Probably those macros should all really be in impl.h nowadays, > they shouldn't be used directly. Oh well, too late now I guess. > > cheers. > > -- > Nathan > From nscott@aconex.com Thu May 14 18:43:20 2009 X-Spam-Checker-Version: SpamAssassin 3.3.0-rupdated (updated) on oss.sgi.com X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.3.0-rupdated Received: from cuda.sgi.com (cuda3.sgi.com [192.48.176.15]) by oss.sgi.com (8.14.3/8.14.3/SuSE Linux 0.8) with ESMTP id n4ENhK7L258083 for ; Thu, 14 May 2009 18:43:20 -0500 X-ASG-Debug-ID: 1242344604-145400060000-S8gJnT X-Barracuda-URL: http://cuda.sgi.com:80/cgi-bin/mark.cgi Received: from postoffice2.aconex.com (localhost [127.0.0.1]) by cuda.sgi.com (Spam Firewall) with ESMTP id C1FAA19C2B77 for ; Thu, 14 May 2009 16:43:25 -0700 (PDT) Received: from postoffice2.aconex.com (mail.aconex.com [203.89.202.182]) by cuda.sgi.com with ESMTP id 5SDrIhcSX4PTSBWw for ; Thu, 14 May 2009 16:43:25 -0700 (PDT) Received: from postoffice.aconex.com (localhost [127.0.0.1]) by postoffice2.aconex.com (Spam Firewall) with ESMTP id ABBDE56F974; Fri, 15 May 2009 09:43:23 +1000 (EST) Received: from postoffice.aconex.com (postoffice.yarra.acx [192.168.102.1]) by postoffice2.aconex.com with ESMTP id Hn5EzfOhdBXEMZqB; Fri, 15 May 2009 09:43:23 +1000 (EST) Received: from gatekeeper.aconex.com (gatekeeper.yarra.acx [192.168.102.10]) by postoffice.aconex.com (Postfix) with ESMTP id 20760A5012D; Fri, 15 May 2009 09:43:20 +1000 (EST) Received: from localhost (localhost.localdomain [127.0.0.1]) by gatekeeper.aconex.com (Postfix) with ESMTP id 6861C4FD82; Fri, 15 May 2009 09:48:30 +1000 (EST) X-Virus-Scanned: ClamAV version 0.94.2, clamav-milter version 0.94.2 on oss.sgi.com X-Virus-Scanned: amavisd-new at gatekeeper.yarra.acx Received: from gatekeeper.aconex.com ([127.0.0.1]) by localhost (gatekeeper.aconex.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Ow7V8XkgDgmm; Fri, 15 May 2009 09:48:26 +1000 (EST) Received: from mail-au.aconex.com (mail-au.aconex.com [192.168.102.12]) by gatekeeper.aconex.com (Postfix) with ESMTP id 441F54FD85; Fri, 15 May 2009 09:48:26 +1000 (EST) Date: Fri, 15 May 2009 09:43:19 +1000 (EST) From: Nathan Scott To: Michael Werner Cc: pcp@oss.sgi.com Message-ID: <465935432.4927261242344599397.JavaMail.root@mail-au.aconex.com> In-Reply-To: <1814601665.4927001242344495110.JavaMail.root@mail-au.aconex.com> X-ASG-Orig-Subj: Re: [pcp] python-pcp git tree available Subject: Re: [pcp] python-pcp git tree available MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Originating-IP: [211.28.214.49] X-Mailer: Zimbra 5.0.13_GA_2791.RHEL5_64 (ZimbraWebClient - SAF3 (Mac)/5.0.13_GA_2791.RHEL5_64) X-Barracuda-Connect: mail.aconex.com[203.89.202.182] X-Barracuda-Start-Time: 1242344605 X-Barracuda-Bayes: INNOCENT GLOBAL 0.0340 1.0000 -1.8014 X-Barracuda-Virus-Scanned: by cuda.sgi.com at sgi.com X-Barracuda-Spam-Score: -1.80 X-Barracuda-Spam-Status: No, SCORE=-1.80 using per-user scores of TAG_LEVEL=2.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=2.1 tests= X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.1.25803 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- X-Virus-Status: Clean ----- "Michael Werner" wrote: > You're welcome. Thanks for the interest and feedback. > > What's LCA? Linux Conference Australia. http://lca2009.linux.org.au/ > You touch on another interesting point. I'm wondering what > the usership demographics are for PCP. How many sites, > machines, downloads, etc. I have no idea on the numbers there. Noone does I guess, as PCP is available in some distros (Debian & SuSE at least) so its not really possible to count downloads. > How is it being used? What lines > of business are the users in? This would be interesting > information to see on the PCP web site. I can only really speak for myself, although I know there's a diverse set of people using PCP (from looking at the email addresses of people who've posted to the list) - which isn't too surprising, since its a useful in all demographics, and SGI have made it available to all their customers for a very long time. We use it extensively at Aconex for monitoring our web app and services. In production operations, testing, and also development. Using "monitoring" in a very broad sense there too - there are not many of the PCP tools that we don't use in one way or another, and we have custom clients and agents as well, specific to our environment. cheers. -- Nathan From mort@bork.org Thu May 14 19:37:12 2009 X-Spam-Checker-Version: SpamAssassin 3.3.0-rupdated (updated) on oss.sgi.com X-Spam-Level: X-Spam-Status: No, score=-2.4 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.3.0-rupdated Received: from cuda.sgi.com (cuda3.sgi.com [192.48.176.15]) by oss.sgi.com (8.14.3/8.14.3/SuSE Linux 0.8) with ESMTP id n4F0bBrs260884 for ; Thu, 14 May 2009 19:37:12 -0500 X-ASG-Debug-ID: 1242347838-1456013b0000-S8gJnT X-Barracuda-URL: http://cuda.sgi.com:80/cgi-bin/mark.cgi Received: from darwin.bork.org (localhost [127.0.0.1]) by cuda.sgi.com (Spam Firewall) with ESMTP id 5CA6C19C58FE for ; Thu, 14 May 2009 17:37:18 -0700 (PDT) Received: from darwin.bork.org (darwin.bork.org [65.49.60.145]) by cuda.sgi.com with ESMTP id ZWVuOqhrwb803M9Z for ; Thu, 14 May 2009 17:37:18 -0700 (PDT) Received: from localhost (localhost [127.0.0.1]) by darwin.bork.org (Postfix) with ESMTP id 5BB1719669; Thu, 14 May 2009 20:35:40 -0400 (EDT) Received: from darwin.bork.org ([127.0.0.1]) by localhost (darwin.bork.org [127.0.0.1]) (amavisd-new, port 10024) with LMTP id eEKwWi3ze1dh; Thu, 14 May 2009 20:35:40 -0400 (EDT) Received: from socrates.bork.org (localhost [127.0.0.1]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "socrates.bork.org", Issuer "Bork Consulting CA" (verified OK)) by darwin.bork.org (Postfix) with ESMTPS id 1312E19215; Thu, 14 May 2009 20:35:39 -0400 (EDT) Received: by socrates.bork.org (Postfix, from userid 1000) id CE751CBB40; Thu, 14 May 2009 20:37:15 -0400 (EDT) Date: Thu, 14 May 2009 20:37:15 -0400 From: Martin Hicks To: Nathan Scott Cc: Michael Werner , pcp@oss.sgi.com X-ASG-Orig-Subj: Re: [pcp] python-pcp git tree available Subject: Re: [pcp] python-pcp git tree available Message-ID: <20090515003715.GA6884@socrates.bork.org> References: <1922396138.4916351242339445243.JavaMail.root@mail-au.aconex.com> <763441083.4916421242339549744.JavaMail.root@mail-au.aconex.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <763441083.4916421242339549744.JavaMail.root@mail-au.aconex.com> User-Agent: Mutt/1.5.18 (2008-05-17) X-Barracuda-Connect: darwin.bork.org[65.49.60.145] X-Barracuda-Start-Time: 1242347839 X-Barracuda-Bayes: INNOCENT GLOBAL 0.0046 1.0000 -1.9912 X-Barracuda-Virus-Scanned: by cuda.sgi.com at sgi.com X-Barracuda-Spam-Score: -1.99 X-Barracuda-Spam-Status: No, SCORE=-1.99 using per-user scores of TAG_LEVEL=2.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=2.1 tests= X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.1.25807 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- X-Virus-Scanned: ClamAV version 0.94.2, clamav-milter version 0.94.2 on oss.sgi.com X-Virus-Status: Clean On Fri, May 15, 2009 at 08:19:09AM +1000, Nathan Scott wrote: > I can't offer much on the Python coding side of things, but this > patch fixes up some doco typos. > I'll apply this tomorrow... I hope to get the chance to do a bigger review next wek. mh From mort@bork.org Thu May 14 19:40:20 2009 X-Spam-Checker-Version: SpamAssassin 3.3.0-rupdated (updated) on oss.sgi.com X-Spam-Level: X-Spam-Status: No, score=-2.5 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.3.0-rupdated Received: from cuda.sgi.com (cuda2.sgi.com [192.48.176.25]) by oss.sgi.com (8.14.3/8.14.3/SuSE Linux 0.8) with ESMTP id n4F0eKQQ261018 for ; Thu, 14 May 2009 19:40:20 -0500 X-ASG-Debug-ID: 1242348025-6f7d00ee0000-S8gJnT X-Barracuda-URL: http://cuda.sgi.com:80/cgi-bin/mark.cgi Received: from darwin.bork.org (localhost [127.0.0.1]) by cuda.sgi.com (Spam Firewall) with ESMTP id 6C0BC289757 for ; Thu, 14 May 2009 17:40:25 -0700 (PDT) Received: from darwin.bork.org (darwin.bork.org [65.49.60.145]) by cuda.sgi.com with ESMTP id s8EwkgSNSy4F0xqk for ; Thu, 14 May 2009 17:40:25 -0700 (PDT) Received: from localhost (localhost [127.0.0.1]) by darwin.bork.org (Postfix) with ESMTP id 4865019669; Thu, 14 May 2009 20:38:48 -0400 (EDT) Received: from darwin.bork.org ([127.0.0.1]) by localhost (darwin.bork.org [127.0.0.1]) (amavisd-new, port 10024) with LMTP id IiD2tvWzYJXP; Thu, 14 May 2009 20:38:48 -0400 (EDT) Received: from socrates.bork.org (localhost [127.0.0.1]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "socrates.bork.org", Issuer "Bork Consulting CA" (verified OK)) by darwin.bork.org (Postfix) with ESMTPS id 153DD19215; Thu, 14 May 2009 20:38:48 -0400 (EDT) Received: by socrates.bork.org (Postfix, from userid 1000) id 0B5FACBB40; Thu, 14 May 2009 20:40:24 -0400 (EDT) Date: Thu, 14 May 2009 20:40:23 -0400 From: Martin Hicks To: Nathan Scott Cc: Michael Werner , pcp@oss.sgi.com X-ASG-Orig-Subj: Re: [pcp] python-pcp git tree available Subject: Re: [pcp] python-pcp git tree available Message-ID: <20090515004023.GB6884@socrates.bork.org> References: <1814601665.4927001242344495110.JavaMail.root@mail-au.aconex.com> <465935432.4927261242344599397.JavaMail.root@mail-au.aconex.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <465935432.4927261242344599397.JavaMail.root@mail-au.aconex.com> User-Agent: Mutt/1.5.18 (2008-05-17) X-Barracuda-Connect: darwin.bork.org[65.49.60.145] X-Barracuda-Start-Time: 1242348027 X-Barracuda-Bayes: INNOCENT GLOBAL 0.0019 1.0000 -2.0083 X-Barracuda-Virus-Scanned: by cuda.sgi.com at sgi.com X-Barracuda-Spam-Score: -2.01 X-Barracuda-Spam-Status: No, SCORE=-2.01 using per-user scores of TAG_LEVEL=2.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=2.1 tests= X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.1.25807 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- X-Virus-Scanned: ClamAV version 0.94.2, clamav-milter version 0.94.2 on oss.sgi.com X-Virus-Status: Clean On Fri, May 15, 2009 at 09:43:19AM +1000, Nathan Scott wrote: > Linux Conference Australia. http://lca2009.linux.org.au/ > > > You touch on another interesting point. I'm wondering what > > the usership demographics are for PCP. How many sites, > > machines, downloads, etc. > > I have no idea on the numbers there. Noone does I guess, as is there any way to access the "popularity contest" info from debian? > PCP is available in some distros (Debian & SuSE at least) so > its not really possible to count downloads. John Hesterberg pointed out to me today that the PCP in OpenSuse is 2.5.0. I want to update that... I wonder if someone would be interested in working with the Fedora community to get PCP into that distribution, then PCP would be in the three biggest (and four really, because of Ubuntu) distros. mh From mtw@protomagic.com Fri May 15 10:14:55 2009 X-Spam-Checker-Version: SpamAssassin 3.3.0-rupdated (updated) on oss.sgi.com X-Spam-Level: X-Spam-Status: No, score=-2.0 required=5.0 tests=AWL,BAYES_00,RCVD_IN_BRBL autolearn=no version=3.3.0-rupdated Received: from cuda.sgi.com (cuda3.sgi.com [192.48.176.15]) by oss.sgi.com (8.14.3/8.14.3/SuSE Linux 0.8) with ESMTP id n4FFEtOs042248 for ; Fri, 15 May 2009 10:14:55 -0500 X-ASG-Debug-ID: 1242400502-3b1f03320000-S8gJnT X-Barracuda-URL: http://cuda.sgi.com:80/cgi-bin/mark.cgi Received: from mail.serverlogistics.com (localhost [127.0.0.1]) by cuda.sgi.com (Spam Firewall) with ESMTP id 5F80519CFBF3 for ; Fri, 15 May 2009 08:15:02 -0700 (PDT) Received: from mail.serverlogistics.com (osiris.serverlogistics.com [67.43.163.77]) by cuda.sgi.com with ESMTP id pok7TU4twfJw1GCM for ; Fri, 15 May 2009 08:15:02 -0700 (PDT) Received: from [166.129.237.58] (unverified [166.129.237.58]) by mail.serverlogistics.com (SurgeMail 4.0c) with ESMTP id 39031928-1873669 for multiple; Fri, 15 May 2009 08:14:58 -0700 PDT In-Reply-To: References: <20090513120735.GH14353@alcatraz.americas.sgi.com> <4B59A019-4FFB-4011-B2C8-FAB1FA610268@protomagic.com> <20090513165744.GK14353@alcatraz.americas.sgi.com> <20090514180238.GZ14353@alcatraz.americas.sgi.com> <22F1ED87-24EB-42BE-8562-B7F2D08156E8@protomagic.com> <2859B418-4F06-4851-8088-B6D6EA7D7DC5@protomagic.com> <20090514193852.GK14353@alcatraz.americas.sgi.com> Mime-Version: 1.0 (Apple Message framework v752.2) Content-Type: multipart/mixed; boundary=Apple-Mail-2--47105526 Message-Id: <966136E1-D386-41EA-8363-DFD7BCA8985F@protomagic.com> Cc: pcp@oss.sgi.com From: Michael Werner X-ASG-Orig-Subj: Re: python metric problem [was Re: python-pcp git tree available] Subject: Re: python metric problem [was Re: python-pcp git tree available] Date: Fri, 15 May 2009 11:16:23 -0400 To: Martin Hicks X-Mailer: Apple Mail (2.752.2) X-Authenticated-User: mtw@protomagic.com X-Barracuda-Connect: osiris.serverlogistics.com[67.43.163.77] X-Barracuda-Start-Time: 1242400503 X-Barracuda-Bayes: INNOCENT GLOBAL 0.0000 1.0000 -2.0210 X-Barracuda-Virus-Scanned: by cuda.sgi.com at sgi.com X-Barracuda-Spam-Score: -2.02 X-Barracuda-Spam-Status: No, SCORE=-2.02 using per-user scores of TAG_LEVEL=2.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=2.1 tests= X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.1.25862 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- X-Virus-Scanned: ClamAV version 0.94.2, clamav-milter version 0.94.2 on oss.sgi.com X-Virus-Status: Clean --Apple-Mail-2--47105526 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Hi Martin, Here is the patch. Please confirm the fix on your end. Thanks. - mtw On May 14, 2009, at 4:03 PM, Michael Werner wrote: > Nice call; I'd bet money. With PM_INDOM_NULL being what it is, > there is probably some sign extension or conversion hiccup. I had > a feeling that issue would crop up again. I'll fire up the 64 later > and > have a look. Thanks. > > - mtw > > On May 14, 2009, at 3:38 PM, Martin Hicks wrote: > >> >> On Thu, May 14, 2009 at 03:37:15PM -0400, Michael Werner wrote: >>> I've reconfirmed that the sample program works correctly on mac >>> and centos. I'll have to load up sles later and have a look. >> >> is it possible that there's a 64bit problem? Are you running on >> x86 or >> x86-64? >> >> mh >> > --Apple-Mail-2--47105526 Content-Transfer-Encoding: 7bit Content-Type: text/plain; x-unix-mode=0644; name=patch.txt Content-Disposition: attachment; filename=patch.txt diff -u pcp8/pcpi.py pcp9/pcpi.py --- pcp8/pcpi.py 2009-05-13 21:28:53.000000000 -0400 +++ pcp9/pcpi.py 2009-05-14 22:10:18.000000000 -0400 @@ -227,7 +227,7 @@ i = core.desc.indom if not self._mcIndomD.has_key( i ): if i == PM_INDOM_NULL: - self._mcIndomD.update( { i : {-1:"(null)"} } ) + self._mcIndomD.update( { i : { PM_IN_NULL : "(null)" } } ) else: instL, nameL = self.pmGetInDom( i ) d = dict( zip( instL, nameL ) ) diff -u pcp8/pmapi.c pcp9/pmapi.c --- pcp8/pmapi.c 2009-05-13 21:28:53.000000000 -0400 +++ pcp9/pmapi.c 2009-05-14 22:08:44.000000000 -0400 @@ -105,7 +105,7 @@ dict_add_uint( dict, "PM_ID_NULL", PM_ID_NULL ); dict_add_uint( dict, "PM_INDOM_NULL", PM_INDOM_NULL ); - dict_add_uint( dict, "PM_IN_NULL", PM_IN_NULL ); + dict_add_int( dict, "PM_IN_NULL", PM_IN_NULL ); dict_add_uint( dict, "PM_NS_DEFAULT", (unsigned int) PM_NS_DEFAULT ); --Apple-Mail-2--47105526-- From mtw@protomagic.com Fri May 15 11:21:16 2009 X-Spam-Checker-Version: SpamAssassin 3.3.0-rupdated (updated) on oss.sgi.com X-Spam-Level: X-Spam-Status: No, score=-1.8 required=5.0 tests=AWL,BAYES_00,RCVD_IN_BRBL autolearn=no version=3.3.0-rupdated Received: from cuda.sgi.com (cuda2.sgi.com [192.48.176.25]) by oss.sgi.com (8.14.3/8.14.3/SuSE Linux 0.8) with ESMTP id n4FGLFTv045320 for ; Fri, 15 May 2009 11:21:15 -0500 X-ASG-Debug-ID: 1242404481-1ff602ef0000-S8gJnT X-Barracuda-URL: http://cuda.sgi.com:80/cgi-bin/mark.cgi Received: from mail.serverlogistics.com (localhost [127.0.0.1]) by cuda.sgi.com (Spam Firewall) with ESMTP id 0A85228C1F4 for ; Fri, 15 May 2009 09:21:21 -0700 (PDT) Received: from mail.serverlogistics.com (osiris.serverlogistics.com [67.43.163.77]) by cuda.sgi.com with ESMTP id NHS63WJkxmRPGcl0 for ; Fri, 15 May 2009 09:21:21 -0700 (PDT) Received: from [166.129.237.58] (unverified [166.129.237.58]) by mail.serverlogistics.com (SurgeMail 4.0c) with ESMTP id 39039020-1873669 for multiple; Fri, 15 May 2009 09:21:17 -0700 PDT In-Reply-To: <20090515004023.GB6884@socrates.bork.org> References: <1814601665.4927001242344495110.JavaMail.root@mail-au.aconex.com> <465935432.4927261242344599397.JavaMail.root@mail-au.aconex.com> <20090515004023.GB6884@socrates.bork.org> Mime-Version: 1.0 (Apple Message framework v752.2) Content-Type: text/plain; charset=US-ASCII; format=flowed Message-Id: <7224C4F4-1FA0-40B5-A1F9-6C3F13C5E429@protomagic.com> Cc: Nathan Scott , pcp@oss.sgi.com Content-Transfer-Encoding: 7bit From: Michael Werner X-ASG-Orig-Subj: Re: [pcp] python-pcp git tree available Subject: Re: [pcp] python-pcp git tree available Date: Fri, 15 May 2009 12:22:42 -0400 To: Martin Hicks X-Mailer: Apple Mail (2.752.2) X-Authenticated-User: mtw@protomagic.com X-Barracuda-Connect: osiris.serverlogistics.com[67.43.163.77] X-Barracuda-Start-Time: 1242404483 X-Barracuda-Bayes: INNOCENT GLOBAL 0.0000 1.0000 -2.0210 X-Barracuda-Virus-Scanned: by cuda.sgi.com at sgi.com X-Barracuda-Spam-Score: -2.02 X-Barracuda-Spam-Status: No, SCORE=-2.02 using per-user scores of TAG_LEVEL=2.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=2.1 tests= X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.1.25867 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- X-Virus-Scanned: ClamAV version 0.94.2, clamav-milter version 0.94.2 on oss.sgi.com X-Virus-Status: Clean I had a look at pcp on deb's popularity site. The numbers are dismal - couldn't fill a bus. Do the PCP docs get distributed with Suse and Deb? Or are there simply pointers back to techpubs? So regarding PCP in distros ... Debian is up-to-date Suse needs a refresh Fedora and Rhel need to eat their veggies. Ubuntu is ok? or needs? Is there some particular reason pcp has never been in rhel/centos? It seems an odd omission. And KDB seems an odd omission. I can't count the times and places we've wanted simply a KDB enabled version of the vanilla kernel. You don't need it often, but when you need it, you really need it - like a good tire iron. It would be nice if they included a debug kernel in each distro. - mtw On May 14, 2009, at 8:40 PM, Martin Hicks wrote: > > On Fri, May 15, 2009 at 09:43:19AM +1000, Nathan Scott wrote: >> Linux Conference Australia. http://lca2009.linux.org.au/ >> >>> You touch on another interesting point. I'm wondering what >>> the usership demographics are for PCP. How many sites, >>> machines, downloads, etc. >> >> I have no idea on the numbers there. Noone does I guess, as > > is there any way to access the "popularity contest" info from debian? > >> PCP is available in some distros (Debian & SuSE at least) so >> its not really possible to count downloads. > > John Hesterberg pointed out to me today that the PCP in OpenSuse is > 2.5.0. I want to update that... > > I wonder if someone would be interested in working with the Fedora > community to get PCP into that distribution, then PCP would be in the > three biggest (and four really, because of Ubuntu) distros. > > mh > From nscott@aconex.com Fri May 15 17:07:53 2009 X-Spam-Checker-Version: SpamAssassin 3.3.0-rupdated (updated) on oss.sgi.com X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.3.0-rupdated Received: from cuda.sgi.com (cuda3.sgi.com [192.48.176.15]) by oss.sgi.com (8.14.3/8.14.3/SuSE Linux 0.8) with ESMTP id n4FM7q5N070634 for ; Fri, 15 May 2009 17:07:53 -0500 X-ASG-Debug-ID: 1242425279-126f02b30000-S8gJnT X-Barracuda-URL: http://cuda.sgi.com:80/cgi-bin/mark.cgi Received: from postoffice2.aconex.com (localhost [127.0.0.1]) by cuda.sgi.com (Spam Firewall) with ESMTP id 261D119D1E46 for ; Fri, 15 May 2009 15:07:59 -0700 (PDT) Received: from postoffice2.aconex.com (mail.aconex.com [203.89.202.182]) by cuda.sgi.com with ESMTP id XQyVVnPkoK5q4cwA for ; Fri, 15 May 2009 15:07:59 -0700 (PDT) Received: from postoffice.aconex.com (localhost [127.0.0.1]) by postoffice2.aconex.com (Spam Firewall) with ESMTP id 689876A62B8; Sat, 16 May 2009 08:07:58 +1000 (EST) Received: from postoffice.aconex.com (postoffice.yarra.acx [192.168.102.1]) by postoffice2.aconex.com with ESMTP id 3SNTQ4CIKea6FzTU; Sat, 16 May 2009 08:07:58 +1000 (EST) Received: from gatekeeper.aconex.com (gatekeeper.yarra.acx [192.168.102.10]) by postoffice.aconex.com (Postfix) with ESMTP id 4F229A5028C; Sat, 16 May 2009 08:07:54 +1000 (EST) Received: from localhost (localhost.localdomain [127.0.0.1]) by gatekeeper.aconex.com (Postfix) with ESMTP id 65D7C4FD84; Sat, 16 May 2009 08:13:12 +1000 (EST) X-Virus-Scanned: ClamAV version 0.94.2, clamav-milter version 0.94.2 on oss.sgi.com X-Virus-Scanned: amavisd-new at gatekeeper.yarra.acx Received: from gatekeeper.aconex.com ([127.0.0.1]) by localhost (gatekeeper.aconex.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id D1XlNxg-n508; Sat, 16 May 2009 08:13:07 +1000 (EST) Received: from mail-au.aconex.com (mail-au.aconex.com [192.168.102.12]) by gatekeeper.aconex.com (Postfix) with ESMTP id 90EF34FD82; Sat, 16 May 2009 08:13:07 +1000 (EST) Date: Sat, 16 May 2009 08:07:53 +1000 (EST) From: Nathan Scott To: Michael Werner Cc: pcp@oss.sgi.com, Martin Hicks Message-ID: <1707763805.5008841242425273268.JavaMail.root@mail-au.aconex.com> In-Reply-To: <1249571009.5008791242424419619.JavaMail.root@mail-au.aconex.com> X-ASG-Orig-Subj: Re: [pcp] python-pcp git tree available Subject: Re: [pcp] python-pcp git tree available MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Originating-IP: [211.28.214.49] X-Mailer: Zimbra 5.0.13_GA_2791.RHEL5_64 (ZimbraWebClient - SAF3 (Mac)/5.0.13_GA_2791.RHEL5_64) X-Barracuda-Connect: mail.aconex.com[203.89.202.182] X-Barracuda-Start-Time: 1242425281 X-Barracuda-Bayes: INNOCENT GLOBAL 0.0007 1.0000 -2.0164 X-Barracuda-Virus-Scanned: by cuda.sgi.com at sgi.com X-Barracuda-Spam-Score: -2.02 X-Barracuda-Spam-Status: No, SCORE=-2.02 using per-user scores of TAG_LEVEL=2.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=2.1 tests= X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.1.25887 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- X-Virus-Status: Clean ----- "Michael Werner" wrote: > I had a look at pcp on deb's popularity site. The numbers > are dismal - couldn't fill a bus. Heh. Its trending upwards though, and if you look at other packages (e.g. collectd, as a vaguely similar example), it can take a couple of years to get into the hundreds. A few more hits on kmchart than pcp-gui - I should look into how to get that removed. > Do the PCP docs get distributed with Suse and Deb? The man pages do, but thats about it. > Or are there simply pointers back to techpubs? > > So regarding PCP in distros ... > Debian is up-to-date > Suse needs a refresh > Fedora and Rhel need to eat their veggies. Now that Marks at Redhat, hopefully we'll see that situation rectified sooner rather than later. The main issue there is the need to split the current pcp rpm into separate library runtime, devel, and main pcp package. > Ubuntu is ok? or needs? Its behind, but not much can be done there other than keeping Debian uptodate, AFAIK. I would love to be able to push that along a bit faster, we have quite a few Ubuntu people here who are stuck lagging behind where the debian packages are (oh the irony!) > Is there some particular reason pcp has never been in > rhel/centos? It seems an odd omission. Lack of someone to push it, I guess, and people being used to using other things (like sar, cacti, collectd, ganglia, etc) for some of what PCP does, perhaps? Theres a fair bit of code in PCP, and packaging it well is not so simple. The GUI tool aspect has also been lacking in the past, but nowadays thats not in such bad shape & getting better. cheers. -- Nathan From jason.rappleye@nasa.gov Fri May 15 21:21:44 2009 X-Spam-Checker-Version: SpamAssassin 3.3.0-rupdated (updated) on oss.sgi.com X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00 autolearn=ham version=3.3.0-rupdated Received: from cuda.sgi.com (cuda1.sgi.com [192.48.157.11]) by oss.sgi.com (8.14.3/8.14.3/SuSE Linux 0.8) with ESMTP id n4G2LhPo084194 for ; Fri, 15 May 2009 21:21:43 -0500 X-ASG-Debug-ID: 1242440803-310c02c90000-S8gJnT X-Barracuda-URL: http://cuda.sgi.com:80/cgi-bin/mark.cgi Received: from ndjsnpf02.ndc.nasa.gov (localhost [127.0.0.1]) by cuda.sgi.com (Spam Firewall) with ESMTP id 05C07FBBDC1 for ; Fri, 15 May 2009 19:26:43 -0700 (PDT) Received: from ndjsnpf02.ndc.nasa.gov (ndjsnpf02.ndc.nasa.gov [198.117.1.122]) by cuda.sgi.com with ESMTP id D6LszQBtR57Geb0j for ; Fri, 15 May 2009 19:26:43 -0700 (PDT) Received: from ndmsppt03.ndc.nasa.gov (ndmsppt03.ndc.nasa.gov [198.117.0.102]) by ndjsnpf02.ndc.nasa.gov (Postfix) with ESMTP id 2FCB0A80CA for ; Fri, 15 May 2009 21:21:49 -0500 (CDT) Received: from ndmsxgw04.ndc.nasa.gov (ndmsxgw04.ndc.nasa.gov [129.166.9.162]) by ndmsppt03.ndc.nasa.gov (8.14.3/8.14.3) with ESMTP id n4G2LmL1021384 for ; Fri, 15 May 2009 21:21:49 -0500 Received: from smtp02.ndc.nasa.gov ([129.166.9.162]) by ndmsxgw04.ndc.nasa.gov with Microsoft SMTPSVC(6.0.3790.3959); Fri, 15 May 2009 21:21:48 -0500 Received: from wdyn-n229-242-143.arc.nasa.gov ([129.166.9.11]) by smtp02.ndc.nasa.gov over TLS secured channel with Microsoft SMTPSVC(6.0.3790.3959); Fri, 15 May 2009 21:21:48 -0500 Message-Id: <96589B0F-D4B8-45DD-B702-04F88CD95F41@nasa.gov> From: Jason Rappleye To: pcp@oss.sgi.com Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v930.3) X-ASG-Orig-Subj: setting pcp_rc_dir in configure.in Subject: setting pcp_rc_dir in configure.in Date: Fri, 15 May 2009 19:21:33 -0700 X-Mailer: Apple Mail (2.930.3) X-OriginalArrivalTime: 16 May 2009 02:21:48.0771 (UTC) FILETIME=[110AEB30:01C9D5CD] X-Proofpoint-Virus-Version: vendor=fsecure engine=1.12.7400:2.4.4,1.2.40,4.0.166 definitions=2009-05-15_05:2009-04-28,2009-05-15,2009-05-15 signatures=0 X-Barracuda-Connect: ndjsnpf02.ndc.nasa.gov[198.117.1.122] X-Barracuda-Start-Time: 1242440805 X-Barracuda-Bayes: INNOCENT GLOBAL 0.0000 1.0000 -2.0210 X-Barracuda-Virus-Scanned: by cuda.sgi.com at sgi.com X-Barracuda-Spam-Score: -2.02 X-Barracuda-Spam-Status: No, SCORE=-2.02 using per-user scores of TAG_LEVEL=2.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=2.1 tests= X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.1.25903 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- X-Virus-Scanned: ClamAV version 0.94.2, clamav-milter version 0.94.2 on oss.sgi.com X-Virus-Status: Clean Hi, configure.in defines pcp_rc_dir by testing for the existence of the directories /etc/rc.d/init.d /etc/init.d /sbin/init.d, and setting pcp_rc_dir to the first one it finds. We run SLES on our systems, and what I'll call a "rogue" RPM happened to create /etc/rc.d/init.d and install an init script there on the host I did my pcp build on. This makes chkconfig unhappy, as it expects to find init scripts in /etc/init.d. Arguably /etc/rc.d/init.d shouldn't be present on a SuSE machine, but nonetheless, I think it would be a good idea to explicitly set pcp_rc_dir to /etc/init.d for SuSE. Might be a good idea to do the same for other distros as well. The following patch should do the trick, though I've only been able to test on SLES 10 SP2. Thanks, j diff --git a/configure.in b/configure.in index 096e622..b094240 100644 --- a/configure.in +++ b/configure.in @@ -1500,8 +1500,13 @@ fi AC_SUBST(pcp_inc_dir) dnl rc/startup files -if test $target_os != darwin +if test $target_os = darwin then + pcp_rc_dir=/Library/StartupItems/pcp +elif test $target_distro = suse +then + pcp_rc_dir=/etc/init.d +else for d in /etc/rc.d/init.d /etc/init.d /sbin/init.d ; do if test -d $d then @@ -1513,8 +1518,6 @@ then then pcp_rc_dir=/etc fi -else - pcp_rc_dir=/Library/StartupItems/pcp fi AC_SUBST(pcp_rc_dir) -- Jason Rappleye System Administrator NASA Advanced Supercomputing Division NASA Ames Research Center Moffett Field, CA 94035 (650) 604-2875 jason.rappleye@nasa.gov From mort@bork.org Fri May 15 22:18:54 2009 X-Spam-Checker-Version: SpamAssassin 3.3.0-rupdated (updated) on oss.sgi.com X-Spam-Level: X-Spam-Status: No, score=-2.5 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.3.0-rupdated Received: from cuda.sgi.com (cuda2.sgi.com [192.48.176.25]) by oss.sgi.com (8.14.3/8.14.3/SuSE Linux 0.8) with ESMTP id n4G3IsXd086925 for ; Fri, 15 May 2009 22:18:54 -0500 X-ASG-Debug-ID: 1242443931-53eb00580000-S8gJnT X-Barracuda-URL: http://cuda.sgi.com:80/cgi-bin/mark.cgi Received: from darwin.bork.org (localhost [127.0.0.1]) by cuda.sgi.com (Spam Firewall) with ESMTP id 53BA128DC73 for ; Fri, 15 May 2009 20:18:51 -0700 (PDT) Received: from darwin.bork.org (darwin.bork.org [65.49.60.145]) by cuda.sgi.com with ESMTP id Sn6ioLZHdqw5KICm for ; Fri, 15 May 2009 20:18:51 -0700 (PDT) Received: from localhost (localhost [127.0.0.1]) by darwin.bork.org (Postfix) with ESMTP id 9FAB4197C5; Fri, 15 May 2009 23:17:11 -0400 (EDT) Received: from darwin.bork.org ([127.0.0.1]) by localhost (darwin.bork.org [127.0.0.1]) (amavisd-new, port 10024) with LMTP id wqvmZ7Q631MN; Fri, 15 May 2009 23:17:11 -0400 (EDT) Received: from socrates.bork.org (localhost [127.0.0.1]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "socrates.bork.org", Issuer "Bork Consulting CA" (verified OK)) by darwin.bork.org (Postfix) with ESMTPS id 53A851925C; Fri, 15 May 2009 23:17:11 -0400 (EDT) Received: by socrates.bork.org (Postfix, from userid 1000) id 5A31DCBB41; Fri, 15 May 2009 23:18:49 -0400 (EDT) Date: Fri, 15 May 2009 23:18:49 -0400 From: Martin Hicks To: Nathan Scott Cc: Michael Werner , pcp@oss.sgi.com X-ASG-Orig-Subj: Re: [pcp] python-pcp git tree available Subject: Re: [pcp] python-pcp git tree available Message-ID: <20090516031849.GC6884@socrates.bork.org> References: <1249571009.5008791242424419619.JavaMail.root@mail-au.aconex.com> <1707763805.5008841242425273268.JavaMail.root@mail-au.aconex.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1707763805.5008841242425273268.JavaMail.root@mail-au.aconex.com> User-Agent: Mutt/1.5.18 (2008-05-17) X-Barracuda-Connect: darwin.bork.org[65.49.60.145] X-Barracuda-Start-Time: 1242443942 X-Barracuda-Bayes: INNOCENT GLOBAL 0.0000 1.0000 -2.0210 X-Barracuda-Virus-Scanned: by cuda.sgi.com at sgi.com X-Barracuda-Spam-Score: -2.02 X-Barracuda-Spam-Status: No, SCORE=-2.02 using per-user scores of TAG_LEVEL=2.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=2.1 tests= X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.1.25906 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- X-Virus-Scanned: ClamAV version 0.94.2, clamav-milter version 0.94.2 on oss.sgi.com X-Virus-Status: Clean On Sat, May 16, 2009 at 08:07:53AM +1000, Nathan Scott wrote: > > Suse needs a refresh > > Fedora and Rhel need to eat their veggies. > > Now that Marks at Redhat, hopefully we'll see that situation > rectified sooner rather than later. The main issue there is > the need to split the current pcp rpm into separate library > runtime, devel, and main pcp package. Yeah, I'd really like to fix that. We'll see if I get some time to work on that. mh From nscott@aconex.com Sat May 16 02:21:11 2009 X-Spam-Checker-Version: SpamAssassin 3.3.0-rupdated (updated) on oss.sgi.com X-Spam-Level: X-Spam-Status: No, score=-2.5 required=5.0 tests=AWL,BAYES_00,J_CHICKENPOX_41 autolearn=no version=3.3.0-rupdated Received: from cuda.sgi.com (cuda1.sgi.com [192.48.157.11]) by oss.sgi.com (8.14.3/8.14.3/SuSE Linux 0.8) with ESMTP id n4G7LAOW095571 for ; Sat, 16 May 2009 02:21:10 -0500 X-ASG-Debug-ID: 1242458769-76c302380000-S8gJnT X-Barracuda-URL: http://cuda.sgi.com:80/cgi-bin/mark.cgi Received: from postoffice2.aconex.com (localhost [127.0.0.1]) by cuda.sgi.com (Spam Firewall) with ESMTP id F012BFBC115 for ; Sat, 16 May 2009 00:26:10 -0700 (PDT) Received: from postoffice2.aconex.com (mail.aconex.com [203.89.202.182]) by cuda.sgi.com with ESMTP id OJBkRno0hRCi6j13 for ; Sat, 16 May 2009 00:26:10 -0700 (PDT) Received: from postoffice.aconex.com (localhost [127.0.0.1]) by postoffice2.aconex.com (Spam Firewall) with ESMTP id A83B65757AB for ; Sat, 16 May 2009 17:21:13 +1000 (EST) Received: from postoffice.aconex.com (postoffice.yarra.acx [192.168.102.1]) by postoffice2.aconex.com with ESMTP id 5EMQ7q1y8enJ90Ga for ; Sat, 16 May 2009 17:21:13 +1000 (EST) Received: from gatekeeper.aconex.com (gatekeeper.yarra.acx [192.168.102.10]) by postoffice.aconex.com (Postfix) with ESMTP id 6D8DAA5028C for ; Sat, 16 May 2009 17:21:09 +1000 (EST) Received: from localhost (localhost.localdomain [127.0.0.1]) by gatekeeper.aconex.com (Postfix) with ESMTP id DDCCB4FD86 for ; Sat, 16 May 2009 17:26:30 +1000 (EST) X-Virus-Scanned: ClamAV version 0.94.2, clamav-milter version 0.94.2 on oss.sgi.com X-Virus-Scanned: amavisd-new at gatekeeper.yarra.acx Received: from gatekeeper.aconex.com ([127.0.0.1]) by localhost (gatekeeper.aconex.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id rTCR+ZTbeMV1 for ; Sat, 16 May 2009 17:26:27 +1000 (EST) Received: from mail-au.aconex.com (mail-au.aconex.com [192.168.102.12]) by gatekeeper.aconex.com (Postfix) with ESMTP id 17E4E4FD85 for ; Sat, 16 May 2009 17:26:27 +1000 (EST) Date: Sat, 16 May 2009 17:21:09 +1000 (EST) From: Nathan Scott To: pcp@oss.sgi.com Message-ID: <1395564563.5010261242458469687.JavaMail.root@mail-au.aconex.com> In-Reply-To: <1564370306.5010231242458419391.JavaMail.root@mail-au.aconex.com> X-ASG-Orig-Subj: pcp-gui updates Subject: pcp-gui updates MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Originating-IP: [211.28.214.49] X-Mailer: Zimbra 5.0.13_GA_2791.RHEL5_64 (ZimbraWebClient - SAF3 (Mac)/5.0.13_GA_2791.RHEL5_64) X-Barracuda-Connect: mail.aconex.com[203.89.202.182] X-Barracuda-Start-Time: 1242458772 X-Barracuda-Bayes: INNOCENT GLOBAL 0.0000 1.0000 -2.0210 X-Barracuda-Virus-Scanned: by cuda.sgi.com at sgi.com X-Barracuda-Spam-Score: -2.02 X-Barracuda-Spam-Status: No, SCORE=-2.02 using per-user scores of TAG_LEVEL=2.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=2.1 tests= X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.1.25922 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- X-Virus-Status: Clean Changes committed to git://oss.sgi.com/nathans/pcp-gui.git .gitignore | 34 configure.in | 2 debian/control | 5 images/GNUmakefile | 4 images/pmview.icns |binary images/pmview.png |binary images/pmview.svg | 503 ++++++++++++++ images/pmviewicon.png |binary src/chart/GNUmakefile | 4 src/chart/chart.cpp | 2 src/chart/chart.h | 4 src/chart/gadget.cpp | 411 +++++++++++ src/chart/gadget.h | 66 + src/chart/groupcontrol.cpp | 617 ----------------- src/chart/groupcontrol.h | 104 -- src/chart/main.cpp | 12 src/chart/main.h | 6 src/chart/pmchart.h | 1 src/chart/pmchart.pro.in | 10 src/chart/recorddialog.cpp | 371 ---------- src/chart/recorddialog.h | 92 -- src/chart/recorddialog.ui | 540 --------------- src/chart/view.cpp | 163 +--- src/chart/view.h | 49 - src/include/buildrules | 3 src/libapp/GNUmakefile | 8 src/libapp/app.cpp | 16 src/libapp/groupcontrol.cpp | 259 +++++++ src/libapp/groupcontrol.h | 88 ++ src/libapp/images/GNUmakefile | 30 src/libapp/libapp.pro.in | 16 src/libapp/libapp.qrc | 48 + src/libapp/recorddialog.cpp | 361 ++++++++++ src/libapp/recorddialog.h | 93 ++ src/libapp/recorddialog.ui | 540 +++++++++++++++ src/libapp/viewcontrol.cpp | 164 ++++ src/libapp/viewcontrol.h | 70 + src/libqmc/GNUmakefile | 1 src/libqwt/GNUmakefile | 1 src/pmafm/pcp-gui.pmafm | 4 src/view/GNUmakefile | 82 ++ src/view/barmod.cpp | 602 ++++++++++++++++ src/view/barmod.h | 132 +++ src/view/barobj.cpp | 536 +++++++++++++++ src/view/barobj.h | 125 +++ src/view/baseobj.cpp | 125 +++ src/view/baseobj.h | 119 +++ src/view/colorlist.cpp | 186 +++++ src/view/colorlist.h | 77 ++ src/view/colormod.cpp | 160 ++++ src/view/colormod.h | 59 + src/view/colorscale.cpp | 158 ++++ src/view/colorscale.h | 89 ++ src/view/colorscalemod.cpp | 189 +++++ src/view/colorscalemod.h | 65 + src/view/defaultobj.cpp | 172 ++++ src/view/defaultobj.h | 152 ++++ src/view/error.cpp | 47 + src/view/gram.y | 1391 +++++++++++++++++++++++++++++++++++++++ src/view/gridobj.cpp | 311 ++++++++ src/view/gridobj.h | 107 +++ src/view/images/GNUmakefile | 18 src/view/labelobj.cpp | 112 +++ src/view/labelobj.h | 99 ++ src/view/launch.cpp | 393 +++++++++++ src/view/launch.h | 113 +++ src/view/lex.l | 466 +++++++++++++ src/view/link.cpp | 218 ++++++ src/view/link.h | 52 + src/view/main.cpp | 488 +++++++++++++ src/view/main.h | 153 ++++ src/view/metriclist.cpp | 234 ++++++ src/view/metriclist.h | 83 ++ src/view/modlist.cpp | 469 +++++++++++++ src/view/modlist.h | 134 +++ src/view/modobj.h | 43 + src/view/modulate.cpp | 131 +++ src/view/modulate.h | 117 +++ src/view/pcpcolor.cpp | 100 ++ src/view/pcpcolor.h | 61 + src/view/pipeobj.cpp | 187 +++++ src/view/pipeobj.h | 54 + src/view/pmview.cpp | 701 +++++++++++++++++++ src/view/pmview.h | 166 ++++ src/view/pmview.pro.in | 31 src/view/pmview.qrc | 23 src/view/pmview.ui | 387 ++++++++++ src/view/scalemod.cpp | 182 +++++ src/view/scalemod.h | 62 + src/view/scenefileobj.cpp | 127 +++ src/view/scenefileobj.h | 53 + src/view/scenegroup.cpp | 178 ++++ src/view/scenegroup.h | 62 + src/view/stackmod.cpp | 593 ++++++++++++++++ src/view/stackmod.h | 98 ++ src/view/stackobj.cpp | 144 ++++ src/view/stackobj.h | 76 ++ src/view/text.cpp | 333 +++++++++ src/view/text.h | 83 ++ src/view/togglemod.cpp | 103 ++ src/view/togglemod.h | 75 ++ src/view/view.cpp | 141 +++ src/view/viewobj.cpp | 168 ++++ src/view/viewobj.h | 135 +++ src/view/views/GNUmakefile | 24 src/view/views/clustervis | 331 +++++++++ src/view/views/config.clustervis | 13 src/view/views/config.dkvis | 14 src/view/views/config.mpvis | 13 src/view/views/config.nfsvis | 12 src/view/views/config.osvis | 31 src/view/views/config.weblogvis | 20 src/view/views/config.webpingvis | 8 src/view/views/config.webvis | 51 + src/view/views/dkvis | 572 ++++++++++++++++ src/view/views/mpvis | 455 ++++++++++++ src/view/views/nfsvis | 244 ++++++ src/view/views/osvis | 651 ++++++++++++++++++ src/view/views/pmview-args | 625 +++++++++++++++++ src/view/views/weblogvis | 451 ++++++++++++ src/view/views/webpingvis | 372 ++++++++++ src/view/views/webvis | 707 +++++++++++++++++++ src/view/xing.cpp | 202 +++++ src/view/xing.h | 48 + src/view/yscalemod.cpp | 46 + src/view/yscalemod.h | 44 + 126 files changed, 20252 insertions(+), 1914 deletions(-) commit 0e1383b31868f7a1c0aa31ba1841e8b88b49e1ff Author: Nathan Scott Date: Sat May 16 17:10:26 2009 +1000 Import the initial version of the pmview sources. This is based on the original SGI sources which were released several weeks ago. That code has been ported to Qt and Coin3D, the use of the old metrics class has been reworked and switched over to the Qt variant used by pmchart and the old ViewKit code is also gone. Initial surgery has been done to link with the new libapp shared with (the new) pmchart, but alot of coding remains. Very little actually works; however: it does build, link, and manage to draw the scene, and the monster code reorg to get this far is largely done now. commit 8da81e5ded680868390fec36e07da6b54574b5e3 Author: Nathan Scott Date: Sat May 16 16:50:24 2009 +1000 Icons for the pmview application. commit c3e890386488a44250b00495124c2a641fee347b Author: Nathan Scott Date: Sat May 16 16:47:48 2009 +1000 Next round of pmchart<->libapp code abstractions for pmview. These changes introduce a ViewControl class which handles all view related code, in particular the recording (pmlogger) interface. A GroupControl class is also moved into libapp (from pmchart) as well as the RecordDialog code and UI files. commit fd3868122afd180f7baf584d7abcca190f91454c Author: Nathan Scott Date: Sat May 16 15:21:34 2009 +1000 Add generated makefiles to library dirt. commit 41a69ef2bec675eef2790921d6ddcb2ab027be40 Author: Nathan Scott Date: Sat May 16 15:16:49 2009 +1000 Add homepage to debian/control file. commit e03dc2e160859788455d5f3001c8e2f532638244 Author: Nathan Scott Date: Sat May 16 15:09:50 2009 +1000 Add a toplevel gitignore template for pcp-gui. From nscott@aconex.com Sat May 16 02:35:46 2009 X-Spam-Checker-Version: SpamAssassin 3.3.0-rupdated (updated) on oss.sgi.com X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.3.0-rupdated Received: from cuda.sgi.com (cuda3.sgi.com [192.48.176.15]) by oss.sgi.com (8.14.3/8.14.3/SuSE Linux 0.8) with ESMTP id n4G7Zkxm096112 for ; Sat, 16 May 2009 02:35:46 -0500 X-ASG-Debug-ID: 1242459352-5a6900610000-S8gJnT X-Barracuda-URL: http://cuda.sgi.com:80/cgi-bin/mark.cgi Received: from postoffice2.aconex.com (localhost [127.0.0.1]) by cuda.sgi.com (Spam Firewall) with ESMTP id 81FDE19D2D39 for ; Sat, 16 May 2009 00:35:53 -0700 (PDT) Received: from postoffice2.aconex.com (mail.aconex.com [203.89.202.182]) by cuda.sgi.com with ESMTP id 4ABxi9tU0M4ZulXz for ; Sat, 16 May 2009 00:35:53 -0700 (PDT) Received: from postoffice.aconex.com (localhost [127.0.0.1]) by postoffice2.aconex.com (Spam Firewall) with ESMTP id DEE39575B08 for ; Sat, 16 May 2009 17:35:51 +1000 (EST) Received: from postoffice.aconex.com (postoffice.yarra.acx [192.168.102.1]) by postoffice2.aconex.com with ESMTP id o4VbjSZ6i6VEW2dD for ; Sat, 16 May 2009 17:35:51 +1000 (EST) Received: from gatekeeper.aconex.com (gatekeeper.yarra.acx [192.168.102.10]) by postoffice.aconex.com (Postfix) with ESMTP id 9EFF5A5028C for ; Sat, 16 May 2009 17:35:47 +1000 (EST) Received: from localhost (localhost.localdomain [127.0.0.1]) by gatekeeper.aconex.com (Postfix) with ESMTP id 304584FD82 for ; Sat, 16 May 2009 17:41:09 +1000 (EST) X-Virus-Scanned: ClamAV version 0.94.2, clamav-milter version 0.94.2 on oss.sgi.com X-Virus-Scanned: amavisd-new at gatekeeper.yarra.acx Received: from gatekeeper.aconex.com ([127.0.0.1]) by localhost (gatekeeper.aconex.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Zy4ErT1x1Z-F for ; Sat, 16 May 2009 17:41:05 +1000 (EST) Received: from mail-au.aconex.com (mail-au.aconex.com [192.168.102.12]) by gatekeeper.aconex.com (Postfix) with ESMTP id 4EFBA4FD84 for ; Sat, 16 May 2009 17:41:05 +1000 (EST) Date: Sat, 16 May 2009 17:35:47 +1000 (EST) From: Nathan Scott To: pcp@oss.sgi.com Message-ID: <1837303786.5010321242459347863.JavaMail.root@mail-au.aconex.com> X-ASG-Orig-Subj: pcp updates Subject: pcp updates MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Originating-IP: [211.28.214.49] X-Mailer: Zimbra 5.0.13_GA_2791.RHEL5_64 (ZimbraWebClient - SAF3 (Mac)/5.0.13_GA_2791.RHEL5_64) X-Barracuda-Connect: mail.aconex.com[203.89.202.182] X-Barracuda-Start-Time: 1242459354 X-Barracuda-Bayes: INNOCENT GLOBAL 0.0000 1.0000 -2.0210 X-Barracuda-Virus-Scanned: by cuda.sgi.com at sgi.com X-Barracuda-Spam-Score: -1.52 X-Barracuda-Spam-Status: No, SCORE=-1.52 using per-user scores of TAG_LEVEL=2.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=2.1 tests=BSF_RULE7568M X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.1.25922 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- 0.50 BSF_RULE7568M Custom Rule 7568M X-Virus-Status: Clean Changes committed to git://oss.sgi.com/nathans/pcp.git configure.in | 9 ++++++--- src/libpcp_gui/src/timestate.c | 2 +- 2 files changed, 7 insertions(+), 4 deletions(-) commit f8ebf5c2f3fc0f6ce81cb538a14bc8788fdd4ee6 Author: Jason Rappleye Date: Sat May 16 17:28:18 2009 +1000 Make setting pcp_rc_dir in configure.in more robust configure.in defines pcp_rc_dir by testing for the existence of the directories /etc/rc.d/init.d /etc/init.d /sbin/init.d, and setting pcp_rc_dir to the first one it finds. We run SLES on our systems, and what I'll call a "rogue" RPM happened to create /etc/rc.d/init.d and install an init script there on the host I did my pcp build on. This makes chkconfig unhappy, as it expects to find init scripts in /etc/init.d. Arguably /etc/rc.d/init.d shouldn't be present on a SuSE machine, but nonetheless, I think it would be a good idea to explicitly set pcp_rc_dir to /etc/init.d for SuSE. Might be a good idea to do the same for other distros as well. The following patch should do the trick, though I've only been able to test on SLES 10 SP2. commit 600463b5ce88226af7491eaa0a3171b26efb6f44 Author: Nathan Scott Date: Fri May 15 10:15:10 2009 +1000 Fix libpcp_gui build on Mac OS X - linker quirkiness requires static symbol. From nscott@aconex.com Sat May 16 02:40:11 2009 X-Spam-Checker-Version: SpamAssassin 3.3.0-rupdated (updated) on oss.sgi.com X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.3.0-rupdated Received: from cuda.sgi.com (cuda3.sgi.com [192.48.176.15]) by oss.sgi.com (8.14.3/8.14.3/SuSE Linux 0.8) with ESMTP id n4G7eAVa096257 for ; Sat, 16 May 2009 02:40:10 -0500 X-ASG-Debug-ID: 1242459617-59b500c20000-S8gJnT X-Barracuda-URL: http://cuda.sgi.com:80/cgi-bin/mark.cgi Received: from postoffice2.aconex.com (localhost [127.0.0.1]) by cuda.sgi.com (Spam Firewall) with ESMTP id EBC3019D298C for ; Sat, 16 May 2009 00:40:17 -0700 (PDT) Received: from postoffice2.aconex.com (mail.aconex.com [203.89.202.182]) by cuda.sgi.com with ESMTP id 94N4b5PMUxqzlikb for ; Sat, 16 May 2009 00:40:17 -0700 (PDT) Received: from postoffice.aconex.com (localhost [127.0.0.1]) by postoffice2.aconex.com (Spam Firewall) with ESMTP id AD7766A81DF; Sat, 16 May 2009 17:40:16 +1000 (EST) Received: from postoffice.aconex.com (postoffice.yarra.acx [192.168.102.1]) by postoffice2.aconex.com with ESMTP id SfBYunDFty1zusvK; Sat, 16 May 2009 17:40:16 +1000 (EST) Received: from gatekeeper.aconex.com (gatekeeper.yarra.acx [192.168.102.10]) by postoffice.aconex.com (Postfix) with ESMTP id 6B2A7A5028C; Sat, 16 May 2009 17:40:12 +1000 (EST) Received: from localhost (localhost.localdomain [127.0.0.1]) by gatekeeper.aconex.com (Postfix) with ESMTP id F07A94FD87; Sat, 16 May 2009 17:45:33 +1000 (EST) X-Virus-Scanned: ClamAV version 0.94.2, clamav-milter version 0.94.2 on oss.sgi.com X-Virus-Scanned: amavisd-new at gatekeeper.yarra.acx Received: from gatekeeper.aconex.com ([127.0.0.1]) by localhost (gatekeeper.aconex.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ZwsjLHn3hsnb; Sat, 16 May 2009 17:45:28 +1000 (EST) Received: from mail-au.aconex.com (mail-au.aconex.com [192.168.102.12]) by gatekeeper.aconex.com (Postfix) with ESMTP id 57F2B4FD85; Sat, 16 May 2009 17:45:28 +1000 (EST) Date: Sat, 16 May 2009 17:40:10 +1000 (EST) From: Nathan Scott To: Jason Rappleye Cc: pcp@oss.sgi.com Message-ID: <1792812635.5010351242459610879.JavaMail.root@mail-au.aconex.com> In-Reply-To: <96589B0F-D4B8-45DD-B702-04F88CD95F41@nasa.gov> X-ASG-Orig-Subj: Re: [pcp] setting pcp_rc_dir in configure.in Subject: Re: [pcp] setting pcp_rc_dir in configure.in MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Originating-IP: [211.28.214.49] X-Mailer: Zimbra 5.0.13_GA_2791.RHEL5_64 (ZimbraWebClient - SAF3 (Mac)/5.0.13_GA_2791.RHEL5_64) X-Barracuda-Connect: mail.aconex.com[203.89.202.182] X-Barracuda-Start-Time: 1242459618 X-Barracuda-Bayes: INNOCENT GLOBAL 0.0143 1.0000 -1.9281 X-Barracuda-Virus-Scanned: by cuda.sgi.com at sgi.com X-Barracuda-Spam-Score: -1.93 X-Barracuda-Spam-Status: No, SCORE=-1.93 using per-user scores of TAG_LEVEL=2.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=2.1 tests= X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.1.25922 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- X-Virus-Status: Clean ----- "Jason Rappleye" wrote: > ... > nonetheless, I think it would be a good idea to explicitly set > pcp_rc_dir to /etc/init.d for SuSE. Might be a good idea to do the > same for other distros as well. The following patch should do the > trick, though I've only been able to test on SLES 10 SP2. Thanks Jason, I've merged it into my git tree - will be in the next release (2.8.5, should be in the next few weeks). FWIW, I don't think changes will be needed on the RH-based distros as they will always pick up the right location thanks to the order in which the list of paths are tested. Same for the Debian-based distros too... so, we should be right now. cheers. -- Nathan From mtw@protomagic.com Sat May 16 09:43:30 2009 X-Spam-Checker-Version: SpamAssassin 3.3.0-rupdated (updated) on oss.sgi.com X-Spam-Level: X-Spam-Status: No, score=-2.2 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.3.0-rupdated Received: from cuda.sgi.com (cuda3.sgi.com [192.48.176.15]) by oss.sgi.com (8.14.3/8.14.3/SuSE Linux 0.8) with ESMTP id n4GEhT6k124839 for ; Sat, 16 May 2009 09:43:30 -0500 X-ASG-Debug-ID: 1242485017-5d23026c0000-S8gJnT X-Barracuda-URL: http://cuda.sgi.com:80/cgi-bin/mark.cgi Received: from mail.serverlogistics.com (localhost [127.0.0.1]) by cuda.sgi.com (Spam Firewall) with ESMTP id 6143E19D3622 for ; Sat, 16 May 2009 07:43:37 -0700 (PDT) Received: from mail.serverlogistics.com (osiris.serverlogistics.com [67.43.163.77]) by cuda.sgi.com with ESMTP id IM0MEpS726KUqDzA for ; Sat, 16 May 2009 07:43:37 -0700 (PDT) Received: from [166.129.92.148] (unverified [166.129.92.148]) by mail.serverlogistics.com (SurgeMail 4.0c) with ESMTP id 39108057-1873669 for multiple; Sat, 16 May 2009 07:43:29 -0700 PDT In-Reply-To: <1707763805.5008841242425273268.JavaMail.root@mail-au.aconex.com> References: <1707763805.5008841242425273268.JavaMail.root@mail-au.aconex.com> Mime-Version: 1.0 (Apple Message framework v752.2) Content-Type: text/plain; charset=US-ASCII; format=flowed Message-Id: <9344AF5F-9FEC-47E2-9486-4F572C60E38B@protomagic.com> Cc: pcp@oss.sgi.com, Martin Hicks Content-Transfer-Encoding: 7bit From: Michael Werner X-ASG-Orig-Subj: Re: [pcp] python-pcp git tree available Subject: Re: [pcp] python-pcp git tree available Date: Sat, 16 May 2009 10:44:54 -0400 To: Nathan Scott X-Mailer: Apple Mail (2.752.2) X-Authenticated-User: mtw@protomagic.com X-Barracuda-Connect: osiris.serverlogistics.com[67.43.163.77] X-Barracuda-Start-Time: 1242485018 X-Barracuda-Bayes: INNOCENT GLOBAL 0.0000 1.0000 -2.0210 X-Barracuda-Virus-Scanned: by cuda.sgi.com at sgi.com X-Barracuda-Spam-Score: -2.02 X-Barracuda-Spam-Status: No, SCORE=-2.02 using per-user scores of TAG_LEVEL=2.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=2.1 tests= X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.1.25949 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- X-Virus-Scanned: ClamAV version 0.94.2, clamav-milter version 0.94.2 on oss.sgi.com X-Virus-Status: Clean On May 15, 2009, at 6:07 PM, Nathan Scott wrote: > > ----- "Michael Werner" wrote: > >> I had a look at pcp on deb's popularity site. The numbers >> are dismal - couldn't fill a bus. > > Heh. Its trending upwards though, and if you look at other > packages (e.g. collectd, as a vaguely similar example), it > can take a couple of years to get into the hundreds. A few > more hits on kmchart than pcp-gui - I should look into how > to get that removed. Shouldn't every IT shop be using this ??? >> Do the PCP docs get distributed with Suse and Deb? > > The man pages do, but thats about it. That would be an interesting statistic; how many downloads go back and get the bigger docs? >> Or are there simply pointers back to techpubs? >> >> So regarding PCP in distros ... >> Debian is up-to-date >> Suse needs a refresh >> Fedora and Rhel need to eat their veggies. > > Now that Marks at Redhat, hopefully we'll see that situation > rectified sooner rather than later. The main issue there is > the need to split the current pcp rpm into separate library > runtime, devel, and main pcp package. Nice. Has there been any talk of a client / server split? This would ease some desktop support concerns. >> Ubuntu is ok? or needs? > > Its behind, but not much can be done there other than keeping > Debian uptodate, AFAIK. I would love to be able to push that > along a bit faster, we have quite a few Ubuntu people here who > are stuck lagging behind where the debian packages are (oh the > irony!) > >> Is there some particular reason pcp has never been in >> rhel/centos? It seems an odd omission. > > Lack of someone to push it, I guess, and people being used to > using other things (like sar, cacti, collectd, ganglia, etc) > for some of what PCP does, perhaps? Theres a fair bit of > code in PCP, and packaging it well is not so simple. The GUI > tool aspect has also been lacking in the past, but nowadays > thats not in such bad shape & getting better. Ken's done a nice bit of work. It will help a lot. > > cheers. > > -- > Nathan From kenj@internode.on.net Sun May 17 05:14:13 2009 X-Spam-Checker-Version: SpamAssassin 3.3.0-rupdated (updated) on oss.sgi.com X-Spam-Level: X-Spam-Status: No, score=-2.5 required=5.0 tests=BAYES_00,J_CHICKENPOX_46 autolearn=no version=3.3.0-rupdated Received: from cuda.sgi.com (cuda1.sgi.com [192.48.157.11]) by oss.sgi.com (8.14.3/8.14.3/SuSE Linux 0.8) with ESMTP id n4HAECOu178225 for ; Sun, 17 May 2009 05:14:12 -0500 X-ASG-Debug-ID: 1242555558-134101300000-S8gJnT X-Barracuda-URL: http://cuda.sgi.com:80/cgi-bin/mark.cgi Received: from mail.internode.on.net (localhost [127.0.0.1]) by cuda.sgi.com (Spam Firewall) with ESMTP id 80F5DFC02B1 for ; Sun, 17 May 2009 03:19:19 -0700 (PDT) Received: from mail.internode.on.net (bld-mail18.adl2.internode.on.net [150.101.137.103]) by cuda.sgi.com with ESMTP id SrEZa16ijrGUascv for ; Sun, 17 May 2009 03:19:19 -0700 (PDT) Received: from [138.130.230.19] (unverified [138.130.230.19]) by mail.internode.on.net (SurgeMail 3.8f2) with ESMTP id 21378-1927428 for ; Sun, 17 May 2009 19:44:15 +1030 (CDT) X-ASG-Orig-Subj: pcpqa updates Subject: pcpqa updates From: Ken McDonell Reply-To: kenj@internode.on.net To: pcp@oss.sgi.com Content-Type: text/plain Date: Sun, 17 May 2009 20:14:11 +1000 Message-Id: <1242555251.15756.4.camel@bozo-laptop.localdomain> Mime-Version: 1.0 X-Mailer: Evolution 2.26.1 Content-Transfer-Encoding: 7bit X-Barracuda-Connect: bld-mail18.adl2.internode.on.net[150.101.137.103] X-Barracuda-Start-Time: 1242555561 X-Barracuda-Bayes: INNOCENT GLOBAL 0.0000 1.0000 -2.0210 X-Barracuda-Virus-Scanned: by cuda.sgi.com at sgi.com X-Barracuda-Spam-Score: -1.52 X-Barracuda-Spam-Status: No, SCORE=-1.52 using per-user scores of TAG_LEVEL=2.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=2.1 tests=BSF_RULE7568M X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.1.26021 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- 0.50 BSF_RULE7568M Custom Rule 7568M X-Virus-Scanned: ClamAV version 0.94.2, clamav-milter version 0.94.2 on oss.sgi.com X-Virus-Status: Clean A bunch of changes that make check -x remote pass 100% for me on Ubuntu and current pcp and pcp-gui installed. Changes committed to git://oss.sgi.com/pcp/pcpqa.git .gitignore | 87 +++++++++++++++++++++++++ 031.out.linux | 1 112.out | 4 - 221 | 4 - 283 | 1 304 | 6 + 314 | 22 +++--- 315 | 7 ++ 315.out | 4 - 317 | 2 325 | 12 ++- 325.out | 2 363 | 2 555 | 11 +-- GNUmakefile | 9 +- recheck | 9 ++ src-oss/.gitignore | 180 ++++++++++++++++++++++++++++++++++++++++++++++++++++ src-oss/GNUmakefile | 2 src-oss/recon.c | 11 ++- src-oss/slow_af.c | 10 ++ 20 files changed, 347 insertions(+), 39 deletions(-) commit 47c2970791eac5b00e2f5c5ae84701574d5d17c7 Author: Ken McDonell Date: Sun May 17 20:00:46 2009 +1000 pmie_check output is not deterministic. There is a dependence on the local "chkconfig" set up ... it is not part of the QA controlled environment, so strip out the optional part of the pmie_check output that is generated when the script thinks pmie is chkconfig'd on. commit 7d593243f572bc7ffd07e324e981204a1b2f3248 Author: Ken McDonell Date: Sun May 17 19:59:50 2009 +1000 Refine timing. Wait a little for pmcd to get started, and ensure the client connection port is ready. commit 4097450a7cdef297a696513e7958d06070802432 Author: Ken McDonell Date: Sun May 17 17:23:16 2009 +1000 Refine log file line count tests. Also add comments to explain how expected line counts are calculated. commit 8f49acac128676ab7a99a0e9d63df7906b702581 Author: Ken McDonell Date: Sun May 17 08:02:45 2009 +1000 Accommodate change in pmlogsummary behaviour. Warnings from failed pmFetch are no longer reported by default, so explicitly enable warnings in this QA test. commit f945df0e6a6bc5399796d129ee2ed18229e29d7d Author: Ken McDonell Date: Sun May 17 08:00:00 2009 +1000 Cleanup for "make clobber". Just align with .gitignore, and make sure we're cleaning up correctly and not leaving non-git files around, or removing git controlled files. commit 8141832c42068db05305db6af19d1268efd3386b Author: Ken McDonell Date: Sun May 17 07:57:27 2009 +1000 Add .gitignore controls. Reduce the chatter from git-status, and make the .gitignore and Makefiles agree on the temporary files that can be cleaned up by "make clobber" and are hence of no interest to git. commit ea3bfc7a20e3be2c5ec3d2e9aebaddb4e559d48c Author: Ken McDonell Date: Sun May 17 07:55:19 2009 +1000 Minor hardening to improve robustness and standalone execution of this test. commit 23a5f22b655c0a279a0c2f0b9f86abbb3281e1e8 Author: Ken McDonell Date: Sun May 17 07:54:14 2009 +1000 Accommodate change in pmlogsummary behaviour. Warnings from failed pmFetch are no longer reported by default, so explicitly enable warnings when needed in this QA test. commit 75941566e54a75e98e76dda25fe3cf256b9d29fa Author: Ken McDonell Date: Sun May 17 07:53:12 2009 +1000 Cleanup around xconfirm -> pmconfirm change commit 8f4a59fcc5715f786daa823a350ff28db22ee8cd Author: Ken McDonell Date: Sun May 17 07:48:44 2009 +1000 Make output reflect name of PCP_XCONFIRM_PROG that is used. commit 74933a7da51148b4c3fddc4efde4b12dcd98d09f Author: Ken McDonell Date: Sun May 17 07:02:20 2009 +1000 Replace sginap() use. Tracking similar changes made to PCP where sginap() is no longer used. commit cadc02a539a5d182a14601fb2cdc79b94444a69c Author: Ken McDonell Date: Sat May 16 18:03:39 2009 +1000 Fix filter. Filter for syslogd output was just plain wrong, and included lines from processes other than the pmie of interest, and the catch up delete actions are not needed. commit e7e6d7a9fee229228a7dcf42152ade02785f1006 Author: Ken McDonell Date: Sat May 16 15:04:53 2009 +1000 Add recheck. Uses the *.out.bad files to identify and rerun all tests that have failed. commit 3464f370ecf32210c66511aa5d5108d8287bd435 Author: Ken McDonell Date: Sat May 16 14:11:49 2009 +1000 Need to skip pmResult from pmStore Extra pmResult in output after pmcd.client.whoami change to pmlogger. commit a5d17440df326b1337d1f688925152580ef2cbb6 Author: Ken McDonell Date: Sat May 16 12:33:45 2009 +1000 More changes from adding pmcd.client and the addition of test 160. From kenj@internode.on.net Sun May 17 05:59:23 2009 X-Spam-Checker-Version: SpamAssassin 3.3.0-rupdated (updated) on oss.sgi.com X-Spam-Level: X-Spam-Status: No, score=-2.5 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.3.0-rupdated Received: from cuda.sgi.com (cuda3.sgi.com [192.48.176.15]) by oss.sgi.com (8.14.3/8.14.3/SuSE Linux 0.8) with ESMTP id n4HAxNA2179786 for ; Sun, 17 May 2009 05:59:23 -0500 X-ASG-Debug-ID: 1242557963-08f400740000-S8gJnT X-Barracuda-URL: http://cuda.sgi.com:80/cgi-bin/mark.cgi Received: from mail.internode.on.net (localhost [127.0.0.1]) by cuda.sgi.com (Spam Firewall) with ESMTP id DCAA519D5698 for ; Sun, 17 May 2009 03:59:23 -0700 (PDT) Received: from mail.internode.on.net (bld-mail14.adl6.internode.on.net [150.101.137.99]) by cuda.sgi.com with ESMTP id q2XoztybnEvzwXXc for ; Sun, 17 May 2009 03:59:23 -0700 (PDT) Received: from [138.130.230.19] (unverified [138.130.230.19]) by mail.internode.on.net (SurgeMail 3.8f2) with ESMTP id 21491-1927428 for ; Sun, 17 May 2009 20:29:21 +0930 (CST) X-ASG-Orig-Subj: pcp updates Subject: pcp updates From: Ken McDonell Reply-To: kenj@internode.on.net To: pcp@oss.sgi.com Content-Type: text/plain Date: Sun, 17 May 2009 20:59:17 +1000 Message-Id: <1242557957.15756.8.camel@bozo-laptop.localdomain> Mime-Version: 1.0 X-Mailer: Evolution 2.26.1 Content-Transfer-Encoding: 7bit X-Barracuda-Connect: bld-mail14.adl6.internode.on.net[150.101.137.99] X-Barracuda-Start-Time: 1242557964 X-Barracuda-Bayes: INNOCENT GLOBAL 0.0000 1.0000 -2.0210 X-Barracuda-Virus-Scanned: by cuda.sgi.com at sgi.com X-Barracuda-Spam-Score: -1.02 X-Barracuda-Spam-Status: No, SCORE=-1.02 using per-user scores of TAG_LEVEL=2.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=2.1 tests=BSF_RULE7568M, BSF_RULE_7582B X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.1.26024 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- 0.50 BSF_RULE7568M Custom Rule 7568M 0.50 BSF_RULE_7582B Custom Rule 7582B X-Virus-Scanned: ClamAV version 0.94.2, clamav-milter version 0.94.2 on oss.sgi.com X-Virus-Status: Clean These changes make all the gcc warnings go away. There are some bug fixes buried in here as well ... 8^)> With these changes and the pcpqa changes I just posted, QA now passes all local tests. Changes committed to git://oss.sgi.com/kenj/pcp.git dev src/cpan/PMDA/local.c | 7 +++- src/dbpmda/src/dso.c | 4 +- src/dbpmda/src/lex.l | 5 +++ src/dbpmda/src/pmda.c | 4 +- src/dbpmda/src/util.c | 5 +-- src/libpcp/src/connect.c | 6 +-- src/libpcp/src/interp.c | 3 + src/libpcp/src/logutil.c | 7 ++-- src/libpcp/src/optfetch.c | 2 - src/libpcp/src/p_pmns.c | 6 +-- src/libpcp/src/p_result.c | 2 - src/libpcp/src/rtime.c | 2 - src/libpcp/src/spec.c | 6 +-- src/libpcp/src/units.c | 6 +-- src/libpcp/src/util.c | 29 +++++++++++++---- src/libpcp_gui/src/record.c | 6 ++- src/libpcp_pmcd/src/trace.c | 2 - src/libpcp_pmda/src/callback.c | 2 - src/pcp/pcp.sh | 2 - src/pmcd/src/config.c | 5 +-- src/pmcd/src/dopdus.c | 10 +++--- src/pmcd/src/pmcd.c | 4 +- src/pmclient/pmclient.c | 2 - src/pmdas/cisco/telnet.c | 2 - src/pmdas/hotproc/src/lex.l | 5 +++ src/pmdas/linux/proc_net_tcp.c | 6 +++ src/pmdas/linux/proc_slabinfo.c | 6 +++ src/pmdas/linux/proc_sys_fs.c | 20 ++++++++---- src/pmdas/lustrecomm/file_single.c | 4 +- src/pmdas/mailq/mailq.c | 6 +++ src/pmdas/mmv/mmv.c | 26 ++++++++++------ src/pmdas/mounts/mounts.c | 5 ++- src/pmdas/pmcd/src/pmcd.c | 8 ++-- src/pmdas/process/process.c | 9 ++++- src/pmdas/roomtemp/mlan/linuxlnk.c | 2 - src/pmdas/shping/shping.c | 4 +- src/pmdas/txmon/txrecord.c | 2 - src/pmdas/weblog/weblog.c | 4 +- src/pmdumplog/pmdumplog.c | 6 +-- src/pmie/src/README.DEBUG | 19 +++++++++++ src/pmie/src/pmie.c | 9 +++-- src/pmie/src/show.c | 4 -- src/pmie/src/stomp.c | 2 - src/pmie/src/symbol.c | 2 - src/pminfo/pminfo.c | 2 - src/pmlc/actions.c | 12 ++++++- src/pmlc/lex.l | 5 +++ src/pmlc/pmlc.c | 2 - src/pmlogextract/lex.l | 5 +++ src/pmlogextract/metriclist.c | 2 - src/pmlogger/callback.c | 4 +- src/pmlogger/gram.y | 2 - src/pmlogger/lex.l | 5 +++ src/pmlogger/pmlogger.c | 60 ++++++++++++++++++++++--------------- src/pmlogsummary/pmlogsummary.c | 5 +-- src/pmns/pmnsdel.c | 8 +++- src/pmnscomp/pmnscomp.c | 2 - src/pmprobe/pmprobe.c | 3 + src/pmproxy/pmproxy.c | 4 +- src/pmstat/pmstat.c | 4 +- src/pmstore/pmstore.c | 2 - src/pmval/pmval.c | 4 +- 62 files changed, 276 insertions(+), 133 deletions(-) commit d7f66aee0444a4e9fcf1fd96f4cdbfac17532702 Author: Ken McDonell Date: Sun May 17 20:46:34 2009 +1000 Remove gcc warnings. Most of these changes are totally benign and not necessary because the variables are _really_ initialized before being used ... but until the gcc pixies are able to only warn in situations where there really is a problem, we have little choice. There are a couple of very very low probability bugs corrected here also. commit 0943cb5c9951f0c528f161d719c1d0905bb52d31 Author: Ken McDonell Date: Sun May 17 20:45:22 2009 +1000 Check return value from dup(). commit 8d88452a93fc5a7c5c48aa85e5261ebffa248240 Author: Ken McDonell Date: Sun May 17 20:44:29 2009 +1000 Check return value from chown(). commit bb90664441edb892af0c37cd64d24597328984ab Author: Ken McDonell Date: Sun May 17 20:41:55 2009 +1000 Assorted minor changes. Add initialization to pander to gcc warnings. Use mkstemp() if available in preference to tmpnam(). Fix formatting of messages via pmconfirm when using record mode from gui tools. commit 07c987936049b84ae5d0c18af396962d9fb1da97 Author: Ken McDonell Date: Sun May 17 20:40:08 2009 +1000 Fix unlikely off-by-one error in strncat() use. commit 7d85c046adf8adfba4d97a464b6a3780c48e5a03 Author: Ken McDonell Date: Sun May 17 20:38:50 2009 +1000 Check write() return value and minor initialization to remove gcc warning. commit 007e35f797d7f16be67a0997f5b05593bc863ba1 Author: Ken McDonell Date: Sun May 17 20:37:42 2009 +1000 Check return value from dup(). commit c70d2a9fe1e3c1b4d7faefa44389f288c9be483b Author: Ken McDonell Date: Sun May 17 20:36:54 2009 +1000 Check return value from fgets(). commit 44e6aeb91d39f94c1ec8c912fae4576e74cdec0e Author: Ken McDonell Date: Sun May 17 20:36:00 2009 +1000 Check return value from fgets(). commit 4430977a324238658355a287a579df2b852718dc Author: Ken McDonell Date: Sun May 17 20:34:58 2009 +1000 Use mkstemp() if available. Safer replacement for tempnam(). commit c70c05f052e6025d72833ea6d120ff8faaf9554f Author: Ken McDonell Date: Sun May 17 20:33:12 2009 +1000 Check getcwd() return value. commit d790ad583eacad07f704a64250f80613257de588 Author: Ken McDonell Date: Sun May 17 20:32:07 2009 +1000 Cleanup fgets() and fscanf() use. Check return values to make sure we're getting what we expect as we parse these ascii files. commit a9eced25ce3bd752f4ef057f7767d98c4a850e36 Author: Ken McDonell Date: Sun May 17 20:28:43 2009 +1000 Check return value from dup(). commit 3c5a462c10f277e3e088304d9121311eea52f884 Author: Ken McDonell Date: Sun May 17 20:27:31 2009 +1000 Check getcwd() return value. commit 5716ca025d9a19ccbe0d02c00d2b7702b1577516 Author: Ken McDonell Date: Sun May 17 20:26:09 2009 +1000 gcc cleanup and better system call checking. Check the return status from read(), write() and pipe(). commit 39dfce0c0cd770a76e0e14bdd6e06f57f0721c4b Author: Ken McDonell Date: Sun May 17 20:22:53 2009 +1000 Use xterm instead of xwsh. The watch command was broken, this makes it work again. Also cleaned up the use of system(), specifically check the return value. commit 2b16263f80d6c63ff25f189bbd780a5b82c44078 Author: Ken McDonell Date: Sun May 17 20:18:57 2009 +1000 Hack to workaround gcc warnings from flex generated code. Don't even ask about this ... it is obscene in the extreme, but until the flex pixies are generating C code that does not cause gcc to babble on with warnings, this is what you have to do. commit ec0767c332236fea2fc4369306305924c9255fc1 Author: Ken McDonell Date: Sun May 17 07:18:51 2009 +1000 Reinstate optional pmFetch warnings. When the warnings were changed to be off by default, the plumbing to allow the previous default to be enabled (-v) was incomplete ... this was causing QA/363 to fail, besides being just wrong. commit 8b03b14be1369d42ae964b5bfd3a7f75fd3372d2 Author: Ken McDonell Date: Sun May 17 07:10:53 2009 +1000 Cosmetic change. Removal of simabi introduced a very minor white space issue that was causing QA/507 to fail. From nscott@aconex.com Sun May 17 20:36:03 2009 X-Spam-Checker-Version: SpamAssassin 3.3.0-rupdated (updated) on oss.sgi.com X-Spam-Level: X-Spam-Status: No, score=-2.2 required=5.0 tests=AWL,BAYES_00,J_CHICKENPOX_41 autolearn=no version=3.3.0-rupdated Received: from cuda.sgi.com (cuda3.sgi.com [192.48.176.15]) by oss.sgi.com (8.14.3/8.14.3/SuSE Linux 0.8) with ESMTP id n4I1a2V3219222 for ; Sun, 17 May 2009 20:36:02 -0500 X-ASG-Debug-ID: 1242610569-6c48036a0000-S8gJnT X-Barracuda-URL: http://cuda.sgi.com:80/cgi-bin/mark.cgi Received: from postoffice2.aconex.com (localhost [127.0.0.1]) by cuda.sgi.com (Spam Firewall) with ESMTP id 0A8C119D1E11 for ; Sun, 17 May 2009 18:36:09 -0700 (PDT) Received: from postoffice2.aconex.com (mail.aconex.com [203.89.202.182]) by cuda.sgi.com with ESMTP id 87l57HfQWVoTPU7T for ; Sun, 17 May 2009 18:36:09 -0700 (PDT) Received: from postoffice.aconex.com (localhost [127.0.0.1]) by postoffice2.aconex.com (Spam Firewall) with ESMTP id 7A32E578DDC for ; Mon, 18 May 2009 11:36:07 +1000 (EST) Received: from postoffice.aconex.com (postoffice.yarra.acx [192.168.102.1]) by postoffice2.aconex.com with ESMTP id IlK0oEdokQauT369 for ; Mon, 18 May 2009 11:36:07 +1000 (EST) Received: from gatekeeper.aconex.com (gatekeeper.yarra.acx [192.168.102.10]) by postoffice.aconex.com (Postfix) with ESMTP id 7056BA5012D for ; Mon, 18 May 2009 11:36:02 +1000 (EST) Received: from localhost (localhost.localdomain [127.0.0.1]) by gatekeeper.aconex.com (Postfix) with ESMTP id CCABF4FD84 for ; Mon, 18 May 2009 11:41:38 +1000 (EST) X-Virus-Scanned: ClamAV version 0.94.2, clamav-milter version 0.94.2 on oss.sgi.com X-Virus-Scanned: amavisd-new at gatekeeper.yarra.acx Received: from gatekeeper.aconex.com ([127.0.0.1]) by localhost (gatekeeper.aconex.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id WHy67HulzTRC for ; Mon, 18 May 2009 11:41:35 +1000 (EST) Received: from mail-au.aconex.com (mail-au.aconex.com [192.168.102.12]) by gatekeeper.aconex.com (Postfix) with ESMTP id 310434FD82 for ; Mon, 18 May 2009 11:41:35 +1000 (EST) Date: Mon, 18 May 2009 11:36:03 +1000 (EST) From: Nathan Scott To: pcp@oss.sgi.com Message-ID: <1550275752.5053091242610563757.JavaMail.root@mail-au.aconex.com> In-Reply-To: <1565168238.5052981242610530597.JavaMail.root@mail-au.aconex.com> X-ASG-Orig-Subj: pcp-gui updates Subject: pcp-gui updates MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Originating-IP: [203.89.192.141] X-Mailer: Zimbra 5.0.13_GA_2791.RHEL5_64 (ZimbraWebClient - [unknown] (Linux)/5.0.13_GA_2791.RHEL5_64) X-Barracuda-Connect: mail.aconex.com[203.89.202.182] X-Barracuda-Start-Time: 1242610571 X-Barracuda-Bayes: INNOCENT GLOBAL 0.0000 1.0000 -2.0210 X-Barracuda-Virus-Scanned: by cuda.sgi.com at sgi.com X-Barracuda-Spam-Score: -2.02 X-Barracuda-Spam-Status: No, SCORE=-2.02 using per-user scores of TAG_LEVEL=2.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=2.1 tests= X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.1.26078 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- X-Virus-Status: Clean Changes committed to git://oss.sgi.com/nathans/pcp-gui.git configure.in | 1 images/face-glasses.png |binary images/face-glasses.svg | 400 ++++++++++++++++++++++++++++++++++++++++ images/go-home.png |binary images/go-home.svg | 402 ++++++++++++++++++++++++++++++++++++++++ images/user-desktop.png |binary images/user-desktop.svg | 265 ++++++++++++++++++++++++++ images/view-pointer.png |binary images/view-pointer.svg | 292 +++++++++++++++++++++++++++++ images/view-refresh.png |binary images/view-refresh.svg | 438 ++++++++++++++++++++++++++++++++++++++++++++ src/chart/gadget.cpp | 12 - src/chart/pmchart.cpp | 12 - src/chart/pmchart.h | 2 src/chart/pmchart.ui | 10 - src/chart/seealsodialog.ui | 2 src/chart/timeaxis.cpp | 2 src/libapp/groupcontrol.h | 2 src/time/seealsodialog.ui | 2 src/view/images/GNUmakefile | 9 src/view/main.cpp | 37 +++ src/view/main.h | 1 src/view/pmview.cpp | 121 ++++++++++-- src/view/pmview.desktop | 8 src/view/pmview.h | 42 +++- src/view/pmview.qrc | 12 + src/view/pmview.ui | 248 ++++++++++++++++++++++++ src/view/scenegroup.cpp | 4 src/view/scenegroup.h | 2 src/view/view.cpp | 141 -------------- 30 files changed, 2268 insertions(+), 199 deletions(-) commit 3af4fde7eb748a58105b6a0372371c600f88cdb4 Author: Nathan Scott Date: Mon May 18 11:25:45 2009 +1000 Add routine to convert from rgbi:r,g,b float format to QColor. commit 7b4b8fa8732e6e6cadf7f793259b76d1fd00952d Author: Nathan Scott Date: Mon May 18 08:17:22 2009 +1000 Get the pmview status bar displaying the time position correctly. commit 4960a57e19e4b8ec76b8e2eea95053d9a7193983 Author: Nathan Scott Date: Mon May 18 07:57:46 2009 +1000 Remove unused fetch field in pmview ops enumeration. commit b694db93e4a48935fc8c262d98e63ae42763910d Author: Nathan Scott Date: Sun May 17 20:41:37 2009 +1000 User interface improvements for pmview. Move the inventor viewer function tool buttons to the toolbar, so that the pmview interface is more like the (new) pmchart one and generally cleaner. Use custom (nicer!) icons for this new toolbar functionality as well, also providing a more consistent user experience. This also allows us to make a smaller pmview window by default, as we no longer have to cater for the vertical dolly and button space - just the dolly (z-axis) wheel, same as on the left and bottom of the window. commit dd23109b5f9f76695a3ac781edbb7e3f975438b8 Author: Nathan Scott Date: Sun May 17 14:10:34 2009 +1000 Add pmview desktop catalog entry for Linux desktops. commit 794d6a040e7dc9b9d60b3b7fd47ad2320a4066d0 Author: Nathan Scott Date: Sun May 17 13:38:54 2009 +1000 Add code to set main view in pmview, gets timecontrol button setup. commit d705939225c2a38a5b700d2890e488185c7a2eb3 Author: Nathan Scott Date: Sun May 17 13:38:14 2009 +1000 Fix typos in comments/whitespace in pmchart.cpp. commit adfde0ea37e6334b81926be70a039470e1b070a4 Author: Nathan Scott Date: Sun May 17 13:37:48 2009 +1000 Remove unused file, accidentally commited. commit 34ab7489f7641c7a310ce9828e23c65da43cba44 Author: Nathan Scott Date: Sun May 17 11:12:16 2009 +1000 Update url pointers for Qt to qtsoftware.com commit 72f97e6f4e4b8532b4eab0712f36f356daed0e25 Author: Nathan Scott Date: Sat May 16 17:21:34 2009 +1000 Reinstate accidentally dropped chunk of configure script. From nscott@aconex.com Mon May 18 01:19:49 2009 X-Spam-Checker-Version: SpamAssassin 3.3.0-rupdated (updated) on oss.sgi.com X-Spam-Level: X-Spam-Status: No, score=0.3 required=5.0 tests=AWL,BAYES_00,HEADER_ESQ autolearn=no version=3.3.0-rupdated Received: from cuda.sgi.com (cuda1.sgi.com [192.48.157.11]) by oss.sgi.com (8.14.3/8.14.3/SuSE Linux 0.8) with ESMTP id n4I6Jm8G231588 for ; Mon, 18 May 2009 01:19:49 -0500 X-ASG-Debug-ID: 1242627901-64d101f00000-S8gJnT X-Barracuda-URL: http://cuda.sgi.com:80/cgi-bin/mark.cgi Received: from postoffice2.aconex.com (localhost [127.0.0.1]) by cuda.sgi.com (Spam Firewall) with ESMTP id 646BCFC260A for ; Sun, 17 May 2009 23:25:01 -0700 (PDT) Received: from postoffice2.aconex.com (mail.aconex.com [203.89.202.182]) by cuda.sgi.com with ESMTP id 7WqZPIlQsXonSycz for ; Sun, 17 May 2009 23:25:01 -0700 (PDT) Received: from postoffice.aconex.com (localhost [127.0.0.1]) by postoffice2.aconex.com (Spam Firewall) with ESMTP id C44C1579EE4 for ; Mon, 18 May 2009 16:19:54 +1000 (EST) Received: from postoffice.aconex.com (postoffice.yarra.acx [192.168.102.1]) by postoffice2.aconex.com with ESMTP id RyIfmuM1rknERMXe for ; Mon, 18 May 2009 16:19:54 +1000 (EST) Received: from gatekeeper.aconex.com (gatekeeper.yarra.acx [192.168.102.10]) by postoffice.aconex.com (Postfix) with ESMTP id 8F7C7A502AC for ; Mon, 18 May 2009 16:19:49 +1000 (EST) Received: from localhost (localhost.localdomain [127.0.0.1]) by gatekeeper.aconex.com (Postfix) with ESMTP id 996164FD8A for ; Mon, 18 May 2009 16:25:27 +1000 (EST) X-Virus-Scanned: ClamAV version 0.94.2, clamav-milter version 0.94.2 on oss.sgi.com X-Virus-Scanned: amavisd-new at gatekeeper.yarra.acx Received: from gatekeeper.aconex.com ([127.0.0.1]) by localhost (gatekeeper.aconex.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id mRESQxVnH-HF for ; Mon, 18 May 2009 16:25:26 +1000 (EST) Received: from mail-au.aconex.com (mail-au.aconex.com [192.168.102.12]) by gatekeeper.aconex.com (Postfix) with ESMTP id 907494FD89 for ; Mon, 18 May 2009 16:25:26 +1000 (EST) Date: Mon, 18 May 2009 16:19:53 +1000 (EST) From: Nathan Scott To: pcp Message-ID: <660321552.5082441242627593591.JavaMail.root@mail-au.aconex.com> X-ASG-Orig-Subj: pcp-gui updates Subject: pcp-gui updates MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Originating-IP: [203.89.192.141] X-Mailer: Zimbra 5.0.13_GA_2791.RHEL5_64 (ZimbraWebClient - [unknown] (Linux)/5.0.13_GA_2791.RHEL5_64) X-Barracuda-Connect: mail.aconex.com[203.89.202.182] X-Barracuda-Start-Time: 1242627903 X-Barracuda-Bayes: INNOCENT GLOBAL 0.0001 1.0000 -2.0201 X-Barracuda-Virus-Scanned: by cuda.sgi.com at sgi.com X-Barracuda-Spam-Score: -1.52 X-Barracuda-Spam-Status: No, SCORE=-1.52 using per-user scores of TAG_LEVEL=2.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=2.1 tests=BSF_RULE7568M X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.1.26096 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- 0.50 BSF_RULE7568M Custom Rule 7568M X-Virus-Status: Clean Changes committed to git://oss.sgi.com/nathans/pcp-gui.git man/GNUmakefile | 2 man/man1/pmview.1 | 585 +++++++++++++++++++++++++ man/man4/GNUmakefile | 20 man/man4/pmview.4 | 1052 +++++++++++++++++++++++++++++++++++++++++++++ man/man5/GNUmakefile | 20 man/man5/pmlaunch.5 | 521 ++++++++++++++++++++++ src/view/barmod.cpp | 53 +- src/view/barobj.cpp | 45 - src/view/colormod.cpp | 20 src/view/colorscalemod.cpp | 20 src/view/defaultobj.cpp | 6 src/view/gridobj.cpp | 62 +- src/view/launch.cpp | 67 +- src/view/metriclist.cpp | 46 + src/view/modlist.cpp | 89 +-- src/view/modulate.cpp | 7 src/view/pmview.cpp | 31 - src/view/pmview.h | 6 src/view/scalemod.cpp | 20 src/view/scenegroup.cpp | 8 src/view/stackmod.cpp | 96 +--- src/view/stackobj.cpp | 21 src/view/text.cpp | 20 src/view/togglemod.cpp | 31 - src/view/viewobj.cpp | 3 25 files changed, 2509 insertions(+), 342 deletions(-) commit 032908c3f988302dac65260a15cfd2b172acfbbc Author: Nathan Scott Date: Mon May 18 16:11:25 2009 +1000 Fix a OMC (-> PMC) -> QMC coding conversion problem in pmview. Seems the error() method of the old metric class used to return an error as less than _or_ equal to zero for some reason, whereas the newer variants use the more common convention of less-than-zero as an error. And voila, pmview scenes spring into colourful life! commit 336e6c0e9f683772db11f76c069bcf80b3b3a5f7 Author: Nathan Scott Date: Mon May 18 16:06:48 2009 +1000 Ensure pmview metric updates performed when time position changes received. commit 5a5ee874f9cd7a29c297ff8e6d487b58987830dd Author: Nathan Scott Date: Mon May 18 16:05:33 2009 +1000 Couple of minor whitespace fixups noticed during debugging. commit ab9b0395742a671d423fa97dbda75d9985609457 Author: Nathan Scott Date: Mon May 18 16:03:31 2009 +1000 Descend into the new man4 and man5 subdirs also. commit 79a7ecf6762aab72b227e9852fadbd9c1a399e56 Author: Nathan Scott Date: Mon May 18 16:02:32 2009 +1000 Add the pmview and pmlaunch man pages into the PCP GUI tree. commit dab661ca0c91d0d5f0901be37c860ee888968854 Author: Nathan Scott Date: Mon May 18 13:36:57 2009 +1000 Enable debug code throughout pmview, using Qt stderr stream. commit a0e9fa992f8f239f7f4e5a76a5a25ca67d102e8f Author: Nathan Scott Date: Mon May 18 12:09:59 2009 +1000 Setup the timecontrol signal/slot interface correctly in pmview. commit 99f626555fdb8885b4da812124b52a79b3685b32 Author: Nathan Scott Date: Mon May 18 12:08:58 2009 +1000 Use the correct interface to add metrics to the group. From goodwinos@gmail.com Mon May 18 01:22:50 2009 X-Spam-Checker-Version: SpamAssassin 3.3.0-rupdated (updated) on oss.sgi.com X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00 autolearn=ham version=3.3.0-rupdated Received: from cuda.sgi.com (cuda2.sgi.com [192.48.176.25]) by oss.sgi.com (8.14.3/8.14.3/SuSE Linux 0.8) with ESMTP id n4I6MoLj231668 for ; Mon, 18 May 2009 01:22:50 -0500 X-ASG-Debug-ID: 1242627778-126403db0000-S8gJnT X-Barracuda-URL: http://cuda.sgi.com:80/cgi-bin/mark.cgi Received: from mx2.redhat.com (localhost [127.0.0.1]) by cuda.sgi.com (Spam Firewall) with ESMTP id 6180A291112 for ; Sun, 17 May 2009 23:22:58 -0700 (PDT) Received: from mx2.redhat.com (mx2.redhat.com [66.187.237.31]) by cuda.sgi.com with ESMTP id PwXFFGlMF7zjbC6U for ; Sun, 17 May 2009 23:22:58 -0700 (PDT) Received: from int-mx2.corp.redhat.com (int-mx2.corp.redhat.com [172.16.27.26]) by mx2.redhat.com (8.13.8/8.13.8) with ESMTP id n4I6Ms5J006591; Mon, 18 May 2009 02:22:54 -0400 Received: from ns3.rdu.redhat.com (ns3.rdu.redhat.com [10.11.255.199]) by int-mx2.corp.redhat.com (8.13.1/8.13.1) with ESMTP id n4I6MruY027692; Mon, 18 May 2009 02:22:53 -0400 Received: from [10.64.176.217] (dhcp-176-217.mel.redhat.com [10.64.176.217]) by ns3.rdu.redhat.com (8.13.8/8.13.8) with ESMTP id n4I6Mnnx007293; Mon, 18 May 2009 02:22:51 -0400 Message-ID: <4A10FEB9.3010400@gmail.com> Date: Mon, 18 May 2009 16:22:49 +1000 From: Mark Goodwin User-Agent: Thunderbird 2.0.0.21 (X11/20090320) MIME-Version: 1.0 To: Nathan Scott CC: Michael Werner , pcp@oss.sgi.com, sandeen@sandeen.net X-ASG-Orig-Subj: pcp packaging split (was Re: [pcp] python-pcp git tree available) Subject: pcp packaging split (was Re: [pcp] python-pcp git tree available) References: <1707763805.5008841242425273268.JavaMail.root@mail-au.aconex.com> In-Reply-To: <1707763805.5008841242425273268.JavaMail.root@mail-au.aconex.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 2.58 on 172.16.27.26 X-Barracuda-Connect: mx2.redhat.com[66.187.237.31] X-Barracuda-Start-Time: 1242627779 X-Barracuda-Bayes: INNOCENT GLOBAL 0.0000 1.0000 -2.0210 X-Barracuda-Virus-Scanned: by cuda.sgi.com at sgi.com X-Barracuda-Spam-Score: -2.02 X-Barracuda-Spam-Status: No, SCORE=-2.02 using per-user scores of TAG_LEVEL=2.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=2.1 tests= X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.1.26097 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- X-Virus-Scanned: ClamAV version 0.94.2, clamav-milter version 0.94.2 on oss.sgi.com X-Virus-Status: Clean Nathan Scott wrote: >> So regarding PCP in distros ... >> Debian is up-to-date >> Suse needs a refresh >> Fedora and Rhel need to eat their veggies. > > Now that Marks at Redhat, hopefully we'll see that situation > rectified sooner rather than later. yes an aim of mine will be to get PCP into Fedora and eventually into RHEL. It will certainly help at sites with perf issues, rather than relying on "good'ol sar", said as nicely as I can :-} > The main issue there is > the need to split the current pcp rpm into separate library > runtime, devel, and main pcp package. > I had a brief look at this last week. Nathan has already done the packaging split for Debian, see debian/*.{install,dirs} so it'd be a matter of hacking the RPM spec to create sub-packages in a similar fashion : # ls -1 debian/*.{install,dirs} debian/libpcp3-dev.dirs debian/libpcp3-dev.install debian/libpcp3.install debian/libpcp-gui1-dev.dirs debian/libpcp-gui1-dev.install debian/libpcp-gui1.install debian/libpcp-mmv1-dev.dirs debian/libpcp-mmv1-dev.install debian/libpcp-mmv1.install debian/libpcp-pmda3-dev.dirs debian/libpcp-pmda3-dev.install debian/libpcp-pmda3.install debian/libpcp-trace2-dev.dirs debian/libpcp-trace2-dev.install debian/libpcp-trace2.install (and then a catch-all for the base package) But isn't that many packages a bit of an over-kill? I'm not sure of the actual packaging policies for Fedora, but surely it would be enough to have pcp, pcp-libs and pcp-devel (and similar for pcp-gui) rather than a separate package and devel package for every library ... or is *that* the policy? We'd also want to move those files into the build directory since they'd no longer be just for debian. [cc: Eric since he's interested in this too] Cheers -- Mark From sandeen@sandeen.net Mon May 18 13:05:13 2009 X-Spam-Checker-Version: SpamAssassin 3.3.0-rupdated (updated) on oss.sgi.com X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.3.0-rupdated Received: from cuda.sgi.com (cuda2.sgi.com [192.48.176.25]) by oss.sgi.com (8.14.3/8.14.3/SuSE Linux 0.8) with ESMTP id n4II5CEh257948 for ; Mon, 18 May 2009 13:05:12 -0500 X-ASG-Debug-ID: 1242669920-781b008d0000-S8gJnT X-Barracuda-URL: http://cuda.sgi.com:80/cgi-bin/mark.cgi Received: from mx2.redhat.com (localhost [127.0.0.1]) by cuda.sgi.com (Spam Firewall) with ESMTP id 9D76E2930C7 for ; Mon, 18 May 2009 11:05:20 -0700 (PDT) Received: from mx2.redhat.com (mx2.redhat.com [66.187.237.31]) by cuda.sgi.com with ESMTP id 2jTjMfzfyQiwGrZR for ; Mon, 18 May 2009 11:05:20 -0700 (PDT) Received: from int-mx2.corp.redhat.com (int-mx2.corp.redhat.com [172.16.27.26]) by mx2.redhat.com (8.13.8/8.13.8) with ESMTP id n4II5FMP004539; Mon, 18 May 2009 14:05:15 -0400 Received: from ns3.rdu.redhat.com (ns3.rdu.redhat.com [10.11.255.199]) by int-mx2.corp.redhat.com (8.13.1/8.13.1) with ESMTP id n4II5EAq005307; Mon, 18 May 2009 14:05:14 -0400 Received: from neon.msp.redhat.com (neon.msp.redhat.com [10.15.80.10]) by ns3.rdu.redhat.com (8.13.8/8.13.8) with ESMTP id n4II5BZl001062; Mon, 18 May 2009 14:05:12 -0400 Message-ID: <4A11A357.3030200@sandeen.net> Date: Mon, 18 May 2009 13:05:11 -0500 From: Eric Sandeen User-Agent: Thunderbird 2.0.0.21 (X11/20090320) MIME-Version: 1.0 To: Mark Goodwin CC: Nathan Scott , Michael Werner , pcp@oss.sgi.com X-ASG-Orig-Subj: Re: pcp packaging split (was Re: [pcp] python-pcp git tree available) Subject: Re: pcp packaging split (was Re: [pcp] python-pcp git tree available) References: <1707763805.5008841242425273268.JavaMail.root@mail-au.aconex.com> <4A10FEB9.3010400@gmail.com> In-Reply-To: <4A10FEB9.3010400@gmail.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 2.58 on 172.16.27.26 X-Barracuda-Connect: mx2.redhat.com[66.187.237.31] X-Barracuda-Start-Time: 1242669921 X-Barracuda-Bayes: INNOCENT GLOBAL 0.0000 1.0000 -2.0210 X-Barracuda-Virus-Scanned: by cuda.sgi.com at sgi.com X-Barracuda-Spam-Score: -2.02 X-Barracuda-Spam-Status: No, SCORE=-2.02 using per-user scores of TAG_LEVEL=2.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=2.1 tests= X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.1.26134 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- X-Virus-Scanned: ClamAV version 0.94.2, clamav-milter version 0.94.2 on oss.sgi.com X-Virus-Status: Clean Mark Goodwin wrote: > Nathan Scott wrote: >>> So regarding PCP in distros ... >>> Debian is up-to-date >>> Suse needs a refresh >>> Fedora and Rhel need to eat their veggies. >> Now that Marks at Redhat, hopefully we'll see that situation >> rectified sooner rather than later. > > yes an aim of mine will be to get PCP into Fedora and eventually > into RHEL. It will certainly help at sites with perf issues, > rather than relying on "good'ol sar", said as nicely as I can :-} > >> The main issue there is >> the need to split the current pcp rpm into separate library >> runtime, devel, and main pcp package. >> > > I had a brief look at this last week. Nathan has already done > the packaging split for Debian, see debian/*.{install,dirs} > so it'd be a matter of hacking the RPM spec to create sub-packages > in a similar fashion : > > # ls -1 debian/*.{install,dirs} > debian/libpcp3-dev.dirs > debian/libpcp3-dev.install > debian/libpcp3.install > debian/libpcp-gui1-dev.dirs > debian/libpcp-gui1-dev.install > debian/libpcp-gui1.install > debian/libpcp-mmv1-dev.dirs > debian/libpcp-mmv1-dev.install > debian/libpcp-mmv1.install > debian/libpcp-pmda3-dev.dirs > debian/libpcp-pmda3-dev.install > debian/libpcp-pmda3.install > debian/libpcp-trace2-dev.dirs > debian/libpcp-trace2-dev.install > debian/libpcp-trace2.install > (and then a catch-all for the base package) so this is what... 10 packages, 5 of them -devel? > But isn't that many packages a bit of an over-kill? I'm not sure of > the actual packaging policies for Fedora, but surely it would be > enough to have pcp, pcp-libs and pcp-devel (and similar for pcp-gui) > rather than a separate package and devel package for every library ... > or is *that* the policy? I don't think Fedora would dictate that. Nathan, what is the reason for such fine-grained splitout in debian? On fedora we might do it if one bit of the libraries had onerous dependencies, or something... > We'd also want to move those files into the build directory since > they'd no longer be just for debian. aren't those unique to the debian packaging procedures? -Eric > [cc: Eric since he's interested in this too] > > Cheers > -- Mark > From nscott@aconex.com Mon May 18 18:20:20 2009 X-Spam-Checker-Version: SpamAssassin 3.3.0-rupdated (updated) on oss.sgi.com X-Spam-Level: X-Spam-Status: No, score=-2.2 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.3.0-rupdated Received: from cuda.sgi.com (cuda2.sgi.com [192.48.176.25]) by oss.sgi.com (8.14.3/8.14.3/SuSE Linux 0.8) with ESMTP id n4INKJFC016219 for ; Mon, 18 May 2009 18:20:20 -0500 X-ASG-Debug-ID: 1242688827-6bb601170000-S8gJnT X-Barracuda-URL: http://cuda.sgi.com:80/cgi-bin/mark.cgi Received: from postoffice2.aconex.com (localhost [127.0.0.1]) by cuda.sgi.com (Spam Firewall) with ESMTP id 2F04D294AB5 for ; Mon, 18 May 2009 16:20:27 -0700 (PDT) Received: from postoffice2.aconex.com (mail.aconex.com [203.89.202.182]) by cuda.sgi.com with ESMTP id 7A1fLZsJCDnWQz57 for ; Mon, 18 May 2009 16:20:27 -0700 (PDT) Received: from postoffice.aconex.com (localhost [127.0.0.1]) by postoffice2.aconex.com (Spam Firewall) with ESMTP id EDFDD6AD2B7; Tue, 19 May 2009 09:20:24 +1000 (EST) Received: from postoffice.aconex.com (postoffice.yarra.acx [192.168.102.1]) by postoffice2.aconex.com with ESMTP id JUcqkhLPt6XGzvCp; Tue, 19 May 2009 09:20:24 +1000 (EST) Received: from gatekeeper.aconex.com (gatekeeper.yarra.acx [192.168.102.10]) by postoffice.aconex.com (Postfix) with ESMTP id 78376A502AC; Tue, 19 May 2009 09:20:19 +1000 (EST) Received: from localhost (localhost.localdomain [127.0.0.1]) by gatekeeper.aconex.com (Postfix) with ESMTP id 6F0094FD86; Tue, 19 May 2009 09:26:03 +1000 (EST) X-Virus-Scanned: ClamAV version 0.94.2, clamav-milter version 0.94.2 on oss.sgi.com X-Virus-Scanned: amavisd-new at gatekeeper.yarra.acx Received: from gatekeeper.aconex.com ([127.0.0.1]) by localhost (gatekeeper.aconex.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 0vRYeE6jPRi5; Tue, 19 May 2009 09:25:58 +1000 (EST) Received: from mail-au.aconex.com (mail-au.aconex.com [192.168.102.12]) by gatekeeper.aconex.com (Postfix) with ESMTP id A94EC4FD84; Tue, 19 May 2009 09:25:58 +1000 (EST) Date: Tue, 19 May 2009 09:20:20 +1000 (EST) From: Nathan Scott To: Eric Sandeen Cc: Michael Werner , pcp@oss.sgi.com, Mark Goodwin Message-ID: <1602757131.5101411242688820054.JavaMail.root@mail-au.aconex.com> In-Reply-To: <450698801.5100921242688703568.JavaMail.root@mail-au.aconex.com> X-ASG-Orig-Subj: Re: pcp packaging split (was Re: [pcp] python-pcp git tree available) Subject: Re: pcp packaging split (was Re: [pcp] python-pcp git tree available) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Originating-IP: [203.89.192.141] X-Mailer: Zimbra 5.0.13_GA_2791.RHEL5_64 (ZimbraWebClient - [unknown] (Linux)/5.0.13_GA_2791.RHEL5_64) X-Barracuda-Connect: mail.aconex.com[203.89.202.182] X-Barracuda-Start-Time: 1242688829 X-Barracuda-Bayes: INNOCENT GLOBAL 0.0000 1.0000 -2.0210 X-Barracuda-Virus-Scanned: by cuda.sgi.com at sgi.com X-Barracuda-Spam-Score: -2.02 X-Barracuda-Spam-Status: No, SCORE=-2.02 using per-user scores of TAG_LEVEL=2.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=2.1 tests= X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.1.26154 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- X-Virus-Status: Clean ----- "Eric Sandeen" wrote: > Mark Goodwin wrote: > > Nathan Scott wrote: > >> The main issue there is > >> the need to split the current pcp rpm into separate library > >> runtime, devel, and main pcp package. > >> > > > > I had a brief look at this last week. Nathan has already done > > the packaging split for Debian, see debian/*.{install,dirs} > > so it'd be a matter of hacking the RPM spec to create sub-packages > > in a similar fashion : > > > > so this is what... 10 packages, 5 of them -devel? > > > But isn't that many packages a bit of an over-kill? I'm not sure of > > the actual packaging policies for Fedora, but surely it would be > > enough to have pcp, pcp-libs and pcp-devel (and similar for > pcp-gui) > > rather than a separate package and devel package for every library > ... > > or is *that* the policy? > > I don't think Fedora would dictate that. Nathan, what is the reason Its required by Debian Policy. http://www.debian.org/doc/debian-policy/ch-sharedlibs.html > > > We'd also want to move those files into the build directory since > > they'd no longer be just for debian. > > aren't those unique to the debian packaging procedures? > I think Mark was saying those files that contains lists of files could be used elsewhere in the build to ensure all packages have consistent contents. cheers. -- Nathan From nscott@aconex.com Mon May 18 19:13:52 2009 X-Spam-Checker-Version: SpamAssassin 3.3.0-rupdated (updated) on oss.sgi.com X-Spam-Level: X-Spam-Status: No, score=-2.2 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.3.0-rupdated Received: from cuda.sgi.com (cuda3.sgi.com [192.48.176.15]) by oss.sgi.com (8.14.3/8.14.3/SuSE Linux 0.8) with ESMTP id n4J0DqdO018542 for ; Mon, 18 May 2009 19:13:52 -0500 X-ASG-Debug-ID: 1242692040-710b00f30000-S8gJnT X-Barracuda-URL: http://cuda.sgi.com:80/cgi-bin/mark.cgi Received: from postoffice2.aconex.com (localhost [127.0.0.1]) by cuda.sgi.com (Spam Firewall) with ESMTP id CDDC419E2AF0 for ; Mon, 18 May 2009 17:14:00 -0700 (PDT) Received: from postoffice2.aconex.com (mail.aconex.com [203.89.202.182]) by cuda.sgi.com with ESMTP id kdRrcXMvT5xhfhuq for ; Mon, 18 May 2009 17:14:00 -0700 (PDT) Received: from postoffice.aconex.com (localhost [127.0.0.1]) by postoffice2.aconex.com (Spam Firewall) with ESMTP id 213496AD7AA; Tue, 19 May 2009 10:13:59 +1000 (EST) Received: from postoffice.aconex.com (postoffice.yarra.acx [192.168.102.1]) by postoffice2.aconex.com with ESMTP id 7sBQbaVY8HQiM2BC; Tue, 19 May 2009 10:13:59 +1000 (EST) Received: from gatekeeper.aconex.com (gatekeeper.yarra.acx [192.168.102.10]) by postoffice.aconex.com (Postfix) with ESMTP id 87533A5028C; Tue, 19 May 2009 10:13:53 +1000 (EST) Received: from localhost (localhost.localdomain [127.0.0.1]) by gatekeeper.aconex.com (Postfix) with ESMTP id DE2F84FD86; Tue, 19 May 2009 10:19:37 +1000 (EST) X-Virus-Scanned: ClamAV version 0.94.2, clamav-milter version 0.94.2 on oss.sgi.com X-Virus-Scanned: amavisd-new at gatekeeper.yarra.acx Received: from gatekeeper.aconex.com ([127.0.0.1]) by localhost (gatekeeper.aconex.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id RmOGt5A84Vsz; Tue, 19 May 2009 10:19:33 +1000 (EST) Received: from mail-au.aconex.com (mail-au.aconex.com [192.168.102.12]) by gatekeeper.aconex.com (Postfix) with ESMTP id DE2284FD84; Tue, 19 May 2009 10:19:33 +1000 (EST) Date: Tue, 19 May 2009 10:13:54 +1000 (EST) From: Nathan Scott To: kenj@internode.on.net Cc: pcp@oss.sgi.com Message-ID: <533328806.5110371242692034974.JavaMail.root@mail-au.aconex.com> In-Reply-To: <1242557957.15756.8.camel@bozo-laptop.localdomain> X-ASG-Orig-Subj: Re: [pcp] pcp updates Subject: Re: [pcp] pcp updates MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Originating-IP: [203.89.192.141] X-Mailer: Zimbra 5.0.13_GA_2791.RHEL5_64 (ZimbraWebClient - [unknown] (Linux)/5.0.13_GA_2791.RHEL5_64) X-Barracuda-Connect: mail.aconex.com[203.89.202.182] X-Barracuda-Start-Time: 1242692041 X-Barracuda-Bayes: INNOCENT GLOBAL 0.0615 1.0000 -1.6279 X-Barracuda-Virus-Scanned: by cuda.sgi.com at sgi.com X-Barracuda-Spam-Score: -1.63 X-Barracuda-Spam-Status: No, SCORE=-1.63 using per-user scores of TAG_LEVEL=2.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=2.1 tests= X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.1.26156 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- X-Virus-Status: Clean ----- "Ken McDonell" wrote: > These changes make all the gcc warnings go away. > > There are some bug fixes buried in here as well ... 8^)> > > With these changes and the pcpqa changes I just posted, QA now passes > all local tests. > > Changes committed to git://oss.sgi.com/kenj/pcp.git dev > This set doesn't seem to have been pushed into that tree? cheers. -- Nathan From goodwinos@gmail.com Mon May 18 19:38:51 2009 X-Spam-Checker-Version: SpamAssassin 3.3.0-rupdated (updated) on oss.sgi.com X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00 autolearn=ham version=3.3.0-rupdated Received: from cuda.sgi.com (cuda1.sgi.com [192.48.157.11]) by oss.sgi.com (8.14.3/8.14.3/SuSE Linux 0.8) with ESMTP id n4J0cpvt019550 for ; Mon, 18 May 2009 19:38:51 -0500 X-ASG-Debug-ID: 1242693847-4f35009e0000-S8gJnT X-Barracuda-URL: http://cuda.sgi.com:80/cgi-bin/mark.cgi Received: from mx2.redhat.com (localhost [127.0.0.1]) by cuda.sgi.com (Spam Firewall) with ESMTP id BD2E1FCB400 for ; Mon, 18 May 2009 17:44:07 -0700 (PDT) Received: from mx2.redhat.com (mx2.redhat.com [66.187.237.31]) by cuda.sgi.com with ESMTP id HXOJ7Nxy9hH8Qz2Z for ; Mon, 18 May 2009 17:44:07 -0700 (PDT) Received: from int-mx2.corp.redhat.com (int-mx2.corp.redhat.com [172.16.27.26]) by mx2.redhat.com (8.13.8/8.13.8) with ESMTP id n4J0crjD003758; Mon, 18 May 2009 20:38:53 -0400 Received: from ns3.rdu.redhat.com (ns3.rdu.redhat.com [10.11.255.199]) by int-mx2.corp.redhat.com (8.13.1/8.13.1) with ESMTP id n4J0cqvw002839; Mon, 18 May 2009 20:38:53 -0400 Received: from [10.64.6.33] (vpn6-6-33.bne.redhat.com [10.64.6.33]) by ns3.rdu.redhat.com (8.13.8/8.13.8) with ESMTP id n4J0cmlk001727; Mon, 18 May 2009 20:38:50 -0400 Message-ID: <4A11FF97.7010007@gmail.com> Date: Tue, 19 May 2009 10:38:47 +1000 From: Mark Goodwin User-Agent: Thunderbird 2.0.0.21 (X11/20090320) MIME-Version: 1.0 To: Nathan Scott CC: Eric Sandeen , Michael Werner , pcp@oss.sgi.com X-ASG-Orig-Subj: Re: pcp packaging split (was Re: [pcp] python-pcp git tree available) Subject: Re: pcp packaging split (was Re: [pcp] python-pcp git tree available) References: <1602757131.5101411242688820054.JavaMail.root@mail-au.aconex.com> In-Reply-To: <1602757131.5101411242688820054.JavaMail.root@mail-au.aconex.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 2.58 on 172.16.27.26 X-Barracuda-Connect: mx2.redhat.com[66.187.237.31] X-Barracuda-Start-Time: 1242693848 X-Barracuda-Bayes: INNOCENT GLOBAL 0.0000 1.0000 -2.0210 X-Barracuda-Virus-Scanned: by cuda.sgi.com at sgi.com X-Barracuda-Spam-Score: -2.02 X-Barracuda-Spam-Status: No, SCORE=-2.02 using per-user scores of TAG_LEVEL=2.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=2.1 tests= X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.1.26158 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- X-Virus-Scanned: ClamAV version 0.94.2, clamav-milter version 0.94.2 on oss.sgi.com X-Virus-Status: Clean Nathan Scott wrote: > ----- "Eric Sandeen" wrote: >> ... >>> or is *that* the policy? >> I don't think Fedora would dictate that. Nathan, what is the reason > > Its required by Debian Policy. > http://www.debian.org/doc/debian-policy/ch-sharedlibs.html hmm. I went searching for the equivalent Fedora policy documentation and found the following, which basically just says to split it out into base, -devel and -debuginfo packages : http://fedoraproject.org/wiki/Packaging/Guidelines#Debuginfo_packages Also found the procedure for getting a proposal reviewed as the first step in getting a project included in Fedora : http://fedoraproject.org/wiki/Package_Review_Process >>> We'd also want to move those files into the build directory since >>> they'd no longer be just for debian. >> aren't those unique to the debian packaging procedures? >> > I think Mark was saying those files that contains lists of files > could be used elsewhere in the build to ensure all packages have > consistent contents. yes that's correct. Looks like Fedora would only require that we split pcp into pcp and pcp-devel (with pcp-debuginfo as a by-product). If we do this, we can still utilize the Debian package lists, but just combine some of them to arrive at a suitable pcp and pcp-devel split. So, should we split the pcp RPM packaging into pcp and pcp-devel? Ditto for pcp-gui? Cheers -- Mark From nscott@aconex.com Mon May 18 19:42:12 2009 X-Spam-Checker-Version: SpamAssassin 3.3.0-rupdated (updated) on oss.sgi.com X-Spam-Level: X-Spam-Status: No, score=-2.2 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.3.0-rupdated Received: from cuda.sgi.com (cuda1.sgi.com [192.48.157.11]) by oss.sgi.com (8.14.3/8.14.3/SuSE Linux 0.8) with ESMTP id n4J0gBIe019715 for ; Mon, 18 May 2009 19:42:12 -0500 X-ASG-Debug-ID: 1242694049-4f3700c00000-S8gJnT X-Barracuda-URL: http://cuda.sgi.com:80/cgi-bin/mark.cgi Received: from postoffice2.aconex.com (localhost [127.0.0.1]) by cuda.sgi.com (Spam Firewall) with ESMTP id C77ABFCB420 for ; Mon, 18 May 2009 17:47:29 -0700 (PDT) Received: from postoffice2.aconex.com (mail.aconex.com [203.89.202.182]) by cuda.sgi.com with ESMTP id p3X8m11e2YV0dW3L for ; Mon, 18 May 2009 17:47:29 -0700 (PDT) Received: from postoffice.aconex.com (localhost [127.0.0.1]) by postoffice2.aconex.com (Spam Firewall) with ESMTP id 084E16AD75C; Tue, 19 May 2009 10:42:18 +1000 (EST) Received: from postoffice.aconex.com (postoffice.yarra.acx [192.168.102.1]) by postoffice2.aconex.com with ESMTP id FsXg6Lkjo5SoEieS; Tue, 19 May 2009 10:42:18 +1000 (EST) Received: from gatekeeper.aconex.com (gatekeeper.yarra.acx [192.168.102.10]) by postoffice.aconex.com (Postfix) with ESMTP id 70730A502AC; Tue, 19 May 2009 10:42:13 +1000 (EST) Received: from localhost (localhost.localdomain [127.0.0.1]) by gatekeeper.aconex.com (Postfix) with ESMTP id E916A4FD8A; Tue, 19 May 2009 10:47:57 +1000 (EST) X-Virus-Scanned: ClamAV version 0.94.2, clamav-milter version 0.94.2 on oss.sgi.com X-Virus-Scanned: amavisd-new at gatekeeper.yarra.acx Received: from gatekeeper.aconex.com ([127.0.0.1]) by localhost (gatekeeper.aconex.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id i6i77B3zOakc; Tue, 19 May 2009 10:47:53 +1000 (EST) Received: from mail-au.aconex.com (mail-au.aconex.com [192.168.102.12]) by gatekeeper.aconex.com (Postfix) with ESMTP id 385D14FD84; Tue, 19 May 2009 10:47:53 +1000 (EST) Date: Tue, 19 May 2009 10:42:14 +1000 (EST) From: Nathan Scott To: Mark Goodwin Cc: Eric Sandeen , Michael Werner , pcp@oss.sgi.com Message-ID: <962604591.5112671242693734158.JavaMail.root@mail-au.aconex.com> In-Reply-To: <1018821442.5112651242693706141.JavaMail.root@mail-au.aconex.com> X-ASG-Orig-Subj: Re: pcp packaging split (was Re: [pcp] python-pcp git tree available) Subject: Re: pcp packaging split (was Re: [pcp] python-pcp git tree available) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Originating-IP: [203.89.192.141] X-Mailer: Zimbra 5.0.13_GA_2791.RHEL5_64 (ZimbraWebClient - [unknown] (Linux)/5.0.13_GA_2791.RHEL5_64) X-Barracuda-Connect: mail.aconex.com[203.89.202.182] X-Barracuda-Start-Time: 1242694050 X-Barracuda-Bayes: INNOCENT GLOBAL 0.0005 1.0000 -2.0179 X-Barracuda-Virus-Scanned: by cuda.sgi.com at sgi.com X-Barracuda-Spam-Score: -2.02 X-Barracuda-Spam-Status: No, SCORE=-2.02 using per-user scores of TAG_LEVEL=2.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=2.1 tests= X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.1.26158 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- X-Virus-Status: Clean ----- "Mark Goodwin" wrote: > yes that's correct. Looks like Fedora would only require that we > split pcp into pcp and pcp-devel (with pcp-debuginfo as a > by-product). > If we do this, we can still utilize the Debian package lists, but > just combine some of them to arrive at a suitable pcp and pcp-devel > split. > > So, should we split the pcp RPM packaging into pcp and pcp-devel? > Ditto for pcp-gui? I think thats fine, lots of packages becomes painful to manage, so just that simpler split out would be good IMO. cheers. -- Nathan From kenj@internode.on.net Mon May 18 19:51:51 2009 X-Spam-Checker-Version: SpamAssassin 3.3.0-rupdated (updated) on oss.sgi.com X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.3.0-rupdated Received: from cuda.sgi.com (cuda1.sgi.com [192.48.157.11]) by oss.sgi.com (8.14.3/8.14.3/SuSE Linux 0.8) with ESMTP id n4J0pohv020201 for ; Mon, 18 May 2009 19:51:51 -0500 X-ASG-Debug-ID: 1242694627-4f2001380000-S8gJnT X-Barracuda-URL: http://cuda.sgi.com:80/cgi-bin/mark.cgi Received: from mail.internode.on.net (localhost [127.0.0.1]) by cuda.sgi.com (Spam Firewall) with ESMTP id 973A3FCB461 for ; Mon, 18 May 2009 17:57:07 -0700 (PDT) Received: from mail.internode.on.net (bld-mail19.adl2.internode.on.net [150.101.137.104]) by cuda.sgi.com with ESMTP id unM0f8KsKhz4jBwl for ; Mon, 18 May 2009 17:57:07 -0700 (PDT) Received: from [192.168.1.100] (unverified [118.208.196.124]) by mail.internode.on.net (SurgeMail 3.8f2) with ESMTP id 25693-1927428 for multiple; Tue, 19 May 2009 10:21:55 +0930 (CST) X-ASG-Orig-Subj: Re: [pcp] pcp updates Subject: Re: [pcp] pcp updates From: Ken McDonell Reply-To: kenj@internode.on.net To: Nathan Scott Cc: pcp@oss.sgi.com In-Reply-To: <533328806.5110371242692034974.JavaMail.root@mail-au.aconex.com> References: <533328806.5110371242692034974.JavaMail.root@mail-au.aconex.com> Content-Type: text/plain Date: Tue, 19 May 2009 10:51:37 +1000 Message-Id: <1242694297.3908.0.camel@bozo> Mime-Version: 1.0 X-Mailer: Evolution 2.26.1 Content-Transfer-Encoding: 7bit X-Barracuda-Connect: bld-mail19.adl2.internode.on.net[150.101.137.104] X-Barracuda-Start-Time: 1242694629 X-Barracuda-Bayes: INNOCENT GLOBAL 0.0000 1.0000 -2.0210 X-Barracuda-Virus-Scanned: by cuda.sgi.com at sgi.com X-Barracuda-Spam-Score: -2.02 X-Barracuda-Spam-Status: No, SCORE=-2.02 using per-user scores of TAG_LEVEL=2.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=2.1 tests= X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.1.26158 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- X-Virus-Scanned: ClamAV version 0.94.2, clamav-milter version 0.94.2 on oss.sgi.com X-Virus-Status: Clean Not sure why this keeps happening ... but, they are there now. On Tue, 2009-05-19 at 10:13 +1000, Nathan Scott wrote: > ----- "Ken McDonell" wrote: > > > These changes make all the gcc warnings go away. > > > > There are some bug fixes buried in here as well ... 8^)> > > > > With these changes and the pcpqa changes I just posted, QA now passes > > all local tests. > > > > Changes committed to git://oss.sgi.com/kenj/pcp.git dev > > > > This set doesn't seem to have been pushed into that tree? > > cheers. > From nscott@aconex.com Mon May 18 20:25:22 2009 X-Spam-Checker-Version: SpamAssassin 3.3.0-rupdated (updated) on oss.sgi.com X-Spam-Level: X-Spam-Status: No, score=-2.2 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.3.0-rupdated Received: from cuda.sgi.com (cuda2.sgi.com [192.48.176.25]) by oss.sgi.com (8.14.3/8.14.3/SuSE Linux 0.8) with ESMTP id n4J1PLQG021596 for ; Mon, 18 May 2009 20:25:21 -0500 X-ASG-Debug-ID: 1242696329-75f200d90000-S8gJnT X-Barracuda-URL: http://cuda.sgi.com:80/cgi-bin/mark.cgi Received: from postoffice2.aconex.com (localhost [127.0.0.1]) by cuda.sgi.com (Spam Firewall) with ESMTP id 405BA2951C3 for ; Mon, 18 May 2009 18:25:29 -0700 (PDT) Received: from postoffice2.aconex.com (mail.aconex.com [203.89.202.182]) by cuda.sgi.com with ESMTP id A7XEFHPcG3l2pm1E for ; Mon, 18 May 2009 18:25:29 -0700 (PDT) Received: from postoffice.aconex.com (localhost [127.0.0.1]) by postoffice2.aconex.com (Spam Firewall) with ESMTP id 67B2A57E068 for ; Tue, 19 May 2009 11:25:28 +1000 (EST) Received: from postoffice.aconex.com (postoffice.yarra.acx [192.168.102.1]) by postoffice2.aconex.com with ESMTP id oeryGa9AA9uLy9SO for ; Tue, 19 May 2009 11:25:28 +1000 (EST) Received: from gatekeeper.aconex.com (gatekeeper.yarra.acx [192.168.102.10]) by postoffice.aconex.com (Postfix) with ESMTP id D2EEEA5028C for ; Tue, 19 May 2009 11:25:22 +1000 (EST) Received: from localhost (localhost.localdomain [127.0.0.1]) by gatekeeper.aconex.com (Postfix) with ESMTP id 9DAA34FD89 for ; Tue, 19 May 2009 11:31:07 +1000 (EST) X-Virus-Scanned: ClamAV version 0.94.2, clamav-milter version 0.94.2 on oss.sgi.com X-Virus-Scanned: amavisd-new at gatekeeper.yarra.acx Received: from gatekeeper.aconex.com ([127.0.0.1]) by localhost (gatekeeper.aconex.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id N8xv3Ma9bH5V for ; Tue, 19 May 2009 11:31:03 +1000 (EST) Received: from mail-au.aconex.com (mail-au.aconex.com [192.168.102.12]) by gatekeeper.aconex.com (Postfix) with ESMTP id 9EB004FD84 for ; Tue, 19 May 2009 11:31:03 +1000 (EST) Date: Tue, 19 May 2009 11:25:24 +1000 (EST) From: Nathan Scott To: pcp@oss.sgi.com Message-ID: <1994163092.5115171242696324188.JavaMail.root@mail-au.aconex.com> X-ASG-Orig-Subj: pcp-gui updates Subject: pcp-gui updates MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Originating-IP: [203.89.192.141] X-Mailer: Zimbra 5.0.13_GA_2791.RHEL5_64 (ZimbraWebClient - [unknown] (Linux)/5.0.13_GA_2791.RHEL5_64) X-Barracuda-Connect: mail.aconex.com[203.89.202.182] X-Barracuda-Start-Time: 1242696331 X-Barracuda-Bayes: INNOCENT GLOBAL 0.0000 1.0000 -2.0210 X-Barracuda-Virus-Scanned: by cuda.sgi.com at sgi.com X-Barracuda-Spam-Score: -2.02 X-Barracuda-Spam-Status: No, SCORE=-2.02 using per-user scores of TAG_LEVEL=2.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=2.1 tests= X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.1.26158 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- X-Virus-Status: Clean Changes committed to git://oss.sgi.com/nathans/pcp-gui.git src/chart/gadget.h | 2 +- src/view/main.cpp | 1 + src/view/modlist.cpp | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) commit d22a8ed63aa3155a310f06efd2a982feba5ceed4 Author: Nathan Scott Date: Tue May 19 11:19:02 2009 +1000 Fix logic error in handling initialisation of global NormErr This fixes the always-saturated problem in pmview scene rendering when metrics have non-zero values. commit 144927ef52ca1f962b4029c2ea565641bf18d30e Author: Nathan Scott Date: Tue May 19 09:46:58 2009 +1000 Fix missing pmview initialisation of initial delta setting. commit c449cdea0608eb235be7cc83bcf30ebce3f8f61e Author: Nathan Scott Date: Tue May 19 09:28:43 2009 +1000 Add a missed method name change from last commit. From nscott@aconex.com Mon May 18 20:46:23 2009 X-Spam-Checker-Version: SpamAssassin 3.3.0-rupdated (updated) on oss.sgi.com X-Spam-Level: X-Spam-Status: No, score=-2.2 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.3.0-rupdated Received: from cuda.sgi.com (cuda2.sgi.com [192.48.176.25]) by oss.sgi.com (8.14.3/8.14.3/SuSE Linux 0.8) with ESMTP id n4J1kNAw022573 for ; Mon, 18 May 2009 20:46:23 -0500 X-ASG-Debug-ID: 1242697591-6e98021c0000-S8gJnT X-Barracuda-URL: http://cuda.sgi.com:80/cgi-bin/mark.cgi Received: from postoffice2.aconex.com (localhost [127.0.0.1]) by cuda.sgi.com (Spam Firewall) with ESMTP id 364AE29525E for ; Mon, 18 May 2009 18:46:32 -0700 (PDT) Received: from postoffice2.aconex.com (mail.aconex.com [203.89.202.182]) by cuda.sgi.com with ESMTP id 6IcXafug9CcJdvZr for ; Mon, 18 May 2009 18:46:32 -0700 (PDT) Received: from postoffice.aconex.com (localhost [127.0.0.1]) by postoffice2.aconex.com (Spam Firewall) with ESMTP id 34D2B6ADCE0 for ; Tue, 19 May 2009 11:46:30 +1000 (EST) Received: from postoffice.aconex.com (postoffice.yarra.acx [192.168.102.1]) by postoffice2.aconex.com with ESMTP id v1GfIVnPsFVUgQi7 for ; Tue, 19 May 2009 11:46:30 +1000 (EST) Received: from gatekeeper.aconex.com (gatekeeper.yarra.acx [192.168.102.10]) by postoffice.aconex.com (Postfix) with ESMTP id 94C35A5028C for ; Tue, 19 May 2009 11:46:24 +1000 (EST) Received: from localhost (localhost.localdomain [127.0.0.1]) by gatekeeper.aconex.com (Postfix) with ESMTP id 7B0D74FD8F for ; Tue, 19 May 2009 11:52:09 +1000 (EST) X-Virus-Scanned: ClamAV version 0.94.2, clamav-milter version 0.94.2 on oss.sgi.com X-Virus-Scanned: amavisd-new at gatekeeper.yarra.acx Received: from gatekeeper.aconex.com ([127.0.0.1]) by localhost (gatekeeper.aconex.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id QdLjmIr2sylS for ; Tue, 19 May 2009 11:52:05 +1000 (EST) Received: from mail-au.aconex.com (mail-au.aconex.com [192.168.102.12]) by gatekeeper.aconex.com (Postfix) with ESMTP id 7C1594FD86 for ; Tue, 19 May 2009 11:52:05 +1000 (EST) Date: Tue, 19 May 2009 11:46:26 +1000 (EST) From: Nathan Scott To: pcp@oss.sgi.com Message-ID: <1933471426.5116811242697586046.JavaMail.root@mail-au.aconex.com> X-ASG-Orig-Subj: pcp updates Subject: pcp updates MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Originating-IP: [203.89.192.141] X-Mailer: Zimbra 5.0.13_GA_2791.RHEL5_64 (ZimbraWebClient - [unknown] (Linux)/5.0.13_GA_2791.RHEL5_64) X-Barracuda-Connect: mail.aconex.com[203.89.202.182] X-Barracuda-Start-Time: 1242697593 X-Barracuda-Bayes: INNOCENT GLOBAL 0.0000 1.0000 -2.0210 X-Barracuda-Virus-Scanned: by cuda.sgi.com at sgi.com X-Barracuda-Spam-Score: -1.52 X-Barracuda-Spam-Status: No, SCORE=-1.52 using per-user scores of TAG_LEVEL=2.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=2.1 tests=BSF_RULE7568M X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.1.26158 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- 0.50 BSF_RULE7568M Custom Rule 7568M X-Virus-Status: Clean [ also merged in Kens changes here ] Changes committed to git://oss.sgi.com/nathans/pcp.git src/pmdate/pmdate.c | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) commit 5edc54be956f1bb0d7d1a94f9e45653f04f1e9d2 Author: Nathan Scott Date: Tue May 19 11:38:55 2009 +1000 Fix warnings from pmdate, it now links with libpcp (for Win32). From mtw@protomagic.com Mon May 18 20:51:26 2009 X-Spam-Checker-Version: SpamAssassin 3.3.0-rupdated (updated) on oss.sgi.com X-Spam-Level: X-Spam-Status: No, score=-2.3 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.3.0-rupdated Received: from cuda.sgi.com (cuda2.sgi.com [192.48.176.25]) by oss.sgi.com (8.14.3/8.14.3/SuSE Linux 0.8) with ESMTP id n4J1pQvM022794 for ; Mon, 18 May 2009 20:51:26 -0500 X-ASG-Debug-ID: 1242697894-75f201b50000-S8gJnT X-Barracuda-URL: http://cuda.sgi.com:80/cgi-bin/mark.cgi Received: from mail.serverlogistics.com (localhost [127.0.0.1]) by cuda.sgi.com (Spam Firewall) with ESMTP id BE97329527E for ; Mon, 18 May 2009 18:51:34 -0700 (PDT) Received: from mail.serverlogistics.com (osiris.serverlogistics.com [67.43.163.77]) by cuda.sgi.com with ESMTP id jABBryHU7nYVcKTM for ; Mon, 18 May 2009 18:51:34 -0700 (PDT) Received: from [166.129.74.223] (unverified [166.129.74.223]) by mail.serverlogistics.com (SurgeMail 4.0c) with ESMTP id 39276814-1873669 for multiple; Mon, 18 May 2009 18:51:33 -0700 PDT Mime-Version: 1.0 (Apple Message framework v752.2) Content-Type: text/plain; charset=US-ASCII; format=flowed Message-Id: Content-Transfer-Encoding: 7bit From: Michael Werner X-ASG-Orig-Subj: firewall pmda Subject: firewall pmda Date: Mon, 18 May 2009 21:46:29 -0400 To: pcp@oss.sgi.com X-Mailer: Apple Mail (2.752.2) X-Authenticated-User: mtw@protomagic.com X-Barracuda-Connect: osiris.serverlogistics.com[67.43.163.77] X-Barracuda-Start-Time: 1242697894 X-Barracuda-Bayes: INNOCENT GLOBAL 0.0001 1.0000 -2.0204 X-Barracuda-Virus-Scanned: by cuda.sgi.com at sgi.com X-Barracuda-Spam-Score: -2.02 X-Barracuda-Spam-Status: No, SCORE=-2.02 using per-user scores of TAG_LEVEL=2.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=2.1 tests= X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.1.26158 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- X-Virus-Scanned: ClamAV version 0.94.2, clamav-milter version 0.94.2 on oss.sgi.com X-Virus-Status: Clean Is there a pmda that talks to the firewall, e.g. iptables/netfilter? Have there been any requests, or talk of developing one? - mtw From nscott@aconex.com Mon May 18 20:55:46 2009 X-Spam-Checker-Version: SpamAssassin 3.3.0-rupdated (updated) on oss.sgi.com X-Spam-Level: X-Spam-Status: No, score=-2.2 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.3.0-rupdated Received: from cuda.sgi.com (cuda2.sgi.com [192.48.176.25]) by oss.sgi.com (8.14.3/8.14.3/SuSE Linux 0.8) with ESMTP id n4J1tkLD022974 for ; Mon, 18 May 2009 20:55:46 -0500 X-ASG-Debug-ID: 1242698155-6e9a02640000-S8gJnT X-Barracuda-URL: http://cuda.sgi.com:80/cgi-bin/mark.cgi Received: from postoffice2.aconex.com (localhost [127.0.0.1]) by cuda.sgi.com (Spam Firewall) with ESMTP id 171AA2952A6 for ; Mon, 18 May 2009 18:55:55 -0700 (PDT) Received: from postoffice2.aconex.com (mail.aconex.com [203.89.202.182]) by cuda.sgi.com with ESMTP id 22rBdhQbQpMyg5aZ for ; Mon, 18 May 2009 18:55:55 -0700 (PDT) Received: from postoffice.aconex.com (localhost [127.0.0.1]) by postoffice2.aconex.com (Spam Firewall) with ESMTP id 3DBF86ADDDD; Tue, 19 May 2009 11:55:54 +1000 (EST) Received: from postoffice.aconex.com (postoffice.yarra.acx [192.168.102.1]) by postoffice2.aconex.com with ESMTP id sB91uSPlAR3N9Eok; Tue, 19 May 2009 11:55:54 +1000 (EST) Received: from gatekeeper.aconex.com (gatekeeper.yarra.acx [192.168.102.10]) by postoffice.aconex.com (Postfix) with ESMTP id 9B107A5028C; Tue, 19 May 2009 11:55:48 +1000 (EST) Received: from localhost (localhost.localdomain [127.0.0.1]) by gatekeeper.aconex.com (Postfix) with ESMTP id 8E44A4FD84; Tue, 19 May 2009 12:01:33 +1000 (EST) X-Virus-Scanned: ClamAV version 0.94.2, clamav-milter version 0.94.2 on oss.sgi.com X-Virus-Scanned: amavisd-new at gatekeeper.yarra.acx Received: from gatekeeper.aconex.com ([127.0.0.1]) by localhost (gatekeeper.aconex.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id YHExXM-YerAk; Tue, 19 May 2009 12:01:28 +1000 (EST) Received: from mail-au.aconex.com (mail-au.aconex.com [192.168.102.12]) by gatekeeper.aconex.com (Postfix) with ESMTP id D7B174FD89; Tue, 19 May 2009 12:01:28 +1000 (EST) Date: Tue, 19 May 2009 11:55:49 +1000 (EST) From: Nathan Scott To: Michael Werner Cc: pcp@oss.sgi.com Message-ID: <801912051.5117591242698149402.JavaMail.root@mail-au.aconex.com> In-Reply-To: X-ASG-Orig-Subj: Re: [pcp] firewall pmda Subject: Re: [pcp] firewall pmda MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Originating-IP: [203.89.192.141] X-Mailer: Zimbra 5.0.13_GA_2791.RHEL5_64 (ZimbraWebClient - [unknown] (Linux)/5.0.13_GA_2791.RHEL5_64) X-Barracuda-Connect: mail.aconex.com[203.89.202.182] X-Barracuda-Start-Time: 1242698156 X-Barracuda-Bayes: INNOCENT GLOBAL 0.0094 1.0000 -1.9599 X-Barracuda-Virus-Scanned: by cuda.sgi.com at sgi.com X-Barracuda-Spam-Score: -1.96 X-Barracuda-Spam-Status: No, SCORE=-1.96 using per-user scores of TAG_LEVEL=2.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=2.1 tests= X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.1.26158 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- X-Virus-Status: Clean ----- "Michael Werner" wrote: > Is there a pmda that talks to the firewall, e.g. iptables/netfilter? > Have there been any requests, or talk of developing one? There's a basic one that was written by a sysadmin here - its at src/pmdas/netfilter ... its nice and simple, just exports the few values Rodney was interested in, but would be trivial to extend to provide additional netfilter stats. cheers. -- Nathan From mtw@protomagic.com Mon May 18 21:04:55 2009 X-Spam-Checker-Version: SpamAssassin 3.3.0-rupdated (updated) on oss.sgi.com X-Spam-Level: X-Spam-Status: No, score=-2.4 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.3.0-rupdated Received: from cuda.sgi.com (cuda2.sgi.com [192.48.176.25]) by oss.sgi.com (8.14.3/8.14.3/SuSE Linux 0.8) with ESMTP id n4J24tpn023388 for ; Mon, 18 May 2009 21:04:55 -0500 X-ASG-Debug-ID: 1242698704-6e9802ed0000-S8gJnT X-Barracuda-URL: http://cuda.sgi.com:80/cgi-bin/mark.cgi Received: from mail.serverlogistics.com (localhost [127.0.0.1]) by cuda.sgi.com (Spam Firewall) with ESMTP id 1C7832952E5 for ; Mon, 18 May 2009 19:05:04 -0700 (PDT) Received: from mail.serverlogistics.com (osiris.serverlogistics.com [67.43.163.77]) by cuda.sgi.com with ESMTP id 9k6lGzO417CWEYNG for ; Mon, 18 May 2009 19:05:04 -0700 (PDT) Received: from [166.129.76.127] (unverified [166.129.76.127]) by mail.serverlogistics.com (SurgeMail 4.0c) with ESMTP id 39277348-1873669 for multiple; Mon, 18 May 2009 19:05:00 -0700 PDT In-Reply-To: <1886941665.5117341242697837956.JavaMail.root@mail-au.aconex.com> References: <1886941665.5117341242697837956.JavaMail.root@mail-au.aconex.com> Mime-Version: 1.0 (Apple Message framework v752.2) Content-Type: text/plain; charset=US-ASCII; format=flowed Message-Id: <43411A25-9C85-4F77-96A1-0FFF017F0F88@protomagic.com> Cc: pcp@oss.sgi.com Content-Transfer-Encoding: 7bit From: Michael Werner X-ASG-Orig-Subj: Re: pcp packaging split Subject: Re: pcp packaging split Date: Mon, 18 May 2009 22:06:31 -0400 To: Nathan Scott X-Mailer: Apple Mail (2.752.2) X-Authenticated-User: mtw@protomagic.com X-Barracuda-Connect: osiris.serverlogistics.com[67.43.163.77] X-Barracuda-Start-Time: 1242698705 X-Barracuda-Bayes: INNOCENT GLOBAL 0.0162 1.0000 -1.9157 X-Barracuda-Virus-Scanned: by cuda.sgi.com at sgi.com X-Barracuda-Spam-Score: -1.92 X-Barracuda-Spam-Status: No, SCORE=-1.92 using per-user scores of TAG_LEVEL=2.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=2.1 tests= X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.1.26158 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- X-Virus-Scanned: ClamAV version 0.94.2, clamav-milter version 0.94.2 on oss.sgi.com X-Virus-Status: Clean On May 18, 2009, at 9:50 PM, Nathan Scott wrote: > > ----- "Michael Werner" wrote: > >> From an IT admin perspective, it would be nice to have the >> packages also split along client server lines. This would >> reduce the installation of unneeded software - a matter >> such fellows often obsess over. >> >> Has there been any talk or consideration of this, before >> my recent arrival? >> > > They pretty much are split that way now - pcp vs pcp-gui. > The base PCP package does have some monitoring tools (all > console tools) - but often they are needed on the server > side too (pminfo/pmprobe are used in PMDA installs, for > example, pmie/pmlogger are run on servers too, etc). > > pmdumptext was moved into pcp-gui for this reason, it is > C++ code, uses libpcp_pmc and Qt now. So, we no longer > have any C++ code in the pcp package anymore and certainly > no GUI code. IMO, the split is as good as it can get now. > Did you have other tools in mind that are in base pcp but > should not be? > No. That all sounds fine. I overlooked the pcp-gui pkg. It's new since when I last paid much attention to this, when everything used to come in just one package. - mtw From mtw@protomagic.com Mon May 18 21:05:14 2009 X-Spam-Checker-Version: SpamAssassin 3.3.0-rupdated (updated) on oss.sgi.com X-Spam-Level: X-Spam-Status: No, score=-2.4 required=5.0 tests=AWL,BAYES_00 autolearn=unavailable version=3.3.0-rupdated Received: from cuda.sgi.com (cuda2.sgi.com [192.48.176.25]) by oss.sgi.com (8.14.3/8.14.3/SuSE Linux 0.8) with ESMTP id n4J25DKU023416 for ; Mon, 18 May 2009 21:05:14 -0500 X-ASG-Debug-ID: 1242698704-6e9802ed0000-S8gJnT X-Barracuda-URL: http://cuda.sgi.com:80/cgi-bin/mark.cgi Received: from mail.serverlogistics.com (localhost [127.0.0.1]) by cuda.sgi.com (Spam Firewall) with ESMTP id 1C7832952E5 for ; Mon, 18 May 2009 19:05:04 -0700 (PDT) Received: from mail.serverlogistics.com (osiris.serverlogistics.com [67.43.163.77]) by cuda.sgi.com with ESMTP id 9k6lGzO417CWEYNG for ; Mon, 18 May 2009 19:05:04 -0700 (PDT) Received: from [166.129.76.127] (unverified [166.129.76.127]) by mail.serverlogistics.com (SurgeMail 4.0c) with ESMTP id 39277348-1873669 for multiple; Mon, 18 May 2009 19:05:00 -0700 PDT In-Reply-To: <1886941665.5117341242697837956.JavaMail.root@mail-au.aconex.com> References: <1886941665.5117341242697837956.JavaMail.root@mail-au.aconex.com> Mime-Version: 1.0 (Apple Message framework v752.2) Content-Type: text/plain; charset=US-ASCII; format=flowed Message-Id: <43411A25-9C85-4F77-96A1-0FFF017F0F88@protomagic.com> Cc: pcp@oss.sgi.com Content-Transfer-Encoding: 7bit From: Michael Werner X-ASG-Orig-Subj: Re: pcp packaging split Subject: Re: pcp packaging split Date: Mon, 18 May 2009 22:06:31 -0400 To: Nathan Scott X-Mailer: Apple Mail (2.752.2) X-Authenticated-User: mtw@protomagic.com X-Barracuda-Connect: osiris.serverlogistics.com[67.43.163.77] X-Barracuda-Start-Time: 1242698705 X-Barracuda-Bayes: INNOCENT GLOBAL 0.0162 1.0000 -1.9157 X-Barracuda-Virus-Scanned: by cuda.sgi.com at sgi.com X-Barracuda-Spam-Score: -1.92 X-Barracuda-Spam-Status: No, SCORE=-1.92 using per-user scores of TAG_LEVEL=2.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=2.1 tests= X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.1.26158 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- X-Virus-Scanned: ClamAV version 0.94.2, clamav-milter version 0.94.2 on oss.sgi.com X-Virus-Status: Clean On May 18, 2009, at 9:50 PM, Nathan Scott wrote: > > ----- "Michael Werner" wrote: > >> From an IT admin perspective, it would be nice to have the >> packages also split along client server lines. This would >> reduce the installation of unneeded software - a matter >> such fellows often obsess over. >> >> Has there been any talk or consideration of this, before >> my recent arrival? >> > > They pretty much are split that way now - pcp vs pcp-gui. > The base PCP package does have some monitoring tools (all > console tools) - but often they are needed on the server > side too (pminfo/pmprobe are used in PMDA installs, for > example, pmie/pmlogger are run on servers too, etc). > > pmdumptext was moved into pcp-gui for this reason, it is > C++ code, uses libpcp_pmc and Qt now. So, we no longer > have any C++ code in the pcp package anymore and certainly > no GUI code. IMO, the split is as good as it can get now. > Did you have other tools in mind that are in base pcp but > should not be? > No. That all sounds fine. I overlooked the pcp-gui pkg. It's new since when I last paid much attention to this, when everything used to come in just one package. - mtw From goodwinos@gmail.com Tue May 19 06:03:51 2009 X-Spam-Checker-Version: SpamAssassin 3.3.0-rupdated (updated) on oss.sgi.com X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.3.0-rupdated Received: from cuda.sgi.com (cuda1.sgi.com [192.48.157.11]) by oss.sgi.com (8.14.3/8.14.3/SuSE Linux 0.8) with ESMTP id n4JB3odn040859 for ; Tue, 19 May 2009 06:03:51 -0500 X-ASG-Debug-ID: 1242731351-280b03ae0000-S8gJnT X-Barracuda-URL: http://cuda.sgi.com:80/cgi-bin/mark.cgi Received: from mx2.redhat.com (localhost [127.0.0.1]) by cuda.sgi.com (Spam Firewall) with ESMTP id 66235FCD5C3 for ; Tue, 19 May 2009 04:09:11 -0700 (PDT) Received: from mx2.redhat.com (mx2.redhat.com [66.187.237.31]) by cuda.sgi.com with ESMTP id yRp8Ceutbt03lNnQ for ; Tue, 19 May 2009 04:09:11 -0700 (PDT) Received: from int-mx2.corp.redhat.com (int-mx2.corp.redhat.com [172.16.27.26]) by mx2.redhat.com (8.13.8/8.13.8) with ESMTP id n4JB3tmH030114; Tue, 19 May 2009 07:03:55 -0400 Received: from ns3.rdu.redhat.com (ns3.rdu.redhat.com [10.11.255.199]) by int-mx2.corp.redhat.com (8.13.1/8.13.1) with ESMTP id n4JB3s2j024396; Tue, 19 May 2009 07:03:54 -0400 Received: from [10.64.6.33] (vpn6-6-33.bne.redhat.com [10.64.6.33]) by ns3.rdu.redhat.com (8.13.8/8.13.8) with ESMTP id n4JB3j8Y031137; Tue, 19 May 2009 07:03:48 -0400 Message-ID: <4A129210.70905@gmail.com> Date: Tue, 19 May 2009 21:03:44 +1000 From: Mark Goodwin User-Agent: Thunderbird 2.0.0.21 (X11/20090320) MIME-Version: 1.0 To: Nathan Scott CC: Eric Sandeen , Michael Werner , pcp@oss.sgi.com X-ASG-Orig-Subj: Re: pcp packaging split (was Re: [pcp] python-pcp git tree available) Subject: Re: pcp packaging split (was Re: [pcp] python-pcp git tree available) References: <962604591.5112671242693734158.JavaMail.root@mail-au.aconex.com> In-Reply-To: <962604591.5112671242693734158.JavaMail.root@mail-au.aconex.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 2.58 on 172.16.27.26 X-Barracuda-Connect: mx2.redhat.com[66.187.237.31] X-Barracuda-Start-Time: 1242731352 X-Barracuda-Bayes: INNOCENT GLOBAL 0.0000 1.0000 -2.0210 X-Barracuda-Virus-Scanned: by cuda.sgi.com at sgi.com X-Barracuda-Spam-Score: -2.02 X-Barracuda-Spam-Status: No, SCORE=-2.02 using per-user scores of TAG_LEVEL=2.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=2.1 tests= X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.1.26173 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- X-Virus-Scanned: ClamAV version 0.94.2, clamav-milter version 0.94.2 on oss.sgi.com X-Virus-Status: Clean Nathan Scott wrote: > ----- "Mark Goodwin" wrote: > >> yes that's correct. Looks like Fedora would only require that we >> split pcp into pcp and pcp-devel (with pcp-debuginfo as a >> by-product). >> If we do this, we can still utilize the Debian package lists, but >> just combine some of them to arrive at a suitable pcp and pcp-devel >> split. >> >> So, should we split the pcp RPM packaging into pcp and pcp-devel? >> Ditto for pcp-gui? > > I think thats fine, lots of packages becomes painful to manage, so > just that simpler split out would be good IMO. > > cheers. > Ok, I have a patch that implements the split and will post it soon (maybe tomorrow). There is some fall-out that probably also affects Debian, e.g. with the current debian/*-dev.install files and with pcp installed, but *without* pcp-devel installed : [/var/lib/pcp/pmdas/simple]# ./Install You will need to choose an appropriate configuration for installation of the "simple" Performance Metrics Domain Agent (PMDA). collector collect performance statistics on this system monitor allow this system to monitor local and/or remote systems both collector and monitor configuration for this system Please enter c(ollector) or m(onitor) or b(oth) [b] Updating the Performance Metrics Name Space (PMNS) ... Compiled PMNS contains 161 hash table entries 684 leaf nodes 112 non-leaf nodes 6665 bytes of symbol table Install simple as a daemon or perl or dso agent? [daemon] PMCD should communicate with the simple daemon via a pipe or a socket? [pipe] Terminate PMDA if already installed ... Installing files ... Makefile:23: /usr/include/pcp/builddefs: No such file or directory Makefile:39: /usr/include/pcp/buildrules: No such file or directory gmake: *** No rule to make target `/usr/include/pcp/buildrules'. Stop. Install: Arrgh, "/usr/bin/gmake install" failed! Shouldn't be hard to fix of course :) Cheers -- Mark From makc@iinet.net.au Tue May 19 08:33:48 2009 X-Spam-Checker-Version: SpamAssassin 3.3.0-rupdated (updated) on oss.sgi.com X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.3.0-rupdated Received: from cuda.sgi.com (cuda2.sgi.com [192.48.176.25]) by oss.sgi.com (8.14.3/8.14.3/SuSE Linux 0.8) with ESMTP id n4JDXlfD046325 for ; Tue, 19 May 2009 08:33:48 -0500 X-ASG-Debug-ID: 1242740035-7b2102010000-S8gJnT X-Barracuda-URL: http://cuda.sgi.com:80/cgi-bin/mark.cgi Received: from outbound.icp-qv1-irony-out2.iinet.net.au (localhost [127.0.0.1]) by cuda.sgi.com (Spam Firewall) with ESMTP id B11FA296CDE for ; Tue, 19 May 2009 06:33:56 -0700 (PDT) Received: from outbound.icp-qv1-irony-out2.iinet.net.au (outbound.icp-qv1-irony-out2.iinet.net.au [203.59.1.107]) by cuda.sgi.com with ESMTP id HzLS1MBADVGMFXMp for ; Tue, 19 May 2009 06:33:56 -0700 (PDT) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: ApoEAH5REkrL2Rwk/2dsb2JhbADPOoQCBQ X-IronPort-AV: E=Sophos;i="4.41,215,1241366400"; d="scan'208";a="494079784" Received: from unknown (HELO alma.crabbed.net) ([203.217.28.36]) by outbound.icp-qv1-irony-out2.iinet.net.au with ESMTP; 19 May 2009 21:33:54 +0800 Received: by alma.crabbed.net (Postfix, from userid 501) id E699C37D4D2; Tue, 19 May 2009 23:33:01 +1000 (EST) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <18962.46349.841073.192575@iinet.net.au> Date: Tue, 19 May 2009 23:33:01 +1000 From: Max Matveev To: Mark Goodwin Cc: pcp@oss.sgi.com X-ASG-Orig-Subj: Re: pcp packaging split Subject: Re: pcp packaging split In-Reply-To: <4A11FF97.7010007@gmail.com> References: <1602757131.5101411242688820054.JavaMail.root@mail-au.aconex.com> <4A11FF97.7010007@gmail.com> X-Mailer: VM 7.17 under 21.4 (patch 19) "Constant Variable" XEmacs Lucid X-Barracuda-Connect: outbound.icp-qv1-irony-out2.iinet.net.au[203.59.1.107] X-Barracuda-Start-Time: 1242740037 X-Barracuda-Bayes: INNOCENT GLOBAL 0.0066 1.0000 -1.9776 X-Barracuda-Virus-Scanned: by cuda.sgi.com at sgi.com X-Barracuda-Spam-Score: -1.98 X-Barracuda-Spam-Status: No, SCORE=-1.98 using per-user scores of TAG_LEVEL=2.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=2.1 tests= X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.1.26183 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- X-Virus-Scanned: ClamAV version 0.94.2, clamav-milter version 0.94.2 on oss.sgi.com X-Virus-Status: Clean >>>>> "MG" == Mark Goodwin writes: MG> yes that's correct. Looks like Fedora would only require that we MG> split pcp into pcp and pcp-devel (with pcp-debuginfo as a by-product). Having pcp-libs will help with those pecky pcp killers installed in the chroot jails: pcp-libs can be base for both pcp and pcp-devel, for development you don't need to install the the whole package. BTW, Nathan, should newhelp be in a devel package? max From nscott@aconex.com Tue May 19 18:35:57 2009 X-Spam-Checker-Version: SpamAssassin 3.3.0-rupdated (updated) on oss.sgi.com X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.3.0-rupdated Received: from cuda.sgi.com (cuda3.sgi.com [192.48.176.15]) by oss.sgi.com (8.14.3/8.14.3/SuSE Linux 0.8) with ESMTP id n4JNZu5k073462 for ; Tue, 19 May 2009 18:35:57 -0500 X-ASG-Debug-ID: 1242776164-04ad009c0000-S8gJnT X-Barracuda-URL: http://cuda.sgi.com:80/cgi-bin/mark.cgi Received: from postoffice2.aconex.com (localhost [127.0.0.1]) by cuda.sgi.com (Spam Firewall) with ESMTP id E28B219E998D for ; Tue, 19 May 2009 16:36:05 -0700 (PDT) Received: from postoffice2.aconex.com (mail.aconex.com [203.89.202.182]) by cuda.sgi.com with ESMTP id VumON7qw5qkoHJzZ for ; Tue, 19 May 2009 16:36:05 -0700 (PDT) Received: from postoffice.aconex.com (localhost [127.0.0.1]) by postoffice2.aconex.com (Spam Firewall) with ESMTP id 00C7A6B1056; Wed, 20 May 2009 09:36:03 +1000 (EST) Received: from postoffice.aconex.com (postoffice.yarra.acx [192.168.102.1]) by postoffice2.aconex.com with ESMTP id LMccrGaZOHuG1AHO; Wed, 20 May 2009 09:36:03 +1000 (EST) Received: from gatekeeper.aconex.com (gatekeeper.yarra.acx [192.168.102.10]) by postoffice.aconex.com (Postfix) with ESMTP id DB946A50265; Wed, 20 May 2009 09:35:57 +1000 (EST) Received: from localhost (localhost.localdomain [127.0.0.1]) by gatekeeper.aconex.com (Postfix) with ESMTP id 7050C4FD86; Wed, 20 May 2009 09:41:50 +1000 (EST) X-Virus-Scanned: ClamAV version 0.94.2, clamav-milter version 0.94.2 on oss.sgi.com X-Virus-Scanned: amavisd-new at gatekeeper.yarra.acx Received: from gatekeeper.aconex.com ([127.0.0.1]) by localhost (gatekeeper.aconex.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id uL-rW5gQyLb7; Wed, 20 May 2009 09:41:45 +1000 (EST) Received: from mail-au.aconex.com (mail-au.aconex.com [192.168.102.12]) by gatekeeper.aconex.com (Postfix) with ESMTP id 8D3344FD84; Wed, 20 May 2009 09:41:45 +1000 (EST) Date: Wed, 20 May 2009 09:35:58 +1000 (EST) From: Nathan Scott To: Mark Goodwin Cc: Eric Sandeen , Michael Werner , pcp@oss.sgi.com Message-ID: <822293459.5169011242776158793.JavaMail.root@mail-au.aconex.com> In-Reply-To: <4A129210.70905@gmail.com> X-ASG-Orig-Subj: Re: pcp packaging split (was Re: [pcp] python-pcp git tree available) Subject: Re: pcp packaging split (was Re: [pcp] python-pcp git tree available) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Originating-IP: [211.28.214.49] X-Mailer: Zimbra 5.0.13_GA_2791.RHEL5_64 (ZimbraWebClient - SAF3 (Mac)/5.0.13_GA_2791.RHEL5_64) X-Barracuda-Connect: mail.aconex.com[203.89.202.182] X-Barracuda-Start-Time: 1242776166 X-Barracuda-Bayes: INNOCENT GLOBAL 0.0000 1.0000 -2.0210 X-Barracuda-Virus-Scanned: by cuda.sgi.com at sgi.com X-Barracuda-Spam-Score: -2.02 X-Barracuda-Spam-Status: No, SCORE=-2.02 using per-user scores of TAG_LEVEL=2.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=2.1 tests= X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.1.26220 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- X-Virus-Status: Clean ----- "Mark Goodwin" wrote: ... > Ok, I have a patch that implements the split and will post it soon > (maybe tomorrow). There is some fall-out that probably also affects > Debian, e.g. with the current debian/*-dev.install files and with > pcp installed, but *without* pcp-devel installed : > > [/var/lib/pcp/pmdas/simple]# ./Install > You will need to choose an appropriate configuration for installation > of > the "simple" Performance Metrics Domain Agent (PMDA). > > collector collect performance statistics on this system > monitor allow this system to monitor local and/or remote systems > both collector and monitor configuration for this system > > Please enter c(ollector) or m(onitor) or b(oth) [b] > > Updating the Performance Metrics Name Space (PMNS) ... > Compiled PMNS contains > 161 hash table entries > 684 leaf nodes > 112 non-leaf nodes > 6665 bytes of symbol table > Install simple as a daemon or perl or dso agent? [daemon] > PMCD should communicate with the simple daemon via a pipe or a socket? > > [pipe] > Terminate PMDA if already installed ... > Installing files ... > Makefile:23: /usr/include/pcp/builddefs: No such file or directory > Makefile:39: /usr/include/pcp/buildrules: No such file or directory > gmake: *** No rule to make target `/usr/include/pcp/buildrules'. > Stop. > Install: Arrgh, "/usr/bin/gmake install" failed! "Arrgh" is right. > Shouldn't be hard to fix of course :) Hmm, question is where to put builddefs & buildrules - I guess they should go in the ("core") libpcp package that everything else depends on? (like /etc/pcp.conf) - at least, i think thats right for Debian. cheers. -- Nathan From nscott@aconex.com Tue May 19 18:38:02 2009 X-Spam-Checker-Version: SpamAssassin 3.3.0-rupdated (updated) on oss.sgi.com X-Spam-Level: X-Spam-Status: No, score=-2.5 required=5.0 tests=AWL,BAYES_00,J_CHICKENPOX_54 autolearn=no version=3.3.0-rupdated Received: from cuda.sgi.com (cuda3.sgi.com [192.48.176.15]) by oss.sgi.com (8.14.3/8.14.3/SuSE Linux 0.8) with ESMTP id n4JNc1Xt073574 for ; Tue, 19 May 2009 18:38:02 -0500 X-ASG-Debug-ID: 1242776291-04b100a30000-S8gJnT X-Barracuda-URL: http://cuda.sgi.com:80/cgi-bin/mark.cgi Received: from postoffice2.aconex.com (localhost [127.0.0.1]) by cuda.sgi.com (Spam Firewall) with ESMTP id 34A8E19E96C7 for ; Tue, 19 May 2009 16:38:11 -0700 (PDT) Received: from postoffice2.aconex.com (mail.aconex.com [203.89.202.182]) by cuda.sgi.com with ESMTP id pPhx72cHAhOMzKWp for ; Tue, 19 May 2009 16:38:11 -0700 (PDT) Received: from postoffice.aconex.com (localhost [127.0.0.1]) by postoffice2.aconex.com (Spam Firewall) with ESMTP id 0FC656B1099; Wed, 20 May 2009 09:38:10 +1000 (EST) Received: from postoffice.aconex.com (postoffice.yarra.acx [192.168.102.1]) by postoffice2.aconex.com with ESMTP id cfBolvXcqHqMiUWt; Wed, 20 May 2009 09:38:10 +1000 (EST) Received: from gatekeeper.aconex.com (gatekeeper.yarra.acx [192.168.102.10]) by postoffice.aconex.com (Postfix) with ESMTP id EA404A50265; Wed, 20 May 2009 09:38:03 +1000 (EST) Received: from localhost (localhost.localdomain [127.0.0.1]) by gatekeeper.aconex.com (Postfix) with ESMTP id 89A954FD84; Wed, 20 May 2009 09:43:56 +1000 (EST) X-Virus-Scanned: ClamAV version 0.94.2, clamav-milter version 0.94.2 on oss.sgi.com X-Virus-Scanned: amavisd-new at gatekeeper.yarra.acx Received: from gatekeeper.aconex.com ([127.0.0.1]) by localhost (gatekeeper.aconex.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id sRLeg5gp-trw; Wed, 20 May 2009 09:43:51 +1000 (EST) Received: from mail-au.aconex.com (mail-au.aconex.com [192.168.102.12]) by gatekeeper.aconex.com (Postfix) with ESMTP id CDACA4FD89; Wed, 20 May 2009 09:43:51 +1000 (EST) Date: Wed, 20 May 2009 09:38:05 +1000 (EST) From: Nathan Scott To: Max Matveev Cc: pcp@oss.sgi.com, Mark Goodwin Message-ID: <556545223.5169291242776285146.JavaMail.root@mail-au.aconex.com> In-Reply-To: <18962.46349.841073.192575@iinet.net.au> X-ASG-Orig-Subj: Re: [pcp] pcp packaging split Subject: Re: [pcp] pcp packaging split MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Originating-IP: [211.28.214.49] X-Mailer: Zimbra 5.0.13_GA_2791.RHEL5_64 (ZimbraWebClient - SAF3 (Mac)/5.0.13_GA_2791.RHEL5_64) X-Barracuda-Connect: mail.aconex.com[203.89.202.182] X-Barracuda-Start-Time: 1242776292 X-Barracuda-Bayes: INNOCENT GLOBAL 0.0000 1.0000 -2.0210 X-Barracuda-Virus-Scanned: by cuda.sgi.com at sgi.com X-Barracuda-Spam-Score: -2.02 X-Barracuda-Spam-Status: No, SCORE=-2.02 using per-user scores of TAG_LEVEL=2.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=2.1 tests= X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.1.26220 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- X-Virus-Status: Clean ----- "Max Matveev" wrote: > >>>>> "MG" == Mark Goodwin writes: > > MG> yes that's correct. Looks like Fedora would only require that we > MG> split pcp into pcp and pcp-devel (with pcp-debuginfo as a > by-product). > > Having pcp-libs will help with those pecky pcp killers installed in > the chroot jails: pcp-libs can be base for both pcp and pcp-devel, > for > development you don't need to install the the whole package. Yes! And we can remove the /etc/init.d/pcp script hack to try to work around that, then (the bit that figures out the path to the running pmcd's logfile). > BTW, Nathan, should newhelp be in a devel package? Probably not, I guess, for the same reasons that build{defs,rules} shouldnt be there either (needed by the runtime environment for installing some PMDAs). cheers. -- Nathan From goodwinos@gmail.com Tue May 19 18:46:52 2009 X-Spam-Checker-Version: SpamAssassin 3.3.0-rupdated (updated) on oss.sgi.com X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00 autolearn=ham version=3.3.0-rupdated Received: from cuda.sgi.com (cuda3.sgi.com [192.48.176.15]) by oss.sgi.com (8.14.3/8.14.3/SuSE Linux 0.8) with ESMTP id n4JNkqJu073990 for ; Tue, 19 May 2009 18:46:52 -0500 X-ASG-Debug-ID: 1242776821-04ad00dc0000-S8gJnT X-Barracuda-URL: http://cuda.sgi.com:80/cgi-bin/mark.cgi Received: from mx2.redhat.com (localhost [127.0.0.1]) by cuda.sgi.com (Spam Firewall) with ESMTP id 560BE19E9BCA for ; Tue, 19 May 2009 16:47:01 -0700 (PDT) Received: from mx2.redhat.com (mx2.redhat.com [66.187.237.31]) by cuda.sgi.com with ESMTP id 4kNLDG0aZJyUyUai for ; Tue, 19 May 2009 16:47:01 -0700 (PDT) Received: from int-mx2.corp.redhat.com (int-mx2.corp.redhat.com [172.16.27.26]) by mx2.redhat.com (8.13.8/8.13.8) with ESMTP id n4JNkx5q020184; Tue, 19 May 2009 19:46:59 -0400 Received: from ns3.rdu.redhat.com (ns3.rdu.redhat.com [10.11.255.199]) by int-mx2.corp.redhat.com (8.13.1/8.13.1) with ESMTP id n4JNkwcB020340; Tue, 19 May 2009 19:46:59 -0400 Received: from [10.64.6.28] (vpn6-6-28.bne.redhat.com [10.64.6.28]) by ns3.rdu.redhat.com (8.13.8/8.13.8) with ESMTP id n4JNktdA020357; Tue, 19 May 2009 19:46:57 -0400 Message-ID: <4A1344EF.3050209@gmail.com> Date: Wed, 20 May 2009 09:46:55 +1000 From: Mark Goodwin User-Agent: Thunderbird 2.0.0.21 (X11/20090320) MIME-Version: 1.0 To: Max Matveev CC: pcp@oss.sgi.com X-ASG-Orig-Subj: Re: pcp packaging split Subject: Re: pcp packaging split References: <1602757131.5101411242688820054.JavaMail.root@mail-au.aconex.com> <4A11FF97.7010007@gmail.com> <18962.46349.841073.192575@iinet.net.au> In-Reply-To: <18962.46349.841073.192575@iinet.net.au> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 2.58 on 172.16.27.26 X-Barracuda-Connect: mx2.redhat.com[66.187.237.31] X-Barracuda-Start-Time: 1242776822 X-Barracuda-Bayes: INNOCENT GLOBAL 0.0001 1.0000 -2.0205 X-Barracuda-Virus-Scanned: by cuda.sgi.com at sgi.com X-Barracuda-Spam-Score: -2.02 X-Barracuda-Spam-Status: No, SCORE=-2.02 using per-user scores of TAG_LEVEL=2.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=2.1 tests= X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.1.26220 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- X-Virus-Scanned: ClamAV version 0.94.2, clamav-milter version 0.94.2 on oss.sgi.com X-Virus-Status: Clean Max Matveev wrote: >>>>>> "MG" == Mark Goodwin writes: > > MG> yes that's correct. Looks like Fedora would only require that we > MG> split pcp into pcp and pcp-devel (with pcp-debuginfo as a by-product). > > Having pcp-libs will help with those pecky pcp killers installed in > the chroot jails: pcp-libs can be base for both pcp and pcp-devel, for > development you don't need to install the the whole package. not sure how also splitting out pcp-libs would help. If you're doing development, you want the whole package no matter what, for QA reasons at least, right? So IMO the right granularity is to install the base package and if you're a developer, also install the -devel package. The non-static libs are needed in both cases, so they might as well just live in the base package. > > BTW, Nathan, should newhelp be in a devel package? PMDA Install scripts that want to build the compiled help text will need it. Similar problem as some of /usr/include/pcp needing to be in the base package. Cheers -- Mark From nscott@aconex.com Tue May 19 18:57:26 2009 X-Spam-Checker-Version: SpamAssassin 3.3.0-rupdated (updated) on oss.sgi.com X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.3.0-rupdated Received: from cuda.sgi.com (cuda2.sgi.com [192.48.176.25]) by oss.sgi.com (8.14.3/8.14.3/SuSE Linux 0.8) with ESMTP id n4JNvQUj074500 for ; Tue, 19 May 2009 18:57:26 -0500 X-ASG-Debug-ID: 1242777454-136802690000-S8gJnT X-Barracuda-URL: http://cuda.sgi.com:80/cgi-bin/mark.cgi Received: from postoffice2.aconex.com (localhost [127.0.0.1]) by cuda.sgi.com (Spam Firewall) with ESMTP id 992A3299513 for ; Tue, 19 May 2009 16:57:35 -0700 (PDT) Received: from postoffice2.aconex.com (mail.aconex.com [203.89.202.182]) by cuda.sgi.com with ESMTP id pSbSNsq5lodpg5Cw for ; Tue, 19 May 2009 16:57:35 -0700 (PDT) Received: from postoffice.aconex.com (localhost [127.0.0.1]) by postoffice2.aconex.com (Spam Firewall) with ESMTP id 0B1756B123A; Wed, 20 May 2009 09:57:32 +1000 (EST) Received: from postoffice.aconex.com (postoffice.yarra.acx [192.168.102.1]) by postoffice2.aconex.com with ESMTP id 7150NPrBE0iM2KWN; Wed, 20 May 2009 09:57:32 +1000 (EST) Received: from gatekeeper.aconex.com (gatekeeper.yarra.acx [192.168.102.10]) by postoffice.aconex.com (Postfix) with ESMTP id F2C59A50265; Wed, 20 May 2009 09:57:26 +1000 (EST) Received: from localhost (localhost.localdomain [127.0.0.1]) by gatekeeper.aconex.com (Postfix) with ESMTP id AFD4C4FD8D; Wed, 20 May 2009 10:03:19 +1000 (EST) X-Virus-Scanned: ClamAV version 0.94.2, clamav-milter version 0.94.2 on oss.sgi.com X-Virus-Scanned: amavisd-new at gatekeeper.yarra.acx Received: from gatekeeper.aconex.com ([127.0.0.1]) by localhost (gatekeeper.aconex.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id JoJiKJ1pByvg; Wed, 20 May 2009 10:03:15 +1000 (EST) Received: from mail-au.aconex.com (mail-au.aconex.com [192.168.102.12]) by gatekeeper.aconex.com (Postfix) with ESMTP id 020224FD89; Wed, 20 May 2009 10:03:15 +1000 (EST) Date: Wed, 20 May 2009 09:57:28 +1000 (EST) From: Nathan Scott To: Mark Goodwin Cc: pcp@oss.sgi.com, Max Matveev Message-ID: <1030099948.5173401242777448210.JavaMail.root@mail-au.aconex.com> In-Reply-To: <4A1344EF.3050209@gmail.com> X-ASG-Orig-Subj: Re: [pcp] pcp packaging split Subject: Re: [pcp] pcp packaging split MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Originating-IP: [211.28.214.49] X-Mailer: Zimbra 5.0.13_GA_2791.RHEL5_64 (ZimbraWebClient - SAF3 (Mac)/5.0.13_GA_2791.RHEL5_64) X-Barracuda-Connect: mail.aconex.com[203.89.202.182] X-Barracuda-Start-Time: 1242777456 X-Barracuda-Bayes: INNOCENT GLOBAL 0.0003 1.0000 -2.0190 X-Barracuda-Virus-Scanned: by cuda.sgi.com at sgi.com X-Barracuda-Spam-Score: -2.02 X-Barracuda-Spam-Status: No, SCORE=-2.02 using per-user scores of TAG_LEVEL=2.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=2.1 tests= X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.1.26222 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- X-Virus-Status: Clean ----- "Mark Goodwin" wrote: > Max Matveev wrote: > >>>>>> "MG" == Mark Goodwin writes: > > > > MG> yes that's correct. Looks like Fedora would only require that > we > > MG> split pcp into pcp and pcp-devel (with pcp-debuginfo as a > by-product). > > > > Having pcp-libs will help with those pecky pcp killers installed in > > the chroot jails: pcp-libs can be base for both pcp and pcp-devel, > for > > development you don't need to install the the whole package. > > not sure how also splitting out pcp-libs would help. If you're doing > development, you want the whole package no matter what, for QA reasons > > at least, right? No, not for chroot builds - you would only want -libs and -devel. Installing the main pcp package is the problem - it has the exitops that take out a running pmcd on the build system... there's no good reason to do that. cheers. -- Nathan From makc@iinet.net.au Tue May 19 20:39:10 2009 X-Spam-Checker-Version: SpamAssassin 3.3.0-rupdated (updated) on oss.sgi.com X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.3.0-rupdated Received: from cuda.sgi.com (cuda3.sgi.com [192.48.176.15]) by oss.sgi.com (8.14.3/8.14.3/SuSE Linux 0.8) with ESMTP id n4K1d7S5078777 for ; Tue, 19 May 2009 20:39:10 -0500 X-ASG-Debug-ID: 1242783554-04af027e0000-S8gJnT X-Barracuda-URL: http://cuda.sgi.com:80/cgi-bin/mark.cgi Received: from outbound.icp-qv1-irony-out4.iinet.net.au (localhost [127.0.0.1]) by cuda.sgi.com (Spam Firewall) with ESMTP id 38B2219EE67C for ; Tue, 19 May 2009 18:39:15 -0700 (PDT) Received: from outbound.icp-qv1-irony-out4.iinet.net.au (outbound.icp-qv1-irony-out4.iinet.net.au [203.59.1.150]) by cuda.sgi.com with ESMTP id ki3IxtrKPaCrgbwC for ; Tue, 19 May 2009 18:39:15 -0700 (PDT) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: ApoEANf7EkrL2Rwk/2dsb2JhbADPO4QCBQ X-IronPort-AV: E=Sophos;i="4.41,218,1241366400"; d="scan'208";a="370371682" Received: from unknown (HELO alma.crabbed.net) ([203.217.28.36]) by outbound.icp-qv1-irony-out4.iinet.net.au with ESMTP; 20 May 2009 09:39:12 +0800 Received: by alma.crabbed.net (Postfix, from userid 501) id 6F65937E14F; Wed, 20 May 2009 11:38:19 +1000 (EST) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <18963.24331.154278.655650@iinet.net.au> Date: Wed, 20 May 2009 11:38:19 +1000 From: Max Matveev To: Nathan Scott Cc: Mark Goodwin , pcp@oss.sgi.com X-ASG-Orig-Subj: Re: [pcp] pcp packaging split Subject: Re: [pcp] pcp packaging split In-Reply-To: <1030099948.5173401242777448210.JavaMail.root@mail-au.aconex.com> References: <4A1344EF.3050209@gmail.com> <1030099948.5173401242777448210.JavaMail.root@mail-au.aconex.com> X-Mailer: VM 7.17 under 21.4 (patch 19) "Constant Variable" XEmacs Lucid X-Barracuda-Connect: outbound.icp-qv1-irony-out4.iinet.net.au[203.59.1.150] X-Barracuda-Start-Time: 1242783557 X-Barracuda-Bayes: INNOCENT GLOBAL 0.0000 1.0000 -2.0209 X-Barracuda-Virus-Scanned: by cuda.sgi.com at sgi.com X-Barracuda-Spam-Score: -2.02 X-Barracuda-Spam-Status: No, SCORE=-2.02 using per-user scores of TAG_LEVEL=2.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=2.1 tests= X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.1.26228 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- X-Virus-Scanned: ClamAV version 0.94.2, clamav-milter version 0.94.2 on oss.sgi.com X-Virus-Status: Clean >>>>> "nscott" == Nathan Scott writes nscott> ----- "Mark Goodwin" wrote: >> Max Matveev wrote: >> >>>>>> "MG" == Mark Goodwin writes: >> > >> > MG> yes that's correct. Looks like Fedora would only require >> > MG> that we split pcp into pcp and pcp-devel (with >> > MG> pcp-debuginfo as a by-product). >> > >> > Having pcp-libs will help with those pecky pcp killers installed >> > in the chroot jails: pcp-libs can be base for both pcp and >> > pcp-devel, for development you don't need to install the the >> > whole package. >> >> not sure how also splitting out pcp-libs would help. If you're >> doing development, you want the whole package no matter what, for >> QA reasons at least, right? nscott> No, not for chroot builds - you would only want -libs and -devel. nscott> Installing the main pcp package is the problem - it has the exitops nscott> that take out a running pmcd on the build system... there's no good nscott> reason to do that. Exactly. I may even decide not to run pcp on the build box to keep "pristine" environment but I have to have shared libraries and headers if I want to build. And I really like to be able to get the newhelp without getting the rest of the pcp: pmda developement almost forces me to run newhelp at build time to catch any problems with the help files. I also need the pmns utilities to futz with the namespace files: both can go into pcp-libs or pcp-base or pcp-foundation or pcp-kitchen-sink-no-scripts. max From goodwinos@gmail.com Tue May 19 21:56:05 2009 X-Spam-Checker-Version: SpamAssassin 3.3.0-rupdated (updated) on oss.sgi.com X-Spam-Level: X-Spam-Status: No, score=-2.4 required=5.0 tests=AWL,BAYES_00,J_CHICKENPOX_53, J_CHICKENPOX_65,J_CHICKENPOX_66 autolearn=no version=3.3.0-rupdated Received: from cuda.sgi.com (cuda2.sgi.com [192.48.176.25]) by oss.sgi.com (8.14.3/8.14.3/SuSE Linux 0.8) with ESMTP id n4K2u4FS081135 for ; Tue, 19 May 2009 21:56:05 -0500 X-ASG-Debug-ID: 1242788173-3f01009a0000-S8gJnT X-Barracuda-URL: http://cuda.sgi.com:80/cgi-bin/mark.cgi Received: from mx2.redhat.com (localhost [127.0.0.1]) by cuda.sgi.com (Spam Firewall) with ESMTP id D7BDA299B49 for ; Tue, 19 May 2009 19:56:13 -0700 (PDT) Received: from mx2.redhat.com (mx2.redhat.com [66.187.237.31]) by cuda.sgi.com with ESMTP id GDC2EYPGFk1erMa0 for ; Tue, 19 May 2009 19:56:13 -0700 (PDT) Received: from int-mx2.corp.redhat.com (int-mx2.corp.redhat.com [172.16.27.26]) by mx2.redhat.com (8.13.8/8.13.8) with ESMTP id n4K2u0Mb026077; Tue, 19 May 2009 22:56:01 -0400 Received: from ns3.rdu.redhat.com (ns3.rdu.redhat.com [10.11.255.199]) by int-mx2.corp.redhat.com (8.13.1/8.13.1) with ESMTP id n4K2tx0v006712; Tue, 19 May 2009 22:56:00 -0400 Received: from [10.64.6.28] (vpn6-6-28.bne.redhat.com [10.64.6.28]) by ns3.rdu.redhat.com (8.13.8/8.13.8) with ESMTP id n4K2ttTk003059; Tue, 19 May 2009 22:55:56 -0400 Message-ID: <4A13713A.4040507@gmail.com> Date: Wed, 20 May 2009 12:55:54 +1000 From: Mark Goodwin User-Agent: Thunderbird 2.0.0.21 (X11/20090320) MIME-Version: 1.0 To: Max Matveev CC: Nathan Scott , pcp@oss.sgi.com X-ASG-Orig-Subj: Re: [pcp] pcp packaging split Subject: Re: [pcp] pcp packaging split References: <4A1344EF.3050209@gmail.com> <1030099948.5173401242777448210.JavaMail.root@mail-au.aconex.com> <18963.24331.154278.655650@iinet.net.au> In-Reply-To: <18963.24331.154278.655650@iinet.net.au> Content-Type: multipart/mixed; boundary="------------030306050104010500070301" X-Scanned-By: MIMEDefang 2.58 on 172.16.27.26 X-Barracuda-Connect: mx2.redhat.com[66.187.237.31] X-Barracuda-Start-Time: 1242788174 X-Barracuda-Bayes: INNOCENT GLOBAL 0.0031 1.0000 -2.0005 X-Barracuda-Virus-Scanned: by cuda.sgi.com at sgi.com X-Barracuda-Spam-Score: -2.00 X-Barracuda-Spam-Status: No, SCORE=-2.00 using per-user scores of TAG_LEVEL=2.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=2.1 tests= X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.1.26234 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- X-Virus-Scanned: ClamAV version 0.94.2, clamav-milter version 0.94.2 on oss.sgi.com X-Virus-Status: Clean This is a multi-part message in MIME format. --------------030306050104010500070301 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Max Matveev wrote: > > I may even decide not to run pcp on the build box to keep "pristine" > environment but I have to have shared libraries and headers if I want > to build. *and* you also need tools such as newhelp, pmns utils, etc., some of which are also needed in production environments where pcp-devel will not be installed. So they'll either have to go in pcp-libs or we also need a pcp-common package ... > And I really like to be able to get the newhelp without getting the > rest of the pcp: pmda developement almost forces me to run newhelp at > build time to catch any problems with the help files. I also need the > pmns utilities to futz with the namespace files: both can go into > pcp-libs or pcp-base or pcp-foundation or pcp-kitchen-sink-no-scripts. > > max as above. In any case, I agree on having pcp, pcp-libs and pcp-devel. A preliminary patch is attached - this just picks stuff out of the existing debian/*.install manifests. -- Mark --------------030306050104010500070301 Content-Type: text/x-patch; name="pcp_package_split.patch" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="pcp_package_split.patch" diff --git a/GNUmakefile b/GNUmakefile index 06119fc..621f38f 100644 --- a/GNUmakefile +++ b/GNUmakefile @@ -53,7 +53,9 @@ LDIRT = config.cache config.status config.log files.rpm pro_files.rpm \ pcp-pro-$(PACKAGE_MAJOR).$(PACKAGE_MINOR).$(PACKAGE_REVISION) \ pcp-sgi-$(PACKAGE_MAJOR).$(PACKAGE_MINOR).$(PACKAGE_REVISION) \ root-*/include root-*/lib root-*/*.rpm root-*/default_pro \ - autom4te.cache install.manifest install_pro.manifest + autom4te.cache install.manifest install_pro.manifest \ + debug*.list devel_files libs_files base_files.rpm libs_files.rpm \ + devel_files.rpm SUBDIRS = src man build debian ifeq "$(MAKECMDGOALS)" "clobber" diff --git a/VERSION.pcp b/VERSION.pcp index a68287b..0f7ba60 100644 --- a/VERSION.pcp +++ b/VERSION.pcp @@ -1,7 +1,7 @@ # # This file is used by configure to get version information # -PACKAGE_MAJOR=2 -PACKAGE_MINOR=8 -PACKAGE_REVISION=4 +PACKAGE_MAJOR=3 +PACKAGE_MINOR=0 +PACKAGE_REVISION=0 PACKAGE_BUILD=1 diff --git a/build/rpm/pcp.spec.in b/build/rpm/pcp.spec.in index a6de568..8640398 100644 --- a/build/rpm/pcp.spec.in +++ b/build/rpm/pcp.spec.in @@ -57,6 +57,23 @@ Obsoletes: pcp <= @package_version@ Provides: pcp = @package_version@ %endif +Requires: pcp-libs >= @package_version@ + +Summary: System-level performance monitoring and performance management. +License: GPL/LGPL +Vendor: Silicon Graphics, Inc. +URL: http://oss.sgi.com/projects/pcp +Group: Applications/System + +# +# pcp-libs +# +%package libs +Group: Applications/System +Summary: Performance Co-Pilot run-time libraries +Vendor: Silicon Graphics, Inc. +URL: http://oss.sgi.com/projects/pcp/ + Provides: libpcp.so.2 %ifarch ia64 x86_64 Provides: libpcp.so.2()(64bit) @@ -67,11 +84,16 @@ Provides: libpcp_pmda.so.2 Provides: libpcp_pmda.so.2()(64bit) %endif -Summary: System-level performance monitoring and performance management. -License: GPL/LGPL -Vendor: Silicon Graphics, Inc. -URL: http://oss.sgi.com/projects/pcp +# +# pcp-devel +# +%package devel Group: Applications/System +Summary: Performance Co-Pilot (PCP) development headers and static libraries +Vendor: Silicon Graphics, Inc. +URL: http://oss.sgi.com/projects/pcp/ + +Requires: pcp-libs >= @package_version@ %description Performance Co-Pilot (PCP) is a framework and services to @@ -83,6 +105,13 @@ all of the interesting performance data in a system, and allows client applications to easily retrieve and process any subset of that data. +%description libs +Performance Co-Pilot (PCP) run-time libraries + +%description devel +Performance Co-Pilot (PCP) headers, static libraries, documentation +and tools for development. + %if %sgi_chroot_build %debug_package %endif @@ -123,8 +152,33 @@ set +x PCP_CONF=$BACKDIR/src/include/pcp.conf export PCP_CONF . $BACKDIR/src/include/pcp.env -sort $DIST_MANIFEST | uniq | $PCP_AWK_PROG ' -$1 == "d" { printf ("%%%%dir %%%%attr(%s,root,root) %s\n", $2, $5); } + +FILELIST=`echo $BACKDIR/debian/*.{install,dirs}` +DEVFILELIST=`echo $BACKDIR/debian/*-dev.{install,dirs}` + +# +# Package split: pcp, pcp-libs, pcp-devel +# -libs gets first pick, then -devel. Base package catches-all remaining. +# +sed -e 's/^/\//' $FILELIST | grep 'usr\/lib*\/lib.*\.so' >libs_files +sed -e 's/^/\//' $DEVFILELIST >devel_files +%ifarch ia64 x86_64 +sed -i -e 's/usr\/lib\//usr\/lib64\//' libs_files +sed -i -e 's/usr\/lib\//usr\/lib64\//' devel_files +%endif + +rm -f devel_files.rpm libs_files.rpm base_files.rpm +sort -u $DIST_MANIFEST | $PCP_AWK_PROG ' +BEGIN { + while( getline < "libs_files") lib[$0]=1; + while( getline < "devel_files") dev[$0]=1; +} +{ + if (lib[$NF]) f="libs_files.rpm"; + else if (dev[$NF]) f="devel_files.rpm"; + else f="base_files.rpm" +} +$1 == "d" { printf ("%%%%dir %%%%attr(%s,root,root) %s\n", $2, $5) >> f } $1 == "f" { if ( match ($6, "'$PCP_VAR_DIR'/config") || match ($6, "'$PCP_SYSCONFIG_DIR'") ) { printf ("%%%%config(noreplace) "); @@ -132,13 +186,16 @@ $1 == "f" { if ( match ($6, "'$PCP_VAR_DIR'/config") || if (match ($6, "'$PCP_MAN_DIR'") || match ($6, "'$PCP_DOC_DIR'")) { printf ("%%%%doc "); } - printf ("%%%%attr(%s,root,root) %s\n", $2, $6); } -$1 == "l" { print "%attr(0777,root,root)", $3; }' > files.rpm + printf ("%%%%attr(%s,root,root) %s\n", $2, $6) >> f } +$1 == "l" { print "%attr(0777,root,root)", $3 >> f }' set -x -# -%files -f files.rpm +%files -f base_files.rpm + +%files libs -f libs_files.rpm + +%files devel -f devel_files.rpm %pre exit 0 --------------030306050104010500070301-- From nscott@aconex.com Tue May 19 21:59:49 2009 X-Spam-Checker-Version: SpamAssassin 3.3.0-rupdated (updated) on oss.sgi.com X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.3.0-rupdated Received: from cuda.sgi.com (cuda3.sgi.com [192.48.176.15]) by oss.sgi.com (8.14.3/8.14.3/SuSE Linux 0.8) with ESMTP id n4K2xnnG081337 for ; Tue, 19 May 2009 21:59:49 -0500 X-ASG-Debug-ID: 1242788392-358e00b30000-S8gJnT X-Barracuda-URL: http://cuda.sgi.com:80/cgi-bin/mark.cgi Received: from postoffice2.aconex.com (localhost [127.0.0.1]) by cuda.sgi.com (Spam Firewall) with ESMTP id 634EE19E7870 for ; Tue, 19 May 2009 19:59:52 -0700 (PDT) Received: from postoffice2.aconex.com (mail.aconex.com [203.89.202.182]) by cuda.sgi.com with ESMTP id hSWO1JqyJH15U37r for ; Tue, 19 May 2009 19:59:52 -0700 (PDT) Received: from postoffice.aconex.com (localhost [127.0.0.1]) by postoffice2.aconex.com (Spam Firewall) with ESMTP id C29E35866EB; Wed, 20 May 2009 12:59:50 +1000 (EST) Received: from postoffice.aconex.com (postoffice.yarra.acx [192.168.102.1]) by postoffice2.aconex.com with ESMTP id TafGFKbup80rUFDs; Wed, 20 May 2009 12:59:50 +1000 (EST) Received: from gatekeeper.aconex.com (gatekeeper.yarra.acx [192.168.102.10]) by postoffice.aconex.com (Postfix) with ESMTP id A508AA50265; Wed, 20 May 2009 12:59:44 +1000 (EST) Received: from localhost (localhost.localdomain [127.0.0.1]) by gatekeeper.aconex.com (Postfix) with ESMTP id 6EE084FD85; Wed, 20 May 2009 13:05:38 +1000 (EST) X-Virus-Scanned: ClamAV version 0.94.2, clamav-milter version 0.94.2 on oss.sgi.com X-Virus-Scanned: amavisd-new at gatekeeper.yarra.acx Received: from gatekeeper.aconex.com ([127.0.0.1]) by localhost (gatekeeper.aconex.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id AEsHrkNNPlyF; Wed, 20 May 2009 13:05:33 +1000 (EST) Received: from mail-au.aconex.com (mail-au.aconex.com [192.168.102.12]) by gatekeeper.aconex.com (Postfix) with ESMTP id A4DC54FD82; Wed, 20 May 2009 13:05:33 +1000 (EST) Date: Wed, 20 May 2009 12:59:45 +1000 (EST) From: Nathan Scott To: Max Matveev Cc: Mark Goodwin , pcp@oss.sgi.com Message-ID: <218023816.5191041242788385819.JavaMail.root@mail-au.aconex.com> In-Reply-To: <18963.24331.154278.655650@iinet.net.au> X-ASG-Orig-Subj: Re: [pcp] pcp packaging split Subject: Re: [pcp] pcp packaging split MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Originating-IP: [211.28.214.49] X-Mailer: Zimbra 5.0.13_GA_2791.RHEL5_64 (ZimbraWebClient - SAF3 (Mac)/5.0.13_GA_2791.RHEL5_64) X-Barracuda-Connect: mail.aconex.com[203.89.202.182] X-Barracuda-Start-Time: 1242788393 X-Barracuda-Bayes: INNOCENT GLOBAL 0.0040 1.0000 -1.9951 X-Barracuda-Virus-Scanned: by cuda.sgi.com at sgi.com X-Barracuda-Spam-Score: -2.00 X-Barracuda-Spam-Status: No, SCORE=-2.00 using per-user scores of TAG_LEVEL=2.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=2.1 tests= X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.1.26234 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- X-Virus-Status: Clean ----- "Max Matveev" wrote: > > And I really like to be able to get the newhelp without getting the > rest of the pcp: pmda developement almost forces me to run newhelp at IMO, doing pmda development (as in, writing and debugging, not building) forces you to run pmcd. Which means you need the "main" pcp package, not just the -devel package. cheers. -- Nathan From makc@iinet.net.au Wed May 20 04:43:50 2009 X-Spam-Checker-Version: SpamAssassin 3.3.0-rupdated (updated) on oss.sgi.com X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.3.0-rupdated Received: from cuda.sgi.com (cuda2.sgi.com [192.48.176.25]) by oss.sgi.com (8.14.3/8.14.3/SuSE Linux 0.8) with ESMTP id n4K9hn8u099170 for ; Wed, 20 May 2009 04:43:50 -0500 X-ASG-Debug-ID: 1242812636-473002940000-S8gJnT X-Barracuda-URL: http://cuda.sgi.com:80/cgi-bin/mark.cgi Received: from outbound.icp-qv1-irony-out2.iinet.net.au (localhost [127.0.0.1]) by cuda.sgi.com (Spam Firewall) with ESMTP id 9C4DF29A9FE for ; Wed, 20 May 2009 02:43:57 -0700 (PDT) Received: from outbound.icp-qv1-irony-out2.iinet.net.au (outbound.icp-qv1-irony-out2.iinet.net.au [203.59.1.107]) by cuda.sgi.com with ESMTP id swuNPcv0zcxJKFVb for ; Wed, 20 May 2009 02:43:57 -0700 (PDT) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: ApoEAAttE0rL2Rwk/2dsb2JhbADOXIQDBQ X-IronPort-AV: E=Sophos;i="4.41,220,1241366400"; d="scan'208";a="494532260" Received: from unknown (HELO alma.crabbed.net) ([203.217.28.36]) by outbound.icp-qv1-irony-out2.iinet.net.au with ESMTP; 20 May 2009 17:43:55 +0800 Received: by alma.crabbed.net (Postfix, from userid 501) id E9FFF37F621; Wed, 20 May 2009 19:43:00 +1000 (EST) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <18963.53412.808851.364565@iinet.net.au> Date: Wed, 20 May 2009 19:43:00 +1000 From: Max Matveev To: Nathan Scott Cc: Mark Goodwin , pcp@oss.sgi.com X-ASG-Orig-Subj: Re: [pcp] pcp packaging split Subject: Re: [pcp] pcp packaging split In-Reply-To: <218023816.5191041242788385819.JavaMail.root@mail-au.aconex.com> References: <18963.24331.154278.655650@iinet.net.au> <218023816.5191041242788385819.JavaMail.root@mail-au.aconex.com> X-Mailer: VM 7.17 under 21.4 (patch 19) "Constant Variable" XEmacs Lucid X-Barracuda-Connect: outbound.icp-qv1-irony-out2.iinet.net.au[203.59.1.107] X-Barracuda-Start-Time: 1242812639 X-Barracuda-Bayes: INNOCENT GLOBAL 0.2593 1.0000 -0.5309 X-Barracuda-Virus-Scanned: by cuda.sgi.com at sgi.com X-Barracuda-Spam-Score: -0.53 X-Barracuda-Spam-Status: No, SCORE=-0.53 using per-user scores of TAG_LEVEL=2.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=2.1 tests= X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.1.26257 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- X-Virus-Scanned: ClamAV version 0.94.2, clamav-milter version 0.94.2 on oss.sgi.com X-Virus-Status: Clean >>>>> "nscott" == Nathan Scott writes: nscott> ----- "Max Matveev" wrote: >> >> And I really like to be able to get the newhelp without getting the >> rest of the pcp: pmda developement almost forces me to run newhelp at nscott> IMO, doing pmda development (as in, writing and debugging, nscott> not building) forces you to run pmcd. Me - yes, people building the tree where I choose to park my pmda - no, they need as little as I need of the Java tools they use to aid their development. max From makc@iinet.net.au Wed May 20 04:47:04 2009 X-Spam-Checker-Version: SpamAssassin 3.3.0-rupdated (updated) on oss.sgi.com X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.3.0-rupdated Received: from cuda.sgi.com (cuda1.sgi.com [192.48.157.11]) by oss.sgi.com (8.14.3/8.14.3/SuSE Linux 0.8) with ESMTP id n4K9l36n099315 for ; Wed, 20 May 2009 04:47:03 -0500 X-ASG-Debug-ID: 1242813148-39af000e0000-S8gJnT X-Barracuda-URL: http://cuda.sgi.com:80/cgi-bin/mark.cgi Received: from outbound.icp-qv1-irony-out2.iinet.net.au (localhost [127.0.0.1]) by cuda.sgi.com (Spam Firewall) with ESMTP id DA82612FA001 for ; Wed, 20 May 2009 02:52:29 -0700 (PDT) Received: from outbound.icp-qv1-irony-out2.iinet.net.au (outbound.icp-qv1-irony-out2.iinet.net.au [203.59.1.107]) by cuda.sgi.com with ESMTP id Rd0rB5w69bJsXjsj for ; Wed, 20 May 2009 02:52:29 -0700 (PDT) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: ApoEADduE0rL2Rwk/2dsb2JhbADOVoQDBQ X-IronPort-AV: E=Sophos;i="4.41,220,1241366400"; d="scan'208";a="494533474" Received: from unknown (HELO alma.crabbed.net) ([203.217.28.36]) by outbound.icp-qv1-irony-out2.iinet.net.au with ESMTP; 20 May 2009 17:47:10 +0800 Received: by alma.crabbed.net (Postfix, from userid 501) id 8543E37F626; Wed, 20 May 2009 19:46:16 +1000 (EST) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <18963.53608.392274.913349@iinet.net.au> Date: Wed, 20 May 2009 19:46:16 +1000 From: Max Matveev To: Mark Goodwin Cc: Nathan Scott , pcp@oss.sgi.com X-ASG-Orig-Subj: Re: [pcp] pcp packaging split Subject: Re: [pcp] pcp packaging split In-Reply-To: <4A13713A.4040507@gmail.com> References: <4A1344EF.3050209@gmail.com> <1030099948.5173401242777448210.JavaMail.root@mail-au.aconex.com> <18963.24331.154278.655650@iinet.net.au> <4A13713A.4040507@gmail.com> X-Mailer: VM 7.17 under 21.4 (patch 19) "Constant Variable" XEmacs Lucid X-Barracuda-Connect: outbound.icp-qv1-irony-out2.iinet.net.au[203.59.1.107] X-Barracuda-Start-Time: 1242813150 X-Barracuda-Bayes: INNOCENT GLOBAL 0.0051 1.0000 -1.9879 X-Barracuda-Virus-Scanned: by cuda.sgi.com at sgi.com X-Barracuda-Spam-Score: -1.99 X-Barracuda-Spam-Status: No, SCORE=-1.99 using per-user scores of TAG_LEVEL=2.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=2.1 tests= X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.1.26258 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- X-Virus-Scanned: ClamAV version 0.94.2, clamav-milter version 0.94.2 on oss.sgi.com X-Virus-Status: Clean >>>>> "MG" == Mark Goodwin wrote: MG> Max Matveev wrote: >> >> I may even decide not to run pcp on the build box to keep "pristine" >> environment but I have to have shared libraries and headers if I want >> to build. MG> *and* you also need tools such as newhelp, pmns utils, etc., some of MG> which are also needed in production environments where pcp-devel will MG> not be installed. So they'll either have to go in pcp-libs or we also MG> need a pcp-common package ... I'm fine with them been in pcp-libs. MG> In any case, I agree on having pcp, pcp-libs and pcp-devel. A MG> preliminary patch is attached - this just picks stuff out of MG> the existing debian/*.install manifests. I've had this long dream of changing the install rules to generate manifest out of makefiles - you know, one source and all that. The stuff you've done will work fine, it just not going to catch the new bits been pushed out by make install but not added in the manifests. max From goodwinos@gmail.com Wed May 20 04:58:59 2009 X-Spam-Checker-Version: SpamAssassin 3.3.0-rupdated (updated) on oss.sgi.com X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.3.0-rupdated Received: from cuda.sgi.com (cuda1.sgi.com [192.48.157.11]) by oss.sgi.com (8.14.3/8.14.3/SuSE Linux 0.8) with ESMTP id n4K9wwdH099623 for ; Wed, 20 May 2009 04:58:59 -0500 X-ASG-Debug-ID: 1242813865-266b019b0000-S8gJnT X-Barracuda-URL: http://cuda.sgi.com:80/cgi-bin/mark.cgi Received: from mx2.redhat.com (localhost [127.0.0.1]) by cuda.sgi.com (Spam Firewall) with ESMTP id 250FB12FA086 for ; Wed, 20 May 2009 03:04:25 -0700 (PDT) Received: from mx2.redhat.com (mx2.redhat.com [66.187.237.31]) by cuda.sgi.com with ESMTP id WTvm9gK1MjTY6OB9 for ; Wed, 20 May 2009 03:04:25 -0700 (PDT) Received: from int-mx2.corp.redhat.com (int-mx2.corp.redhat.com [172.16.27.26]) by mx2.redhat.com (8.13.8/8.13.8) with ESMTP id n4K9wTPO018847; Wed, 20 May 2009 05:58:29 -0400 Received: from ns3.rdu.redhat.com (ns3.rdu.redhat.com [10.11.255.199]) by int-mx2.corp.redhat.com (8.13.1/8.13.1) with ESMTP id n4K9wSf0026980; Wed, 20 May 2009 05:58:29 -0400 Received: from [10.64.6.28] (vpn6-6-28.bne.redhat.com [10.64.6.28]) by ns3.rdu.redhat.com (8.13.8/8.13.8) with ESMTP id n4K9wPB7004822; Wed, 20 May 2009 05:58:26 -0400 Message-ID: <4A13D440.2000902@gmail.com> Date: Wed, 20 May 2009 19:58:24 +1000 From: Mark Goodwin User-Agent: Thunderbird 2.0.0.21 (X11/20090320) MIME-Version: 1.0 To: Max Matveev CC: Nathan Scott , pcp@oss.sgi.com X-ASG-Orig-Subj: Re: [pcp] pcp packaging split Subject: Re: [pcp] pcp packaging split References: <4A1344EF.3050209@gmail.com> <1030099948.5173401242777448210.JavaMail.root@mail-au.aconex.com> <18963.24331.154278.655650@iinet.net.au> <4A13713A.4040507@gmail.com> <18963.53608.392274.913349@iinet.net.au> In-Reply-To: <18963.53608.392274.913349@iinet.net.au> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 2.58 on 172.16.27.26 X-Barracuda-Connect: mx2.redhat.com[66.187.237.31] X-Barracuda-Start-Time: 1242813866 X-Barracuda-Bayes: INNOCENT GLOBAL 0.0030 1.0000 -2.0017 X-Barracuda-Virus-Scanned: by cuda.sgi.com at sgi.com X-Barracuda-Spam-Score: -2.00 X-Barracuda-Spam-Status: No, SCORE=-2.00 using per-user scores of TAG_LEVEL=2.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=2.1 tests= X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.1.26258 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- X-Virus-Scanned: ClamAV version 0.94.2, clamav-milter version 0.94.2 on oss.sgi.com X-Virus-Status: Clean Max Matveev wrote: >>>>>> "MG" == Mark Goodwin wrote: > I'm fine with them been in pcp-libs. good, provided it's acceptable to have non-library executables in a -libs package. Probably OK. I'd rather not have a -common. > > MG> In any case, I agree on having pcp, pcp-libs and pcp-devel. A > MG> preliminary patch is attached - this just picks stuff out of > MG> the existing debian/*.install manifests. > > I've had this long dream of changing the install rules to generate > manifest out of makefiles - you know, one source and all that. The > stuff you've done will work fine, it just not going to catch the new > bits been pushed out by make install but not added in the manifests. yes it is - the base pcp package is catch-all. Anything not listed ends up in that. We are still generating the manifest from make rules. The lists pick stuff out to go in -devel or -libs, everything else goes in the base package. Cheers -- Mark From nscott@aconex.com Thu May 21 01:41:19 2009 X-Spam-Checker-Version: SpamAssassin 3.3.0-rupdated (updated) on oss.sgi.com X-Spam-Level: X-Spam-Status: No, score=-2.5 required=5.0 tests=AWL,BAYES_00,J_CHICKENPOX_73 autolearn=no version=3.3.0-rupdated Received: from cuda.sgi.com (cuda1.sgi.com [192.48.157.11]) by oss.sgi.com (8.14.3/8.14.3/SuSE Linux 0.8) with ESMTP id n4L6fI65153469 for ; Thu, 21 May 2009 01:41:19 -0500 X-ASG-Debug-ID: 1242888408-770d008a0000-S8gJnT X-Barracuda-URL: http://cuda.sgi.com:80/cgi-bin/mark.cgi Received: from postoffice2.aconex.com (localhost [127.0.0.1]) by cuda.sgi.com (Spam Firewall) with ESMTP id 8AA478835CC for ; Wed, 20 May 2009 23:46:49 -0700 (PDT) Received: from postoffice2.aconex.com (mail.aconex.com [203.89.202.182]) by cuda.sgi.com with ESMTP id 7j36KfkXtT0ad3Uv for ; Wed, 20 May 2009 23:46:49 -0700 (PDT) Received: from postoffice.aconex.com (localhost [127.0.0.1]) by postoffice2.aconex.com (Spam Firewall) with ESMTP id 6ADF46B4E81 for ; Thu, 21 May 2009 16:41:26 +1000 (EST) Received: from postoffice.aconex.com (postoffice.yarra.acx [192.168.102.1]) by postoffice2.aconex.com with ESMTP id 4FqufAzZ3nsenFVU for ; Thu, 21 May 2009 16:41:26 +1000 (EST) Received: from gatekeeper.aconex.com (gatekeeper.yarra.acx [192.168.102.10]) by postoffice.aconex.com (Postfix) with ESMTP id A1695A50265 for ; Thu, 21 May 2009 16:41:19 +1000 (EST) Received: from localhost (localhost.localdomain [127.0.0.1]) by gatekeeper.aconex.com (Postfix) with ESMTP id 3874E4FD8A for ; Thu, 21 May 2009 16:47:23 +1000 (EST) X-Virus-Scanned: ClamAV version 0.94.2, clamav-milter version 0.94.2 on oss.sgi.com X-Virus-Scanned: amavisd-new at gatekeeper.yarra.acx Received: from gatekeeper.aconex.com ([127.0.0.1]) by localhost (gatekeeper.aconex.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id kAeJ6PkQoq-i for ; Thu, 21 May 2009 16:47:19 +1000 (EST) Received: from mail-au.aconex.com (mail-au.aconex.com [192.168.102.12]) by gatekeeper.aconex.com (Postfix) with ESMTP id 28DA64FD82 for ; Thu, 21 May 2009 16:47:19 +1000 (EST) Date: Thu, 21 May 2009 16:41:22 +1000 (EST) From: Nathan Scott To: pcp@oss.sgi.com Message-ID: <546469156.5280971242888082169.JavaMail.root@mail-au.aconex.com> X-ASG-Orig-Subj: pcp updates (2.8.5) Subject: pcp updates (2.8.5) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Originating-IP: [211.28.214.49] X-Mailer: Zimbra 5.0.13_GA_2791.RHEL5_64 (ZimbraWebClient - [unknown] (Linux)/5.0.13_GA_2791.RHEL5_64) X-Barracuda-Connect: mail.aconex.com[203.89.202.182] X-Barracuda-Start-Time: 1242888410 X-Barracuda-Bayes: INNOCENT GLOBAL 0.0000 1.0000 -2.0210 X-Barracuda-Virus-Scanned: by cuda.sgi.com at sgi.com X-Barracuda-Spam-Score: -2.02 X-Barracuda-Spam-Status: No, SCORE=-2.02 using per-user scores of TAG_LEVEL=2.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=2.1 tests= X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.1.26336 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- X-Virus-Status: Clean Changes committed to git://oss.sgi.com/pcp/pcp.git CHANGELOG | 9 ++++ VERSION.pcp | 2 debian/GNUmakefile | 2 debian/changelog | 7 +++ debian/control | 6 +- debian/libpcp3-dev.install | 2 debian/libpcp3.dirs | 1 debian/libpcp3.install | 2 src/libpcp/src/tz.c | 101 ++++++++++++++++++++++++++++++++++++++++++++- 9 files changed, 124 insertions(+), 8 deletions(-) commit a97596e64b07dfd6a2b7165e01a5e3c1139e7874 Author: Nathan Scott Date: Thu May 21 16:29:45 2009 +1000 Bump version to 2.8.5. commit 847d8b7c1171bcab897333aae2617a0cd6da7fe9 Author: Nathan Scott Date: Thu May 21 16:20:25 2009 +1000 Sort out widespread timezone problems under Windows. We now use the native Win32 API to extract the timezone. This is a Windows timezone, we want the POSIX style but there's no API, really. What we've found works, is the same approach the MSYS dll takes - we set TZ their way (below) and then use tzset, then extract. Note that the %Z and %z strftime parameters do not contain abbreviated names/offsets (they both contain Windows timezone, and both are the same with no TZ). Note also that putting the Windows name into the environment as TZ does not do anything good (see the tzset MSDN docs). Resolves a pmchart bug reported by Nigel Donaldson, where pmchart (via __pmTimezone) was forcing TZ in the environment to something that was never going to work so Windows always ended up with GMT. commit 96b25580b84a0306b15f6814118da86487f3695a Author: Nathan Scott Date: Thu May 21 16:13:30 2009 +1000 Move the builddefs and buildrules files into the libpcp package. This allows for (esp. PMDA) build environments where libpcp and libpcp-devel packages only are installed, and not pcp. From mort@sgi.com Thu May 21 12:23:39 2009 X-Spam-Checker-Version: SpamAssassin 3.3.0-rupdated (updated) on oss.sgi.com X-Spam-Level: X-Spam-Status: No, score=-2.5 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.3.0-rupdated Received: from relay.sgi.com (relay2.corp.sgi.com [137.38.102.29]) by oss.sgi.com (8.14.3/8.14.3/SuSE Linux 0.8) with ESMTP id n4LHNdCC176076 for ; Thu, 21 May 2009 12:23:39 -0500 Received: from attica.americas.sgi.com (attica.americas.sgi.com [128.162.236.44]) by relay2.corp.sgi.com (Postfix) with ESMTP id A059D3040A4 for ; Thu, 21 May 2009 10:23:47 -0700 (PDT) Received: by attica.americas.sgi.com (Postfix, from userid 44682) id 4741BA1FAB93; Thu, 21 May 2009 12:23:47 -0500 (CDT) Date: Thu, 21 May 2009 12:23:47 -0500 From: Martin Hicks To: pcp@oss.sgi.com Subject: [patch] pmdate doesn't compile without pcp installed Message-ID: <20090521172347.GP28779@alcatraz.americas.sgi.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.17 (2007-11-01) X-Virus-Scanned: ClamAV version 0.94.2, clamav-milter version 0.94.2 on oss.sgi.com X-Virus-Status: Clean This patch fixes up compiling pmdate on a system without PCP installed. diff --git a/src/pmdate/pmdate.c b/src/pmdate/pmdate.c index 9ea3a2e..8578f58 100644 --- a/src/pmdate/pmdate.c +++ b/src/pmdate/pmdate.c @@ -18,8 +18,8 @@ * Display offset date */ -#include -#include +#include "pmapi.h" +#include "impl.h" #define usage "Usage: pmdate { +valueS | -valueS } ... format\n\ \n\ From mort@sgi.com Thu May 21 15:04:51 2009 X-Spam-Checker-Version: SpamAssassin 3.3.0-rupdated (updated) on oss.sgi.com X-Spam-Level: X-Spam-Status: No, score=-2.5 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.3.0-rupdated Received: from relay.sgi.com (relay2.corp.sgi.com [137.38.102.29]) by oss.sgi.com (8.14.3/8.14.3/SuSE Linux 0.8) with ESMTP id n4LK4pIf182554 for ; Thu, 21 May 2009 15:04:51 -0500 Received: from attica.americas.sgi.com (attica.americas.sgi.com [128.162.236.44]) by relay2.corp.sgi.com (Postfix) with ESMTP id F0E28304081 for ; Thu, 21 May 2009 13:04:59 -0700 (PDT) Received: by attica.americas.sgi.com (Postfix, from userid 44682) id C18FEA1FAB93; Thu, 21 May 2009 15:04:58 -0500 (CDT) Date: Thu, 21 May 2009 15:04:58 -0500 From: Martin Hicks To: pcp@oss.sgi.com Subject: mmv PMDA and ReplacePmnsSubtree Message-ID: <20090521200458.GR28779@alcatraz.americas.sgi.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.17 (2007-11-01) X-Virus-Scanned: ClamAV version 0.94.2, clamav-milter version 0.94.2 on oss.sgi.com X-Virus-Status: Clean I have an open bug inside SGI that says: "The mmv (memory-mapped values) PMDA should be migrated to use ReplacePmnsSubtree (pv:980089) to avoid potential namespace corruption issues." I'm not sure if this is still a problem for the mmv PMDA, but if it is perhaps a bugzilla bug should be opened. mh From nscott@aconex.com Thu May 21 19:05:47 2009 X-Spam-Checker-Version: SpamAssassin 3.3.0-rupdated (updated) on oss.sgi.com X-Spam-Level: X-Spam-Status: No, score=-2.2 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.3.0-rupdated Received: from cuda.sgi.com (cuda1.sgi.com [192.48.157.11]) by oss.sgi.com (8.14.3/8.14.3/SuSE Linux 0.8) with ESMTP id n4M05k0l195074 for ; Thu, 21 May 2009 19:05:46 -0500 X-ASG-Debug-ID: 1242951079-3e1b01a30000-S8gJnT X-Barracuda-URL: http://cuda.sgi.com:80/cgi-bin/mark.cgi Received: from postoffice2.aconex.com (localhost [127.0.0.1]) by cuda.sgi.com (Spam Firewall) with ESMTP id 64FBAFEA142 for ; Thu, 21 May 2009 17:11:20 -0700 (PDT) Received: from postoffice2.aconex.com (mail.aconex.com [203.89.202.182]) by cuda.sgi.com with ESMTP id mJoFMbulzLtoGymS for ; Thu, 21 May 2009 17:11:20 -0700 (PDT) Received: from postoffice.aconex.com (localhost [127.0.0.1]) by postoffice2.aconex.com (Spam Firewall) with ESMTP id 290366B67CE; Fri, 22 May 2009 10:05:52 +1000 (EST) Received: from postoffice.aconex.com (postoffice.yarra.acx [192.168.102.1]) by postoffice2.aconex.com with ESMTP id EvDFAIpApfNeWBmX; Fri, 22 May 2009 10:05:52 +1000 (EST) Received: from gatekeeper.aconex.com (gatekeeper.yarra.acx [192.168.102.10]) by postoffice.aconex.com (Postfix) with ESMTP id 0FD2CA50268; Fri, 22 May 2009 10:05:45 +1000 (EST) Received: from localhost (localhost.localdomain [127.0.0.1]) by gatekeeper.aconex.com (Postfix) with ESMTP id BF3BB4FD84; Fri, 22 May 2009 10:11:54 +1000 (EST) X-Virus-Scanned: ClamAV version 0.94.2, clamav-milter version 0.94.2 on oss.sgi.com X-Virus-Scanned: amavisd-new at gatekeeper.yarra.acx Received: from gatekeeper.aconex.com ([127.0.0.1]) by localhost (gatekeeper.aconex.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id iTNMC2GDN4l8; Fri, 22 May 2009 10:11:49 +1000 (EST) Received: from mail-au.aconex.com (mail-au.aconex.com [192.168.102.12]) by gatekeeper.aconex.com (Postfix) with ESMTP id ED33F4FD82; Fri, 22 May 2009 10:11:49 +1000 (EST) Date: Fri, 22 May 2009 10:05:47 +1000 (EST) From: Nathan Scott To: Martin Hicks Cc: pcp@oss.sgi.com Message-ID: <1386866933.5301221242950747168.JavaMail.root@mail-au.aconex.com> In-Reply-To: <20090521200458.GR28779@alcatraz.americas.sgi.com> X-ASG-Orig-Subj: Re: [pcp] mmv PMDA and ReplacePmnsSubtree Subject: Re: [pcp] mmv PMDA and ReplacePmnsSubtree MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Originating-IP: [203.89.192.141] X-Mailer: Zimbra 5.0.13_GA_2791.RHEL5_64 (ZimbraWebClient - [unknown] (Linux)/5.0.13_GA_2791.RHEL5_64) X-Barracuda-Connect: mail.aconex.com[203.89.202.182] X-Barracuda-Start-Time: 1242951082 X-Barracuda-Bayes: INNOCENT GLOBAL 0.0094 1.0000 -1.9595 X-Barracuda-Virus-Scanned: by cuda.sgi.com at sgi.com X-Barracuda-Spam-Score: -1.96 X-Barracuda-Spam-Status: No, SCORE=-1.96 using per-user scores of TAG_LEVEL=2.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=2.1 tests= X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.1.26405 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- X-Virus-Status: Clean Was that from Jonathan? It is very likely to still be a bug, so a bugzilla bug sounds like the way to go. ----- "Martin Hicks" wrote: > I have an open bug inside SGI that says: > > "The mmv (memory-mapped values) PMDA should be migrated to use > ReplacePmnsSubtree (pv:980089) to avoid potential namespace corruption > issues." > > I'm not sure if this is still a problem for the mmv PMDA, but if it > is > perhaps a bugzilla bug should be opened. > > mh > > _______________________________________________ > pcp mailing list > pcp@oss.sgi.com > http://oss.sgi.com/mailman/listinfo/pcp -- Nathan From nscott@aconex.com Thu May 21 19:06:57 2009 X-Spam-Checker-Version: SpamAssassin 3.3.0-rupdated (updated) on oss.sgi.com X-Spam-Level: X-Spam-Status: No, score=-2.2 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.3.0-rupdated Received: from cuda.sgi.com (cuda3.sgi.com [192.48.176.15]) by oss.sgi.com (8.14.3/8.14.3/SuSE Linux 0.8) with ESMTP id n4M06uOq195122 for ; Thu, 21 May 2009 19:06:57 -0500 X-ASG-Debug-ID: 1242950826-43c8008d0000-S8gJnT X-Barracuda-URL: http://cuda.sgi.com:80/cgi-bin/mark.cgi Received: from postoffice2.aconex.com (localhost [127.0.0.1]) by cuda.sgi.com (Spam Firewall) with ESMTP id 2688A19FCD35 for ; Thu, 21 May 2009 17:07:06 -0700 (PDT) Received: from postoffice2.aconex.com (mail.aconex.com [203.89.202.182]) by cuda.sgi.com with ESMTP id 27SJMpYjVCvBzkQJ for ; Thu, 21 May 2009 17:07:06 -0700 (PDT) Received: from postoffice.aconex.com (localhost [127.0.0.1]) by postoffice2.aconex.com (Spam Firewall) with ESMTP id E10C76B67F5; Fri, 22 May 2009 10:06:56 +1000 (EST) Received: from postoffice.aconex.com (postoffice.yarra.acx [192.168.102.1]) by postoffice2.aconex.com with ESMTP id qVNgnl3lOOtnkJYV; Fri, 22 May 2009 10:06:56 +1000 (EST) Received: from gatekeeper.aconex.com (gatekeeper.yarra.acx [192.168.102.10]) by postoffice.aconex.com (Postfix) with ESMTP id 89D49A50268; Fri, 22 May 2009 10:06:49 +1000 (EST) Received: from localhost (localhost.localdomain [127.0.0.1]) by gatekeeper.aconex.com (Postfix) with ESMTP id 4779C4FD84; Fri, 22 May 2009 10:12:59 +1000 (EST) X-Virus-Scanned: ClamAV version 0.94.2, clamav-milter version 0.94.2 on oss.sgi.com X-Virus-Scanned: amavisd-new at gatekeeper.yarra.acx Received: from gatekeeper.aconex.com ([127.0.0.1]) by localhost (gatekeeper.aconex.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id c2KFqbFrj7a7; Fri, 22 May 2009 10:12:54 +1000 (EST) Received: from mail-au.aconex.com (mail-au.aconex.com [192.168.102.12]) by gatekeeper.aconex.com (Postfix) with ESMTP id 754634FD8F; Fri, 22 May 2009 10:12:54 +1000 (EST) Date: Fri, 22 May 2009 10:06:49 +1000 (EST) From: Nathan Scott To: Martin Hicks Cc: pcp@oss.sgi.com Message-ID: <770426534.5301361242950809405.JavaMail.root@mail-au.aconex.com> In-Reply-To: <20090521172347.GP28779@alcatraz.americas.sgi.com> X-ASG-Orig-Subj: Re: [pcp] [patch] pmdate doesn't compile without pcp installed Subject: Re: [pcp] [patch] pmdate doesn't compile without pcp installed MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Originating-IP: [203.89.192.141] X-Mailer: Zimbra 5.0.13_GA_2791.RHEL5_64 (ZimbraWebClient - [unknown] (Linux)/5.0.13_GA_2791.RHEL5_64) X-Barracuda-Connect: mail.aconex.com[203.89.202.182] X-Barracuda-Start-Time: 1242950828 X-Barracuda-Bayes: INNOCENT GLOBAL 0.0630 1.0000 -1.6185 X-Barracuda-Virus-Scanned: by cuda.sgi.com at sgi.com X-Barracuda-Spam-Score: -1.62 X-Barracuda-Spam-Status: No, SCORE=-1.62 using per-user scores of TAG_LEVEL=2.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=2.1 tests= X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.1.26404 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- X-Virus-Status: Clean Thanks, I've merged it into my tree. If I can get hold of Ken to fix the Mac build fallout, I'll put out a 2.8.6 shortly... cheers. ----- "Martin Hicks" wrote: > This patch fixes up compiling pmdate on a system without PCP > installed. > > diff --git a/src/pmdate/pmdate.c b/src/pmdate/pmdate.c > index 9ea3a2e..8578f58 100644 > --- a/src/pmdate/pmdate.c > +++ b/src/pmdate/pmdate.c > @@ -18,8 +18,8 @@ > * Display offset date > */ > > -#include > -#include > +#include "pmapi.h" > +#include "impl.h" > > #define usage "Usage: pmdate { +valueS | -valueS } ... format\n\ > \n\ > > > _______________________________________________ > pcp mailing list > pcp@oss.sgi.com > http://oss.sgi.com/mailman/listinfo/pcp -- Nathan From nscott@aconex.com Thu May 21 19:14:29 2009 X-Spam-Checker-Version: SpamAssassin 3.3.0-rupdated (updated) on oss.sgi.com X-Spam-Level: X-Spam-Status: No, score=-2.0 required=5.0 tests=AWL,BAYES_00,J_CHICKENPOX_54, J_CHICKENPOX_63,J_CHICKENPOX_64,J_CHICKENPOX_74,J_CHICKENPOX_75 autolearn=no version=3.3.0-rupdated Received: from cuda.sgi.com (cuda2.sgi.com [192.48.176.25]) by oss.sgi.com (8.14.3/8.14.3/SuSE Linux 0.8) with ESMTP id n4M0ETKe195369 for ; Thu, 21 May 2009 19:14:29 -0500 X-ASG-Debug-ID: 1242951277-101a001e0000-S8gJnT X-Barracuda-URL: http://cuda.sgi.com:80/cgi-bin/mark.cgi Received: from postoffice2.aconex.com (localhost [127.0.0.1]) by cuda.sgi.com (Spam Firewall) with ESMTP id 2DCAE2A1FC2 for ; Thu, 21 May 2009 17:14:38 -0700 (PDT) Received: from postoffice2.aconex.com (mail.aconex.com [203.89.202.182]) by cuda.sgi.com with ESMTP id RQAQ3wueRl4rAECn for ; Thu, 21 May 2009 17:14:38 -0700 (PDT) Received: from postoffice.aconex.com (localhost [127.0.0.1]) by postoffice2.aconex.com (Spam Firewall) with ESMTP id E30A96B6898; Fri, 22 May 2009 10:14:36 +1000 (EST) Received: from postoffice.aconex.com (postoffice.yarra.acx [192.168.102.1]) by postoffice2.aconex.com with ESMTP id nLsF2VJkI5q2LYb5; Fri, 22 May 2009 10:14:36 +1000 (EST) Received: from gatekeeper.aconex.com (gatekeeper.yarra.acx [192.168.102.10]) by postoffice.aconex.com (Postfix) with ESMTP id C5659A50268; Fri, 22 May 2009 10:14:29 +1000 (EST) Received: from localhost (localhost.localdomain [127.0.0.1]) by gatekeeper.aconex.com (Postfix) with ESMTP id 8CC6B4FD8A; Fri, 22 May 2009 10:20:39 +1000 (EST) X-Virus-Scanned: ClamAV version 0.94.2, clamav-milter version 0.94.2 on oss.sgi.com X-Virus-Scanned: amavisd-new at gatekeeper.yarra.acx Received: from gatekeeper.aconex.com ([127.0.0.1]) by localhost (gatekeeper.aconex.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ffJGHjZryR6O; Fri, 22 May 2009 10:20:34 +1000 (EST) Received: from mail-au.aconex.com (mail-au.aconex.com [192.168.102.12]) by gatekeeper.aconex.com (Postfix) with ESMTP id C707B4FD82; Fri, 22 May 2009 10:20:34 +1000 (EST) Date: Fri, 22 May 2009 10:14:25 +1000 (EST) From: Nathan Scott To: Martin Hicks Cc: pcp@oss.sgi.com Message-ID: <1450490639.5302301242951265466.JavaMail.root@mail-au.aconex.com> In-Reply-To: <1826885076.5302261242951238548.JavaMail.root@mail-au.aconex.com> X-ASG-Orig-Subj: [PATCH] tmpfs metrics Subject: [PATCH] tmpfs metrics MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_Part_285927_743853918.1242951265464" X-Originating-IP: [203.89.192.141] X-Mailer: Zimbra 5.0.13_GA_2791.RHEL5_64 (ZimbraWebClient - [unknown] (Linux)/5.0.13_GA_2791.RHEL5_64) X-Barracuda-Connect: mail.aconex.com[203.89.202.182] X-Barracuda-Start-Time: 1242951280 X-Barracuda-Bayes: INNOCENT GLOBAL 0.0302 1.0000 -1.8257 X-Barracuda-Virus-Scanned: by cuda.sgi.com at sgi.com X-Barracuda-Spam-Score: -1.83 X-Barracuda-Spam-Status: No, SCORE=-1.83 using per-user scores of TAG_LEVEL=2.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=2.1 tests= X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.1.26404 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- X-Virus-Status: Clean ------=_Part_285927_743853918.1242951265464 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Hacked this up last night - resolves bugzilla bug #823. Could you give it a quick review? thanks! -- Nathan ------=_Part_285927_743853918.1242951265464 Content-Type: text/x-patch; name=tmpfs.patch Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=tmpfs.patch diff --git a/src/pmdas/linux/clusters.h b/src/pmdas/linux/clusters.h index a33f41b..ff29bf3 100644 --- a/src/pmdas/linux/clusters.h +++ b/src/pmdas/linux/clusters.h @@ -57,6 +57,7 @@ enum { CLUSTER_PID_SCHEDSTAT, /* 31 /proc//schedstat */ CLUSTER_PID_IO, /* 32 /proc//io */ CLUSTER_NET_INET, /* 33 /proc/net/dev and ioctl(SIOCGIFCONF) */ + CLUSTER_TMPFS, /* 34 /proc/mounts + statfs (tmpfs only) */ NUM_CLUSTERS /* one more than highest numbered cluster */ }; diff --git a/src/pmdas/linux/filesys.c b/src/pmdas/linux/filesys.c index e701be0..90fc00f 100644 --- a/src/pmdas/linux/filesys.c +++ b/src/pmdas/linux/filesys.c @@ -101,11 +101,12 @@ next: } int -refresh_filesys(pmInDom filesys_indom, pmInDom quota_indom) +refresh_filesys(pmInDom filesys_indom, pmInDom quota_indom, pmInDom tmpfs_indom) { char buf[MAXPATHLEN]; char realdevice[MAXPATHLEN]; filesys_t *fs; + pmInDom indom; FILE *fp; char *path; char *device; @@ -113,17 +114,15 @@ refresh_filesys(pmInDom filesys_indom, pmInDom quota_indom) int sts; pmdaCacheOp(quota_indom, PMDA_CACHE_INACTIVE); + pmdaCacheOp(tmpfs_indom, PMDA_CACHE_INACTIVE); pmdaCacheOp(filesys_indom, PMDA_CACHE_INACTIVE); if ((fp = fopen("/proc/mounts", "r")) == (FILE *)NULL) return -errno; while (fgets(buf, sizeof(buf), fp) != NULL) { - if (( device = strtok(buf, " ")) == 0 - || strncmp(device, "/dev", 4) != 0) + if ((device = strtok(buf, " ")) == 0) continue; - if (realpath(device, realdevice) != NULL) - device = realdevice; path = strtok(NULL, " "); type = strtok(NULL, " "); @@ -134,11 +133,21 @@ refresh_filesys(pmInDom filesys_indom, pmInDom quota_indom) strncmp(type, "auto", 4) == 0) continue; - sts = pmdaCacheLookupName(filesys_indom, device, NULL, (void **)&fs); + indom = filesys_indom; + if (strcmp(type, "tmpfs") == 0) { + indom = tmpfs_indom; + device = path; + } + else if (strncmp(device, "/dev", 4) != 0) + continue; + if (realpath(device, realdevice) != NULL) + device = realdevice; + + sts = pmdaCacheLookupName(indom, device, NULL, (void **)&fs); if (sts == PMDA_CACHE_ACTIVE) /* repeated line in /proc/mounts? */ continue; if (sts == PMDA_CACHE_INACTIVE) { /* re-activate an old mount */ - pmdaCacheStore(filesys_indom, PMDA_CACHE_ADD, device, fs); + pmdaCacheStore(indom, PMDA_CACHE_ADD, device, fs); if (strcmp(path, fs->path) != 0) { /* old device, new path */ free(fs->path); fs->path = strdup(path); @@ -155,7 +164,7 @@ refresh_filesys(pmInDom filesys_indom, pmInDom quota_indom) fs->path, device); } #endif - pmdaCacheStore(filesys_indom, PMDA_CACHE_ADD, device, fs); + pmdaCacheStore(indom, PMDA_CACHE_ADD, device, fs); } fs->flags = 0; diff --git a/src/pmdas/linux/filesys.h b/src/pmdas/linux/filesys.h index 2425fc5..568c28a 100644 --- a/src/pmdas/linux/filesys.h +++ b/src/pmdas/linux/filesys.h @@ -106,4 +106,4 @@ typedef struct filesys { struct statfs stats; } filesys_t; -extern int refresh_filesys(pmInDom, pmInDom); +extern int refresh_filesys(pmInDom, pmInDom, pmInDom); diff --git a/src/pmdas/linux/help b/src/pmdas/linux/help index 95f15d9..f429ae9 100644 --- a/src/pmdas/linux/help +++ b/src/pmdas/linux/help @@ -638,10 +638,17 @@ are SCSI tapes and scd[0-9] are SCSI CD-ROMS. @ filesys.maxfiles Inodes capacity of mounted filesystem @ filesys.usedfiles Number of inodes allocated on mounted filesystem @ filesys.freefiles Number of unallocated inodes on mounted filesystem -@ filesys.mountdir file system mount point -@ filesys.full percentage of filesystem in use +@ filesys.mountdir File system mount point +@ filesys.full Percentage of filesystem in use @ filesys.blocksize Size of each block on mounted filesystem (Bytes) @ filesys.avail Total space free to non-superusers on mounted filesystem (Kbytes) +@ tmpfs.capacity Total capacity of mounted tmpfs filesystem (Kbytes) +@ tmpfs.used Total space used on mounted tmpfs filesystem (Kbytes) +@ tmpfs.free Total space free on mounted tmpfs filesystem (Kbytes) +@ tmpfs.maxfiles Inodes capacity of mounted tmpfs filesystem +@ tmpfs.usedfiles Number of inodes allocated on mounted tmpfs filesystem +@ tmpfs.freefiles Number of unallocated inodes on mounted tmpfs filesystem +@ tmpfs.full Percentage of tmpfs filesystem in use @ swapdev.free physical swap free space @ swapdev.length physical swap size @ swapdev.maxswap maximum swap length (same as swapdev.length on Linux) diff --git a/src/pmdas/linux/indom.h b/src/pmdas/linux/indom.h index 36b1f72..bfd3dbb 100644 --- a/src/pmdas/linux/indom.h +++ b/src/pmdas/linux/indom.h @@ -37,6 +37,7 @@ #define NFS4_SVR_INDOM 15 #define QUOTA_PRJ_INDOM 16 #define NET_INET_INDOM 17 +#define TMPFS_INDOM 18 #define INDOM(x) (indomtab[x].it_indom) extern pmdaIndom indomtab[]; diff --git a/src/pmdas/linux/pmda.c b/src/pmdas/linux/pmda.c index 20789f6..f5da0c7 100644 --- a/src/pmdas/linux/pmda.c +++ b/src/pmdas/linux/pmda.c @@ -255,6 +255,7 @@ pmdaIndom indomtab[] = { { NFS4_SVR_INDOM, NR_RPC4_SVR_COUNTERS, nfs4_svr_indom_id }, { QUOTA_PRJ_INDOM, 0, NULL }, { NET_INET_INDOM, 0, NULL }, + { TMPFS_INDOM, 0, NULL }, }; @@ -1018,6 +1019,45 @@ static pmdaMetric metrictab[] = { PMDA_PMUNITS(1,0,0,PM_SPACE_KBYTE,0,0)}}, /* + * tmpfs filesystem cluster + */ + +/* tmpfs.capacity */ + { NULL, + { PMDA_PMID(CLUSTER_TMPFS,1), PM_TYPE_U64, TMPFS_INDOM, PM_SEM_DISCRETE, + PMDA_PMUNITS(1,0,0,PM_SPACE_KBYTE,0,0) } }, + +/* tmpfs.used */ + { NULL, + { PMDA_PMID(CLUSTER_TMPFS,2), PM_TYPE_U64, TMPFS_INDOM, PM_SEM_INSTANT, + PMDA_PMUNITS(1,0,0,PM_SPACE_KBYTE,0,0) } }, + +/* tmpfs.free */ + { NULL, + { PMDA_PMID(CLUSTER_TMPFS,3), PM_TYPE_U64, TMPFS_INDOM, PM_SEM_INSTANT, + PMDA_PMUNITS(1,0,0,PM_SPACE_KBYTE,0,0) } }, + +/* tmpfs.maxfiles */ + { NULL, + { PMDA_PMID(CLUSTER_TMPFS,4), PM_TYPE_U32, TMPFS_INDOM, PM_SEM_DISCRETE, + PMDA_PMUNITS(0,0,0,0,0,0) } }, + +/* tmpfs.usedfiles */ + { NULL, + { PMDA_PMID(CLUSTER_TMPFS,5), PM_TYPE_U32, TMPFS_INDOM, PM_SEM_INSTANT, + PMDA_PMUNITS(0,0,0,0,0,0) } }, + +/* tmpfs.freefiles */ + { NULL, + { PMDA_PMID(CLUSTER_TMPFS,6), PM_TYPE_U32, TMPFS_INDOM, PM_SEM_INSTANT, + PMDA_PMUNITS(0,0,0,0,0,0) } }, + +/* tmpfs.full */ + { NULL, + { PMDA_PMID(CLUSTER_TMPFS,7), PM_TYPE_DOUBLE, TMPFS_INDOM, PM_SEM_INSTANT, + PMDA_PMUNITS(0,0,0,0,0,0) } }, + +/* * swapdev cluster */ @@ -3375,8 +3415,10 @@ linux_refresh(int *need_refresh) if (need_refresh[CLUSTER_NET_INET]) refresh_net_dev_inet(INDOM(NET_INET_INDOM)); - if (need_refresh[CLUSTER_FILESYS] || need_refresh[CLUSTER_QUOTA]) - refresh_filesys(INDOM(FILESYS_INDOM), INDOM(QUOTA_PRJ_INDOM)); + if (need_refresh[CLUSTER_FILESYS] || need_refresh[CLUSTER_QUOTA] || + need_refresh[CLUSTER_TMPFS]) + refresh_filesys(INDOM(FILESYS_INDOM), INDOM(QUOTA_PRJ_INDOM), + INDOM(TMPFS_INDOM)); if (need_refresh[CLUSTER_SWAPDEV]) refresh_swapdev(INDOM(SWAPDEV_INDOM)); @@ -3460,6 +3502,9 @@ linux_instance(pmInDom indom, int inst, char *name, __pmInResult **result, pmdaE case FILESYS_INDOM: need_refresh[CLUSTER_FILESYS]++; break; + case TMPFS_INDOM: + need_refresh[CLUSTER_TMPFS]++; + break; case QUOTA_PRJ_INDOM: need_refresh[CLUSTER_QUOTA]++; break; @@ -4196,6 +4241,57 @@ linux_fetchCallBack(pmdaMetric *mdesc, unsigned int inst, pmAtomValue *atom) } break; + case CLUSTER_TMPFS: { + struct statfs *sbuf; + struct filesys *fs; + __uint64_t ull, used; + + sts = pmdaCacheLookup(INDOM(TMPFS_INDOM), inst, NULL, (void **)&fs); + if (sts < 0) + return sts; + if (sts != PMDA_CACHE_ACTIVE) + return PM_ERR_INST; + + sbuf = &fs->stats; + if (!(fs->flags & FSF_FETCHED)) { + if (statfs(fs->path, sbuf) < 0) + return -errno; + fs->flags |= FSF_FETCHED; + } + + switch (idp->item) { + case 1: /* tmpfs.capacity */ + ull = (__uint64_t)sbuf->f_blocks; + atom->ull = ull * sbuf->f_bsize / 1024; + break; + case 2: /* tmpfs.used */ + used = (__uint64_t)(sbuf->f_blocks - sbuf->f_bfree); + atom->ull = used * sbuf->f_bsize / 1024; + break; + case 3: /* tmpfs.free */ + ull = (__uint64_t)sbuf->f_bfree; + atom->ull = ull * sbuf->f_bsize / 1024; + break; + case 4: /* tmpfs.maxfiles */ + atom->ul = sbuf->f_files; + break; + case 5: /* tmpfs.usedfiles */ + atom->ul = sbuf->f_files - sbuf->f_ffree; + break; + case 6: /* tmpfs.freefiles */ + atom->ul = sbuf->f_ffree; + break; + case 7: /* tmpfs.full */ + used = (__uint64_t)(sbuf->f_blocks - sbuf->f_bfree); + ull = used + (__uint64_t)sbuf->f_bavail; + atom->d = (100.0 * (double)used) / (double)ull; + break; + default: + return PM_ERR_PMID; + } + } + break; + case CLUSTER_SWAPDEV: { struct swapdev *swap; diff --git a/src/pmdas/linux/root_linux b/src/pmdas/linux/root_linux index 3f037d0..1ccc04b 100644 --- a/src/pmdas/linux/root_linux +++ b/src/pmdas/linux/root_linux @@ -33,6 +33,7 @@ root { ipc vfs quota + tmpfs } hinv { @@ -461,6 +462,16 @@ filesys { avail 60:5:10 } +tmpfs { + capacity 60:34:1 + used 60:34:2 + free 60:34:3 + maxfiles 60:34:4 + usedfiles 60:34:5 + freefiles 60:34:6 + full 60:34:7 +} + swapdev { free 60:6:0 length 60:6:1 ------=_Part_285927_743853918.1242951265464-- From mort@sgi.com Thu May 21 19:35:11 2009 X-Spam-Checker-Version: SpamAssassin 3.3.0-rupdated (updated) on oss.sgi.com X-Spam-Level: X-Spam-Status: No, score=-2.5 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.3.0-rupdated Received: from relay.sgi.com (relay3.corp.sgi.com [198.149.34.15]) by oss.sgi.com (8.14.3/8.14.3/SuSE Linux 0.8) with ESMTP id n4M0ZASH196106 for ; Thu, 21 May 2009 19:35:11 -0500 Received: from attica.americas.sgi.com (attica.americas.sgi.com [128.162.236.44]) by relay3.corp.sgi.com (Postfix) with ESMTP id 32936AC025; Thu, 21 May 2009 17:35:18 -0700 (PDT) Received: by attica.americas.sgi.com (Postfix, from userid 44682) id 08B31A1FAB93; Thu, 21 May 2009 19:35:17 -0500 (CDT) Date: Thu, 21 May 2009 19:35:17 -0500 From: Martin Hicks To: Nathan Scott Cc: pcp@oss.sgi.com Subject: Re: [pcp] mmv PMDA and ReplacePmnsSubtree Message-ID: <20090522003517.GT28779@alcatraz.americas.sgi.com> References: <20090521200458.GR28779@alcatraz.americas.sgi.com> <1386866933.5301221242950747168.JavaMail.root@mail-au.aconex.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1386866933.5301221242950747168.JavaMail.root@mail-au.aconex.com> User-Agent: Mutt/1.5.17 (2007-11-01) X-Virus-Scanned: ClamAV version 0.94.2, clamav-milter version 0.94.2 on oss.sgi.com X-Virus-Status: Clean On Fri, May 22, 2009 at 10:05:47AM +1000, Nathan Scott wrote: > Was that from Jonathan? It is very likely to still > be a bug, so a bugzilla bug sounds like the way to go. yes. I'll file it tomorrow. > > ----- "Martin Hicks" wrote: > > > I have an open bug inside SGI that says: > > > > "The mmv (memory-mapped values) PMDA should be migrated to use > > ReplacePmnsSubtree (pv:980089) to avoid potential namespace corruption > > issues." > > > > I'm not sure if this is still a problem for the mmv PMDA, but if it > > is > > perhaps a bugzilla bug should be opened. > > > > mh > > > > _______________________________________________ > > pcp mailing list > > pcp@oss.sgi.com > > http://oss.sgi.com/mailman/listinfo/pcp > > -- > Nathan From nscott@aconex.com Thu May 21 19:37:01 2009 X-Spam-Checker-Version: SpamAssassin 3.3.0-rupdated (updated) on oss.sgi.com X-Spam-Level: X-Spam-Status: No, score=-2.2 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.3.0-rupdated Received: from cuda.sgi.com (cuda1.sgi.com [192.48.157.11]) by oss.sgi.com (8.14.3/8.14.3/SuSE Linux 0.8) with ESMTP id n4M0b1YZ196166 for ; Thu, 21 May 2009 19:37:01 -0500 X-ASG-Debug-ID: 1242952956-5b9901070000-S8gJnT X-Barracuda-URL: http://cuda.sgi.com:80/cgi-bin/mark.cgi Received: from postoffice2.aconex.com (localhost [127.0.0.1]) by cuda.sgi.com (Spam Firewall) with ESMTP id DE483FEA1EB for ; Thu, 21 May 2009 17:42:36 -0700 (PDT) Received: from postoffice2.aconex.com (mail.aconex.com [203.89.202.182]) by cuda.sgi.com with ESMTP id 65WZeSa5xO62iuNB for ; Thu, 21 May 2009 17:42:36 -0700 (PDT) Received: from postoffice.aconex.com (localhost [127.0.0.1]) by postoffice2.aconex.com (Spam Firewall) with ESMTP id 27939596BF2 for ; Fri, 22 May 2009 10:37:10 +1000 (EST) Received: from postoffice.aconex.com (postoffice.yarra.acx [192.168.102.1]) by postoffice2.aconex.com with ESMTP id ghJMHLitqlalTave for ; Fri, 22 May 2009 10:37:10 +1000 (EST) Received: from gatekeeper.aconex.com (gatekeeper.yarra.acx [192.168.102.10]) by postoffice.aconex.com (Postfix) with ESMTP id 161B6A50268 for ; Fri, 22 May 2009 10:37:03 +1000 (EST) Received: from localhost (localhost.localdomain [127.0.0.1]) by gatekeeper.aconex.com (Postfix) with ESMTP id ED0A84FD8C for ; Fri, 22 May 2009 10:43:12 +1000 (EST) X-Virus-Scanned: ClamAV version 0.94.2, clamav-milter version 0.94.2 on oss.sgi.com X-Virus-Scanned: amavisd-new at gatekeeper.yarra.acx Received: from gatekeeper.aconex.com ([127.0.0.1]) by localhost (gatekeeper.aconex.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id oDGxR9r5oilE for ; Fri, 22 May 2009 10:43:08 +1000 (EST) Received: from mail-au.aconex.com (mail-au.aconex.com [192.168.102.12]) by gatekeeper.aconex.com (Postfix) with ESMTP id 3A3254FD84 for ; Fri, 22 May 2009 10:43:08 +1000 (EST) Date: Fri, 22 May 2009 10:37:05 +1000 (EST) From: Nathan Scott To: pcp@oss.sgi.com Message-ID: <859418232.5309591242952625226.JavaMail.root@mail-au.aconex.com> In-Reply-To: <351077963.5309571242952618861.JavaMail.root@mail-au.aconex.com> X-ASG-Orig-Subj: [patch] unite pmid files Subject: [patch] unite pmid files MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_Part_286125_264669367.1242952625225" X-Originating-IP: [203.89.192.141] X-Mailer: Zimbra 5.0.13_GA_2791.RHEL5_64 (ZimbraWebClient - [unknown] (Linux)/5.0.13_GA_2791.RHEL5_64) X-Barracuda-Connect: mail.aconex.com[203.89.202.182] X-Barracuda-Start-Time: 1242952957 X-Barracuda-Bayes: INNOCENT GLOBAL 0.1925 1.0000 -0.8673 X-Barracuda-Virus-Scanned: by cuda.sgi.com at sgi.com X-Barracuda-Spam-Score: -0.87 X-Barracuda-Spam-Status: No, SCORE=-0.87 using per-user scores of TAG_LEVEL=2.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=2.1 tests= X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.1.26407 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- X-Virus-Status: Clean ------=_Part_286125_264669367.1242952625225 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit This was discussed awhile back, but I forgot to go and do it in the end. Could someone review? This merges all of the in-pcp PMDA domain number files, to simplify the process of choosing a free number. cheers. -- Nathan ------=_Part_286125_264669367.1242952625225 Content-Type: application/octet-stream; name=patch.pmids Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=patch.pmids diff --git a/src/pmns/GNUmakefile b/src/pmns/GNUmakefile index 28bbd45..12f5f7a 100644 --- a/src/pmns/GNUmakefile +++ b/src/pmns/GNUmakefile @@ -35,12 +31,10 @@ HFILES = pmnsutil.h TARGETS = pmnsmerge$(EXECSUFFIX) pmnsdel$(EXECSUFFIX) SCRIPTS = pmnsadd LOCKERS = lockpmns unlockpmns - -STDPMIDS= stdpmid.irix stdpmid.linux stdpmid.add-on stdpmid.local \ - stdpmid.pcp stdpmid.qa +STDPMID = stdpmid.pcp LSRCFILES = Make.stdpmid GNUmakefile.install Rebuild ReplacePmnsSubtree \ - $(STDPMIDS) $(SCRIPTS) $(LOCKERS) + $(STDPMID) $(SCRIPTS) $(LOCKERS) LLDLIBS = -lpcp LDIRT = *.log *.pmns stdpmid $(TARGETS) @@ -66,9 +60,9 @@ install: default $(INSTALL) -m 644 GNUmakefile.install $(PMNS_VAR_DIR)/Makefile $(INSTALL) -m 755 Rebuild $(PMNS_VAR_DIR)/Rebuild $(INSTALL) -m 755 Make.stdpmid $(PMNS_VAR_DIR)/Make.stdpmid - $(INSTALL) -m 644 $(STDPMIDS) $(PMNS_VAR_DIR) + $(INSTALL) -m 644 $(STDPMID) $(PMNS_VAR_DIR)/$(STDPMID) -stdpmid: $(STDPMIDS) +stdpmid: $(STDPMID) PCP_CONF=$(TOPDIR)/src/include/pcp.conf export PCP_CONF; \ sed -e 's/\$PCP_DIR\/etc\/pcp\.env/\.\.\/\.\.\/src\/include\/pcp.env/' run; \ sh ./run; rm -f run diff --git a/src/pmns/stdpmid.pcp b/src/pmns/stdpmid.pcp index eb8f039..6622c7f 100644 --- a/src/pmns/stdpmid.pcp +++ b/src/pmns/stdpmid.pcp @@ -2,6 +2,7 @@ # # PMDA Name Domain Number # +IRIX 1 PMCD 2 PROC 3 ENVIRON 4 @@ -12,17 +13,36 @@ NETPROBE 8 MAILQ 9 TRACE 10 ASH 11 +FSAFE 12 MPI 13 DMF 14 SENDMAIL 15 -ESPPING 18 +XVM 16 BROCADE 17 +ESPPING 18 SHPING 19 +HPUX 20 +WEBPING 21 +WEBSERVER 22 +ARRAY0 23 +ARRAY1 24 +ARRAY2 25 +ARRAY3 26 SYSSUMMARY 27 NEWSAGENT 28 SAMPLE 29 SAMPLEDSO 30 +KERN_DEV 31 +ORACLE 32 +SYBASE 40 +INFORMIX 48 SNMP 56 +LOCKSTAT 59 +LINUX 60 +MYRINET 61 +SNIA 63 +CLUSTER 65 +MYSQL 66 LOGTAIL 67 APACHE 68 ROOMTEMP 69 @@ -31,15 +51,38 @@ PROCESS 71 MOUNTS 72 SNIFF 73 LMSENSORS 74 +SOLARIS 75 +SAMBA 76 +NFS 77 +DARWIN 78 +WINDOWS 79 +AIX 80 +TG3 81 +CXFS 82 +FCSW 83 +CPUSET 84 +FREEBSD 85 +RPCBIND 86 JSTAT 87 SYSTEMTAP 88 MEMCACHE 89 VMWARE 90 +IB 91 +ISCSI 92 +LUSTRECOMM 93 +SDR 94 KVM 95 BONDING 96 NETFILTER 97 +### NEXT FREE SLOT ### +DBPING 244 COUNTD 245 LAB 246 +DYNAMIC 247 TXMON 248 +BROKEN 249 TRIVIAL 250 +SYBPING 251 +INFMXPING 252 SIMPLE 253 +ORAPING 254 ------=_Part_286125_264669367.1242952625225-- From kenj@internode.on.net Thu May 21 20:03:15 2009 X-Spam-Checker-Version: SpamAssassin 3.3.0-rupdated (updated) on oss.sgi.com X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00 autolearn=ham version=3.3.0-rupdated Received: from cuda.sgi.com (cuda2.sgi.com [192.48.176.25]) by oss.sgi.com (8.14.3/8.14.3/SuSE Linux 0.8) with ESMTP id n4M13ECM196529 for ; Thu, 21 May 2009 20:03:14 -0500 X-ASG-Debug-ID: 1242954203-135e02760000-S8gJnT X-Barracuda-URL: http://cuda.sgi.com:80/cgi-bin/mark.cgi Received: from mail.internode.on.net (localhost [127.0.0.1]) by cuda.sgi.com (Spam Firewall) with ESMTP id 810642A217B for ; Thu, 21 May 2009 18:03:24 -0700 (PDT) Received: from mail.internode.on.net (bld-mail12.adl6.internode.on.net [150.101.137.97]) by cuda.sgi.com with ESMTP id epHXXt4229dS1QSs for ; Thu, 21 May 2009 18:03:24 -0700 (PDT) Received: from [123.211.117.157] (unverified [123.211.117.157]) by mail.internode.on.net (SurgeMail 3.8f2) with ESMTP id 37829-1927428 for multiple; Fri, 22 May 2009 10:33:19 +0930 (CST) X-ASG-Orig-Subj: Re: [pcp] mmv PMDA and ReplacePmnsSubtree Subject: Re: [pcp] mmv PMDA and ReplacePmnsSubtree From: Ken McDonell Reply-To: kenj@internode.on.net To: Martin Hicks Cc: pcp@oss.sgi.com In-Reply-To: <20090521200458.GR28779@alcatraz.americas.sgi.com> References: <20090521200458.GR28779@alcatraz.americas.sgi.com> Content-Type: text/plain Date: Fri, 22 May 2009 11:03:13 +1000 Message-Id: <1242954193.4630.2.camel@bozo-laptop.localdomain> Mime-Version: 1.0 X-Mailer: Evolution 2.26.1 Content-Transfer-Encoding: 7bit X-Barracuda-Connect: bld-mail12.adl6.internode.on.net[150.101.137.97] X-Barracuda-Start-Time: 1242954205 X-Barracuda-Bayes: INNOCENT GLOBAL 0.0003 1.0000 -2.0192 X-Barracuda-Virus-Scanned: by cuda.sgi.com at sgi.com X-Barracuda-Spam-Score: -2.02 X-Barracuda-Spam-Status: No, SCORE=-2.02 using per-user scores of TAG_LEVEL=2.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=2.1 tests= X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.1.26408 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- X-Virus-Scanned: ClamAV version 0.94.2, clamav-milter version 0.94.2 on oss.sgi.com X-Virus-Status: Clean I'm not sure what ReplacePmnsSubtree does (that is after my time), but I think this whole dynamic pmns approach we've used has been wrong. Much simpler and more robust would be for non-terminals in the pmns to be marked as "proxied at pmda" and pmcd to pass all namespace requests through to the pmda. I'll try and knock up a design document to descibe how I think this should work as the basis for discussion. Independent of this, the issue should go into bugzilla so I make sure it is addressed in any redesign. On Thu, 2009-05-21 at 15:04 -0500, Martin Hicks wrote: > I have an open bug inside SGI that says: > > "The mmv (memory-mapped values) PMDA should be migrated to use > ReplacePmnsSubtree (pv:980089) to avoid potential namespace corruption issues." > > I'm not sure if this is still a problem for the mmv PMDA, but if it is > perhaps a bugzilla bug should be opened. > > mh > > _______________________________________________ > pcp mailing list > pcp@oss.sgi.com > http://oss.sgi.com/mailman/listinfo/pcp From nscott@aconex.com Thu May 21 23:11:03 2009 X-Spam-Checker-Version: SpamAssassin 3.3.0-rupdated (updated) on oss.sgi.com X-Spam-Level: X-Spam-Status: No, score=-2.2 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.3.0-rupdated Received: from cuda.sgi.com (cuda3.sgi.com [192.48.176.15]) by oss.sgi.com (8.14.3/8.14.3/SuSE Linux 0.8) with ESMTP id n4M4B2C8202603 for ; Thu, 21 May 2009 23:11:03 -0500 X-ASG-Debug-ID: 1242965472-1fa9030a0000-S8gJnT X-Barracuda-URL: http://cuda.sgi.com:80/cgi-bin/mark.cgi Received: from postoffice2.aconex.com (localhost [127.0.0.1]) by cuda.sgi.com (Spam Firewall) with ESMTP id 0FCC219FDC2C for ; Thu, 21 May 2009 21:11:13 -0700 (PDT) Received: from postoffice2.aconex.com (mail.aconex.com [203.89.202.182]) by cuda.sgi.com with ESMTP id jR5oW6oRctW5dlbR for ; Thu, 21 May 2009 21:11:13 -0700 (PDT) Received: from postoffice.aconex.com (localhost [127.0.0.1]) by postoffice2.aconex.com (Spam Firewall) with ESMTP id AC9C159744A; Fri, 22 May 2009 14:11:11 +1000 (EST) Received: from postoffice.aconex.com (postoffice.yarra.acx [192.168.102.1]) by postoffice2.aconex.com with ESMTP id U5VfE076qI2tgCYc; Fri, 22 May 2009 14:11:11 +1000 (EST) Received: from gatekeeper.aconex.com (gatekeeper.yarra.acx [192.168.102.10]) by postoffice.aconex.com (Postfix) with ESMTP id 894D2A50268; Fri, 22 May 2009 14:11:04 +1000 (EST) Received: from localhost (localhost.localdomain [127.0.0.1]) by gatekeeper.aconex.com (Postfix) with ESMTP id A6E684FD82; Fri, 22 May 2009 14:17:15 +1000 (EST) X-Virus-Scanned: ClamAV version 0.94.2, clamav-milter version 0.94.2 on oss.sgi.com X-Virus-Scanned: amavisd-new at gatekeeper.yarra.acx Received: from gatekeeper.aconex.com ([127.0.0.1]) by localhost (gatekeeper.aconex.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id JApLoKqT4gYC; Fri, 22 May 2009 14:17:10 +1000 (EST) Received: from mail-au.aconex.com (mail-au.aconex.com [192.168.102.12]) by gatekeeper.aconex.com (Postfix) with ESMTP id 9ADA84FD84; Fri, 22 May 2009 14:17:10 +1000 (EST) Date: Fri, 22 May 2009 14:11:06 +1000 (EST) From: Nathan Scott To: kenj@internode.on.net Cc: pcp@oss.sgi.com, Martin Hicks Message-ID: <679952887.5327541242965466505.JavaMail.root@mail-au.aconex.com> In-Reply-To: <930781385.5327191242965180218.JavaMail.root@mail-au.aconex.com> X-ASG-Orig-Subj: Re: [pcp] mmv PMDA and ReplacePmnsSubtree Subject: Re: [pcp] mmv PMDA and ReplacePmnsSubtree MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Originating-IP: [203.89.192.141] X-Mailer: Zimbra 5.0.13_GA_2791.RHEL5_64 (ZimbraWebClient - [unknown] (Linux)/5.0.13_GA_2791.RHEL5_64) X-Barracuda-Connect: mail.aconex.com[203.89.202.182] X-Barracuda-Start-Time: 1242965474 X-Barracuda-Bayes: INNOCENT GLOBAL 0.0443 1.0000 -1.7357 X-Barracuda-Virus-Scanned: by cuda.sgi.com at sgi.com X-Barracuda-Spam-Score: -1.74 X-Barracuda-Spam-Status: No, SCORE=-1.74 using per-user scores of TAG_LEVEL=2.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=2.1 tests= X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.1.26419 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- X-Virus-Status: Clean ----- "Ken McDonell" wrote: > I'm not sure what ReplacePmnsSubtree does (that is after my time), but src/pmns/ReplacePmnsSubtree (its after my time too, but IIRC Jonathan wrote it to resolve some PMNS locking issues). cheers. -- Nathan From nscott@aconex.com Thu May 21 23:29:25 2009 X-Spam-Checker-Version: SpamAssassin 3.3.0-rupdated (updated) on oss.sgi.com X-Spam-Level: X-Spam-Status: No, score=-2.2 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.3.0-rupdated Received: from cuda.sgi.com (cuda3.sgi.com [192.48.176.15]) by oss.sgi.com (8.14.3/8.14.3/SuSE Linux 0.8) with ESMTP id n4M4TOps203373 for ; Thu, 21 May 2009 23:29:25 -0500 X-ASG-Debug-ID: 1242966573-036a00ff0000-S8gJnT X-Barracuda-URL: http://cuda.sgi.com:80/cgi-bin/mark.cgi Received: from postoffice2.aconex.com (localhost [127.0.0.1]) by cuda.sgi.com (Spam Firewall) with ESMTP id 454B219FDDC2 for ; Thu, 21 May 2009 21:29:34 -0700 (PDT) Received: from postoffice2.aconex.com (mail.aconex.com [203.89.202.182]) by cuda.sgi.com with ESMTP id ZbTcVrg1DJg28dT0 for ; Thu, 21 May 2009 21:29:34 -0700 (PDT) Received: from postoffice.aconex.com (localhost [127.0.0.1]) by postoffice2.aconex.com (Spam Firewall) with ESMTP id DA8D77798AC for ; Fri, 22 May 2009 14:29:32 +1000 (EST) Received: from postoffice.aconex.com (postoffice.yarra.acx [192.168.102.1]) by postoffice2.aconex.com with ESMTP id nOI3WBfJJp2Lrsg8 for ; Fri, 22 May 2009 14:29:32 +1000 (EST) Received: from gatekeeper.aconex.com (gatekeeper.yarra.acx [192.168.102.10]) by postoffice.aconex.com (Postfix) with ESMTP id 9FCA1A50268 for ; Fri, 22 May 2009 14:29:25 +1000 (EST) Received: from localhost (localhost.localdomain [127.0.0.1]) by gatekeeper.aconex.com (Postfix) with ESMTP id 5576C4FD82 for ; Fri, 22 May 2009 14:35:36 +1000 (EST) X-Virus-Scanned: ClamAV version 0.94.2, clamav-milter version 0.94.2 on oss.sgi.com X-Virus-Scanned: amavisd-new at gatekeeper.yarra.acx Received: from gatekeeper.aconex.com ([127.0.0.1]) by localhost (gatekeeper.aconex.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id kTeNDHYwEhWk for ; Fri, 22 May 2009 14:35:31 +1000 (EST) Received: from mail-au.aconex.com (mail-au.aconex.com [192.168.102.12]) by gatekeeper.aconex.com (Postfix) with ESMTP id B31D54FD8A for ; Fri, 22 May 2009 14:35:30 +1000 (EST) Date: Fri, 22 May 2009 14:29:26 +1000 (EST) From: Nathan Scott To: pcp@oss.sgi.com Message-ID: <361915027.5329741242966566470.JavaMail.root@mail-au.aconex.com> X-ASG-Orig-Subj: pcp-gui updates (1.4.1) Subject: pcp-gui updates (1.4.1) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Originating-IP: [203.89.192.141] X-Mailer: Zimbra 5.0.13_GA_2791.RHEL5_64 (ZimbraWebClient - [unknown] (Linux)/5.0.13_GA_2791.RHEL5_64) X-Barracuda-Connect: mail.aconex.com[203.89.202.182] X-Barracuda-Start-Time: 1242966575 X-Barracuda-Bayes: INNOCENT GLOBAL 0.0000 1.0000 -2.0210 X-Barracuda-Virus-Scanned: by cuda.sgi.com at sgi.com X-Barracuda-Spam-Score: -2.02 X-Barracuda-Spam-Status: No, SCORE=-2.02 using per-user scores of TAG_LEVEL=2.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=2.1 tests= X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.1.26421 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- X-Virus-Status: Clean Changes committed to git://oss.sgi.com/pcp/pcp-gui.git VERSION | 4 ++-- debian/changelog | 6 ++++++ doc/CHANGES | 10 ++++++++++ src/chart/chartdialog.cpp | 7 +++++-- src/chart/fileformat.cpp | 3 +++ 5 files changed, 26 insertions(+), 4 deletions(-) commit 81920eeb0eb1e59716698a89a3be497d85ab88f9 Author: Nathan Scott Date: Fri May 22 14:20:26 2009 +1000 Bump version and merge doc updates into dev branch. commit 6c3da4dd06d045818afba8da4cc93e12364b5c36 Author: Nathan Scott Date: Fri May 22 12:53:53 2009 +1000 Correct a host/metrics mismatch in the metric selector. Reported by Nigel Donaldson in bug #824, this problem occurs when an invalid context is added into the metric selector tree widget, and we eventually end up assigning a valid hosts metrics to the bad host as well. Fix is fairly straightforward - need to take more care when adding top level metric sources into the list. commit d41255f230ab634fc0357acda26f919c2d012c64 Author: Nathan Scott Date: Fri May 22 12:21:10 2009 +1000 Fix the tab pmchart config keyword when used with a host qualifier. The parser forgot to consume the host name properly, and confusion reigned. From goodwinos@gmail.com Thu May 21 23:39:34 2009 X-Spam-Checker-Version: SpamAssassin 3.3.0-rupdated (updated) on oss.sgi.com X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.3.0-rupdated Received: from cuda.sgi.com (cuda3.sgi.com [192.48.176.15]) by oss.sgi.com (8.14.3/8.14.3/SuSE Linux 0.8) with ESMTP id n4M4dXnR203735 for ; Thu, 21 May 2009 23:39:34 -0500 X-ASG-Debug-ID: 1242967184-1fb403a90000-S8gJnT X-Barracuda-URL: http://cuda.sgi.com:80/cgi-bin/mark.cgi Received: from mx2.redhat.com (localhost [127.0.0.1]) by cuda.sgi.com (Spam Firewall) with ESMTP id 3939C19FDE86 for ; Thu, 21 May 2009 21:39:44 -0700 (PDT) Received: from mx2.redhat.com (mx2.redhat.com [66.187.237.31]) by cuda.sgi.com with ESMTP id HF3V8iK10iyqDwXi for ; Thu, 21 May 2009 21:39:44 -0700 (PDT) Received: from int-mx2.corp.redhat.com (int-mx2.corp.redhat.com [172.16.27.26]) by mx2.redhat.com (8.13.8/8.13.8) with ESMTP id n4M4dZNS028288; Fri, 22 May 2009 00:39:35 -0400 Received: from ns3.rdu.redhat.com (ns3.rdu.redhat.com [10.11.255.199]) by int-mx2.corp.redhat.com (8.13.1/8.13.1) with ESMTP id n4M4dYu5018922; Fri, 22 May 2009 00:39:34 -0400 Received: from [10.64.176.217] (dhcp-176-217.mel.redhat.com [10.64.176.217]) by ns3.rdu.redhat.com (8.13.8/8.13.8) with ESMTP id n4M4dWTj004102; Fri, 22 May 2009 00:39:33 -0400 Message-ID: <4A162C83.2070802@gmail.com> Date: Fri, 22 May 2009 14:39:31 +1000 From: Mark Goodwin User-Agent: Thunderbird 2.0.0.21 (X11/20090320) MIME-Version: 1.0 To: Nathan Scott CC: kenj@internode.on.net, pcp@oss.sgi.com X-ASG-Orig-Subj: Re: [pcp] mmv PMDA and ReplacePmnsSubtree Subject: Re: [pcp] mmv PMDA and ReplacePmnsSubtree References: <679952887.5327541242965466505.JavaMail.root@mail-au.aconex.com> In-Reply-To: <679952887.5327541242965466505.JavaMail.root@mail-au.aconex.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 2.58 on 172.16.27.26 X-Barracuda-Connect: mx2.redhat.com[66.187.237.31] X-Barracuda-Start-Time: 1242967185 X-Barracuda-Bayes: INNOCENT GLOBAL 0.0000 1.0000 -2.0210 X-Barracuda-Virus-Scanned: by cuda.sgi.com at sgi.com X-Barracuda-Spam-Score: -2.02 X-Barracuda-Spam-Status: No, SCORE=-2.02 using per-user scores of TAG_LEVEL=2.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=2.1 tests= X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.1.26421 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- X-Virus-Scanned: ClamAV version 0.94.2, clamav-milter version 0.94.2 on oss.sgi.com X-Virus-Status: Clean Nathan Scott wrote: > ----- "Ken McDonell" wrote: > >> I'm not sure what ReplacePmnsSubtree does (that is after my time), but > > src/pmns/ReplacePmnsSubtree (its after my time too, but IIRC > Jonathan wrote it to resolve some PMNS locking issues). yes he did. IIRC, the pmns manipulation scripts had no mutex. I think we tripped up during rc when one PMDA dynamically reconfigured it's pmns whilst another was auto-installing via .NEEDINSTALL during rc. Something like that. -- Mark From wwwrun@oss.sgi.com Fri May 22 08:36:43 2009 X-Spam-Checker-Version: SpamAssassin 3.3.0-rupdated (updated) on oss.sgi.com X-Spam-Level: * X-Spam-Status: No, score=1.2 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_20, TVD_PH_SUBJ_ACCOUNTS_POST autolearn=no version=3.3.0-rupdated Received: from oss.sgi.com (localhost [127.0.0.1]) by oss.sgi.com (8.14.3/8.14.3/SuSE Linux 0.8) with ESMTP id n4MDahM9220249 for ; Fri, 22 May 2009 08:36:43 -0500 Received: (from wwwrun@localhost) by oss.sgi.com (8.14.3/8.14.3/Submit) id n4MDahRb220248; Fri, 22 May 2009 08:36:43 -0500 Date: Fri, 22 May 2009 08:36:43 -0500 Message-Id: <200905221336.n4MDahRb220248@oss.sgi.com> From: bugzilla-daemon@oss.sgi.com To: pcp@oss.sgi.com Subject: Bugzilla: confirm account creation X-Bugzilla-Type: admin Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 Bugzilla has received a request to create a user account using your email address (pcp@oss.sgi.com). To continue creating an account using this email address, visit the following link by May 25th, 2009 at 08:36 CDT: http://oss.sgi.com/bugzilla/token.cgi?t=kRM5KKedvf&a=request_new_account If you did not receive this email before May 25th, 2009 at 08:36 CDT or you wish to create an account using a different email address you can begin again by going to: http://oss.sgi.com/bugzilla/createaccount.cgi PRIVACY NOTICE: Bugzilla is an open bug tracking system. Activity on most bugs, including email addresses, will be visible to the public. We recommend using a secondary account or free web email service (such as Gmail, Yahoo, Hotmail, or similar) to avoid receiving spam at your primary email address. If you do not wish to create an account, or if this request was made in error you can do nothing or visit the following link: http://oss.sgi.com/bugzilla/token.cgi?t=kRM5KKedvf&a=cancel_new_account If the above links do not work, or you have any other issues regarding your account, please contact administration at cattelan@xfs.org. From wwwrun@oss.sgi.com Fri May 22 09:12:39 2009 X-Spam-Checker-Version: SpamAssassin 3.3.0-rupdated (updated) on oss.sgi.com X-Spam-Level: X-Spam-Status: No, score=-1.2 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00 autolearn=ham version=3.3.0-rupdated Received: from oss.sgi.com (localhost [127.0.0.1]) by oss.sgi.com (8.14.3/8.14.3/SuSE Linux 0.8) with ESMTP id n4MECcig221195 for ; Fri, 22 May 2009 09:12:38 -0500 Received: (from wwwrun@localhost) by oss.sgi.com (8.14.3/8.14.3/Submit) id n4MECctE221194; Fri, 22 May 2009 09:12:38 -0500 Date: Fri, 22 May 2009 09:12:38 -0500 From: bugzilla-daemon@oss.sgi.com To: pcp@oss.sgi.com Subject: [Bug 833] New: mmv PMDA succeptible to namespace locking issues X-Bugzilla-Reason: CC X-Bugzilla-Type: newchanged X-Bugzilla-Watch-Reason: None X-Bugzilla-Classification: Unclassified X-Bugzilla-Product: pcp X-Bugzilla-Component: pcp X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: mort@sgi.com X-Bugzilla-Status: NEW X-Bugzilla-Priority: P5 X-Bugzilla-Assigned-To: mort@sgi.com X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: Message-ID: Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 http://oss.sgi.com/bugzilla/show_bug.cgi?id=833 Summary: mmv PMDA succeptible to namespace locking issues Product: pcp Version: unspecified Platform: All OS/Version: All Status: NEW Severity: normal Priority: P5 Component: pcp AssignedTo: mort@sgi.com ReportedBy: mort@sgi.com CC: pcp@oss.sgi.com Estimated Hours: 0.0 Classification: Unclassified A bug from Jonathan: The mmv (memory-mapped values) PMDA should be migrated to use ReplacePmnsSubtree to avoid potential namespace corruption issues. -- Configure bugmail: http://oss.sgi.com/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug. From wwwrun@oss.sgi.com Fri May 22 11:26:49 2009 X-Spam-Checker-Version: SpamAssassin 3.3.0-rupdated (updated) on oss.sgi.com X-Spam-Level: X-Spam-Status: No, score=-1.2 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00 autolearn=ham version=3.3.0-rupdated Received: from oss.sgi.com (localhost [127.0.0.1]) by oss.sgi.com (8.14.3/8.14.3/SuSE Linux 0.8) with ESMTP id n4MGQncB224909 for ; Fri, 22 May 2009 11:26:49 -0500 Received: (from wwwrun@localhost) by oss.sgi.com (8.14.3/8.14.3/Submit) id n4MGQnfC224908; Fri, 22 May 2009 11:26:49 -0500 Date: Fri, 22 May 2009 11:26:49 -0500 From: bugzilla-daemon@oss.sgi.com To: pcp@oss.sgi.com Subject: [Bug 834] New: test bug X-Bugzilla-Reason: CC X-Bugzilla-Type: newchanged X-Bugzilla-Watch-Reason: None X-Bugzilla-Classification: Unclassified X-Bugzilla-Product: pcp X-Bugzilla-Component: pcp X-Bugzilla-Keywords: X-Bugzilla-Severity: trivial X-Bugzilla-Who: mort@sgi.com X-Bugzilla-Status: NEW X-Bugzilla-Priority: P5 X-Bugzilla-Assigned-To: mort@sgi.com X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: Message-ID: Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 http://oss.sgi.com/bugzilla/show_bug.cgi?id=834 Summary: test bug Product: pcp Version: unspecified Platform: All OS/Version: Linux Status: NEW Severity: trivial Priority: P5 Component: pcp AssignedTo: mort@sgi.com ReportedBy: mort@sgi.com CC: pcp@oss.sgi.com Estimated Hours: 0.0 Classification: Unclassified trying to get mail to go to the mailing list. -- Configure bugmail: http://oss.sgi.com/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug. From wwwrun@oss.sgi.com Fri May 22 11:38:47 2009 X-Spam-Checker-Version: SpamAssassin 3.3.0-rupdated (updated) on oss.sgi.com X-Spam-Level: X-Spam-Status: No, score=-1.2 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00 autolearn=ham version=3.3.0-rupdated Received: from oss.sgi.com (localhost [127.0.0.1]) by oss.sgi.com (8.14.3/8.14.3/SuSE Linux 0.8) with ESMTP id n4MGcl6O225395 for ; Fri, 22 May 2009 11:38:47 -0500 Received: (from wwwrun@localhost) by oss.sgi.com (8.14.3/8.14.3/Submit) id n4MGclua225393; Fri, 22 May 2009 11:38:47 -0500 Date: Fri, 22 May 2009 11:38:47 -0500 Message-Id: <200905221638.n4MGclua225393@oss.sgi.com> From: bugzilla-daemon@oss.sgi.com To: pcp@oss.sgi.com Subject: [Bug 834] test bug X-Bugzilla-Reason: CC X-Bugzilla-Type: newchanged X-Bugzilla-Watch-Reason: None X-Bugzilla-Classification: Unclassified X-Bugzilla-Product: pcp X-Bugzilla-Component: pcp X-Bugzilla-Keywords: X-Bugzilla-Severity: trivial X-Bugzilla-Who: mort@sgi.com X-Bugzilla-Status: NEW X-Bugzilla-Priority: P5 X-Bugzilla-Assigned-To: mort@sgi.com X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: In-Reply-To: References: Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 http://oss.sgi.com/bugzilla/show_bug.cgi?id=834 --- Comment #1 from Martin Hicks 2009-05-22 11:38:46 CST --- update the bug. -- Configure bugmail: http://oss.sgi.com/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug. From wwwrun@oss.sgi.com Fri May 22 11:47:15 2009 X-Spam-Checker-Version: SpamAssassin 3.3.0-rupdated (updated) on oss.sgi.com X-Spam-Level: X-Spam-Status: No, score=-1.2 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00 autolearn=ham version=3.3.0-rupdated Received: from oss.sgi.com (localhost [127.0.0.1]) by oss.sgi.com (8.14.3/8.14.3/SuSE Linux 0.8) with ESMTP id n4MGlFGL225514 for ; Fri, 22 May 2009 11:47:15 -0500 Received: (from wwwrun@localhost) by oss.sgi.com (8.14.3/8.14.3/Submit) id n4MGlFmS225513; Fri, 22 May 2009 11:47:15 -0500 Date: Fri, 22 May 2009 11:47:15 -0500 Message-Id: <200905221647.n4MGlFmS225513@oss.sgi.com> From: bugzilla-daemon@oss.sgi.com To: pcp@oss.sgi.com Subject: [Bug 834] test bug X-Bugzilla-Reason: CC X-Bugzilla-Type: newchanged X-Bugzilla-Watch-Reason: None X-Bugzilla-Classification: Unclassified X-Bugzilla-Product: pcp X-Bugzilla-Component: pcp X-Bugzilla-Keywords: X-Bugzilla-Severity: trivial X-Bugzilla-Who: cattelan@thebarn.com X-Bugzilla-Status: NEW X-Bugzilla-Priority: P5 X-Bugzilla-Assigned-To: mort@sgi.com X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: CC In-Reply-To: References: Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 http://oss.sgi.com/bugzilla/show_bug.cgi?id=834 Russell Cattelan changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |cattelan@thebarn.com --- Comment #2 from Russell Cattelan 2009-05-22 11:47:14 CST --- More comments to the fake bug -- Configure bugmail: http://oss.sgi.com/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug. From wwwrun@oss.sgi.com Fri May 22 11:51:06 2009 X-Spam-Checker-Version: SpamAssassin 3.3.0-rupdated (updated) on oss.sgi.com X-Spam-Level: X-Spam-Status: No, score=-1.2 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00 autolearn=ham version=3.3.0-rupdated Received: from oss.sgi.com (localhost [127.0.0.1]) by oss.sgi.com (8.14.3/8.14.3/SuSE Linux 0.8) with ESMTP id n4MGp5lt225615 for ; Fri, 22 May 2009 11:51:06 -0500 Received: (from wwwrun@localhost) by oss.sgi.com (8.14.3/8.14.3/Submit) id n4MGp5Pd225614; Fri, 22 May 2009 11:51:05 -0500 Date: Fri, 22 May 2009 11:51:05 -0500 Message-Id: <200905221651.n4MGp5Pd225614@oss.sgi.com> From: bugzilla-daemon@oss.sgi.com To: pcp@oss.sgi.com Subject: [Bug 834] test bug X-Bugzilla-Reason: CC X-Bugzilla-Type: newchanged X-Bugzilla-Watch-Reason: None X-Bugzilla-Classification: Unclassified X-Bugzilla-Product: pcp X-Bugzilla-Component: pcp X-Bugzilla-Keywords: X-Bugzilla-Severity: trivial X-Bugzilla-Who: cattelan@thebarn.com X-Bugzilla-Status: NEW X-Bugzilla-Priority: P5 X-Bugzilla-Assigned-To: mort@sgi.com X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: In-Reply-To: References: Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 http://oss.sgi.com/bugzilla/show_bug.cgi?id=834 --- Comment #3 from Russell Cattelan 2009-05-22 11:51:04 CST --- and yet more to a fake bug -- Configure bugmail: http://oss.sgi.com/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug. From wwwrun@oss.sgi.com Fri May 22 11:55:30 2009 X-Spam-Checker-Version: SpamAssassin 3.3.0-rupdated (updated) on oss.sgi.com X-Spam-Level: X-Spam-Status: No, score=-1.3 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00 autolearn=ham version=3.3.0-rupdated Received: from oss.sgi.com (localhost [127.0.0.1]) by oss.sgi.com (8.14.3/8.14.3/SuSE Linux 0.8) with ESMTP id n4MGtU3o225761 for ; Fri, 22 May 2009 11:55:30 -0500 Received: (from wwwrun@localhost) by oss.sgi.com (8.14.3/8.14.3/Submit) id n4MGtU76225760; Fri, 22 May 2009 11:55:30 -0500 Date: Fri, 22 May 2009 11:55:30 -0500 Message-Id: <200905221655.n4MGtU76225760@oss.sgi.com> From: bugzilla-daemon@oss.sgi.com To: pcp@oss.sgi.com Subject: [Bug 834] test bug X-Bugzilla-Reason: CC X-Bugzilla-Type: newchanged X-Bugzilla-Watch-Reason: None X-Bugzilla-Classification: Unclassified X-Bugzilla-Product: pcp X-Bugzilla-Component: pcp X-Bugzilla-Keywords: X-Bugzilla-Severity: trivial X-Bugzilla-Who: cattelan@thebarn.com X-Bugzilla-Status: NEW X-Bugzilla-Priority: P5 X-Bugzilla-Assigned-To: mort@sgi.com X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: In-Reply-To: References: Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 http://oss.sgi.com/bugzilla/show_bug.cgi?id=834 --- Comment #4 from Russell Cattelan 2009-05-22 11:55:29 CST --- one of these will work -- Configure bugmail: http://oss.sgi.com/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug. From wwwrun@oss.sgi.com Fri May 22 12:22:23 2009 X-Spam-Checker-Version: SpamAssassin 3.3.0-rupdated (updated) on oss.sgi.com X-Spam-Level: X-Spam-Status: No, score=-1.2 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00, J_CHICKENPOX_63 autolearn=no version=3.3.0-rupdated Received: from oss.sgi.com (localhost [127.0.0.1]) by oss.sgi.com (8.14.3/8.14.3/SuSE Linux 0.8) with ESMTP id n4MHMNmW226279 for ; Fri, 22 May 2009 12:22:23 -0500 Received: (from wwwrun@localhost) by oss.sgi.com (8.14.3/8.14.3/Submit) id n4MHMNIo226278; Fri, 22 May 2009 12:22:23 -0500 Date: Fri, 22 May 2009 12:22:23 -0500 Message-Id: <200905221722.n4MHMNIo226278@oss.sgi.com> From: bugzilla-daemon@oss.sgi.com To: pcp@oss.sgi.com Subject: [Bug 834] test bug X-Bugzilla-Reason: CC X-Bugzilla-Type: newchanged X-Bugzilla-Watch-Reason: None X-Bugzilla-Classification: Unclassified X-Bugzilla-Product: pcp X-Bugzilla-Component: pcp X-Bugzilla-Keywords: X-Bugzilla-Severity: trivial X-Bugzilla-Who: mort@sgi.com X-Bugzilla-Status: RESOLVED X-Bugzilla-Priority: P5 X-Bugzilla-Assigned-To: mort@sgi.com X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: Status Resolution In-Reply-To: References: Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 http://oss.sgi.com/bugzilla/show_bug.cgi?id=834 Martin Hicks changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |INVALID --- Comment #5 from Martin Hicks 2009-05-22 12:22:22 CST --- Sorry for the noise. Bugzilla traffic now appears on the list. -- Configure bugmail: http://oss.sgi.com/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug. From mort@sgi.com Fri May 22 13:19:40 2009 X-Spam-Checker-Version: SpamAssassin 3.3.0-rupdated (updated) on oss.sgi.com X-Spam-Level: X-Spam-Status: No, score=-2.5 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.3.0-rupdated Received: from relay.sgi.com (relay2.corp.sgi.com [137.38.102.29]) by oss.sgi.com (8.14.3/8.14.3/SuSE Linux 0.8) with ESMTP id n4MIJdiP228369 for ; Fri, 22 May 2009 13:19:39 -0500 Received: from attica.americas.sgi.com (attica.americas.sgi.com [128.162.236.44]) by relay2.corp.sgi.com (Postfix) with ESMTP id C6730304114; Fri, 22 May 2009 11:19:48 -0700 (PDT) Received: by attica.americas.sgi.com (Postfix, from userid 44682) id 6A548A1FAB93; Fri, 22 May 2009 13:19:48 -0500 (CDT) Date: Fri, 22 May 2009 13:19:48 -0500 From: Martin Hicks To: Nathan Scott Cc: pcp@oss.sgi.com Subject: Re: [PATCH] tmpfs metrics Message-ID: <20090522181948.GW28779@alcatraz.americas.sgi.com> References: <1826885076.5302261242951238548.JavaMail.root@mail-au.aconex.com> <1450490639.5302301242951265466.JavaMail.root@mail-au.aconex.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1450490639.5302301242951265466.JavaMail.root@mail-au.aconex.com> User-Agent: Mutt/1.5.17 (2007-11-01) X-Virus-Scanned: ClamAV version 0.94.2, clamav-milter version 0.94.2 on oss.sgi.com X-Virus-Status: Clean On Fri, May 22, 2009 at 10:14:25AM +1000, Nathan Scott wrote: > Hacked this up last night - resolves bugzilla bug #823. > Could you give it a quick review? Looks good to me. I even tested it on an ICE cluster with the cluster pmda. Very nice. r1lead:~ # pminfo -f cluster.tmpfs.full cluster.tmpfs.full inst [0 or "r1i0n8-0 /dev"] value 0.01101056606543539 inst [1 or "r1i0n8-1 /tmp"] value 0 inst [2 or "r1i0n0-0 /dev"] value 0.01101056606543539 inst [3 or "r1i0n0-1 /tmp"] value 3.111979166666667 mh From nscott@aconex.com Sun May 24 22:15:28 2009 X-Spam-Checker-Version: SpamAssassin 3.3.0-rupdated (updated) on oss.sgi.com X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.3.0-rupdated Received: from cuda.sgi.com (cuda3.sgi.com [192.48.176.15]) by oss.sgi.com (8.14.3/8.14.3/SuSE Linux 0.8) with ESMTP id n4P3FRjG071807 for ; Sun, 24 May 2009 22:15:28 -0500 X-ASG-Debug-ID: 1243221337-254200780000-S8gJnT X-Barracuda-URL: http://cuda.sgi.com:80/cgi-bin/mark.cgi Received: from postoffice2.aconex.com (localhost [127.0.0.1]) by cuda.sgi.com (Spam Firewall) with ESMTP id E5D171A18095 for ; Sun, 24 May 2009 20:15:37 -0700 (PDT) Received: from postoffice2.aconex.com (mail.aconex.com [203.89.202.182]) by cuda.sgi.com with ESMTP id qY4F91WGFjcnLOLu for ; Sun, 24 May 2009 20:15:37 -0700 (PDT) Received: from postoffice.aconex.com (localhost [127.0.0.1]) by postoffice2.aconex.com (Spam Firewall) with ESMTP id D1B7659F4E4 for ; Mon, 25 May 2009 13:15:34 +1000 (EST) Received: from postoffice.aconex.com (postoffice.yarra.acx [192.168.102.1]) by postoffice2.aconex.com with ESMTP id DgYV9du3cUesxP4E for ; Mon, 25 May 2009 13:15:34 +1000 (EST) Received: from gatekeeper.aconex.com (gatekeeper.yarra.acx [192.168.102.10]) by postoffice.aconex.com (Postfix) with ESMTP id 20BB0A50268 for ; Mon, 25 May 2009 13:15:26 +1000 (EST) Received: from localhost (localhost.localdomain [127.0.0.1]) by gatekeeper.aconex.com (Postfix) with ESMTP id 5A4884FD85 for ; Mon, 25 May 2009 13:22:02 +1000 (EST) X-Virus-Scanned: ClamAV version 0.94.2, clamav-milter version 0.94.2 on oss.sgi.com X-Virus-Scanned: amavisd-new at gatekeeper.yarra.acx Received: from gatekeeper.aconex.com ([127.0.0.1]) by localhost (gatekeeper.aconex.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 2+B1Fh-Ho3XX for ; Mon, 25 May 2009 13:21:58 +1000 (EST) Received: from mail-au.aconex.com (mail-au.aconex.com [192.168.102.12]) by gatekeeper.aconex.com (Postfix) with ESMTP id 585104FD84 for ; Mon, 25 May 2009 13:21:58 +1000 (EST) Date: Mon, 25 May 2009 13:15:30 +1000 (EST) From: Nathan Scott To: pcp@oss.sgi.com Message-ID: <1354130805.5386081243221330679.JavaMail.root@mail-au.aconex.com> In-Reply-To: <906361791.5385981243221091927.JavaMail.root@mail-au.aconex.com> X-ASG-Orig-Subj: Updated web pages - shiny new screenshots! Subject: Updated web pages - shiny new screenshots! MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Originating-IP: [211.28.214.49] X-Mailer: Zimbra 5.0.13_GA_2791.RHEL5_64 (ZimbraWebClient - SAF3 (Mac)/5.0.13_GA_2791.RHEL5_64) X-Barracuda-Connect: mail.aconex.com[203.89.202.182] X-Barracuda-Start-Time: 1243221339 X-Barracuda-Bayes: INNOCENT GLOBAL 0.0227 1.0000 -1.8736 X-Barracuda-Virus-Scanned: by cuda.sgi.com at sgi.com X-Barracuda-Spam-Score: -1.87 X-Barracuda-Spam-Status: No, SCORE=-1.87 using per-user scores of TAG_LEVEL=2.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=2.1 tests= X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.1.26661 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- X-Virus-Status: Clean Hi all, Since I've been desk-bound and with one foot in the air all weekend (broken, ugh), I spent some time updating the PCP web page content - in particular, I've added some screenshots: http://oss.sgi.com/projects/pcp/screenshots.html a link to bugzilla, and Martin has added a link to Michael's python tree. Bunch of CSS/html changes under the covers too, switching from table-based layout to using div positioning. There's some screenshots showing PCP on Windows & MacOSX too, and some early images from the pmview port (amusingly, using SGI archives from as long ago as the mid-nineties - they work just fine with current PCP) for those who just can't wait. Enjoy! -- Nathan From wwwrun@oss.sgi.com Mon May 25 05:22:53 2009 X-Spam-Checker-Version: SpamAssassin 3.3.0-rupdated (updated) on oss.sgi.com X-Spam-Level: X-Spam-Status: No, score=-1.3 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00 autolearn=ham version=3.3.0-rupdated Received: from oss.sgi.com (localhost [127.0.0.1]) by oss.sgi.com (8.14.3/8.14.3/SuSE Linux 0.8) with ESMTP id n4PAMrp1090928 for ; Mon, 25 May 2009 05:22:53 -0500 Received: (from wwwrun@localhost) by oss.sgi.com (8.14.3/8.14.3/Submit) id n4PAMrfH090927; Mon, 25 May 2009 05:22:53 -0500 Date: Mon, 25 May 2009 05:22:53 -0500 From: bugzilla-daemon@oss.sgi.com To: pcp@oss.sgi.com Subject: [Bug 835] New: win32 pmchart not-matching clause causes segfault X-Bugzilla-Reason: CC X-Bugzilla-Type: newchanged X-Bugzilla-Watch-Reason: None X-Bugzilla-Classification: Unclassified X-Bugzilla-Product: pcp X-Bugzilla-Component: pcp-glider X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: dchatterton@aconex.com X-Bugzilla-Status: NEW X-Bugzilla-Priority: P5 X-Bugzilla-Assigned-To: nathans@debian.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: Message-ID: Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 http://oss.sgi.com/bugzilla/show_bug.cgi?id=835 Summary: win32 pmchart not-matching clause causes segfault Product: pcp Version: unspecified Platform: PC OS/Version: Windows XP Status: NEW Severity: normal Priority: P5 Component: pcp-glider AssignedTo: nathans@debian.org ReportedBy: dchatterton@aconex.com CC: pcp@oss.sgi.com Estimated Hours: 0.0 Classification: Unclassified It appears as though pmchart views including not-matching rules will cause pmchart in pcp-glider 0.03 to segfault. For example by removing the not-matching part from the Filesystem view, pmchart will display the filesystem.full metric just fine. -- Configure bugmail: http://oss.sgi.com/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug. From kenj@internode.on.net Mon May 25 06:42:20 2009 X-Spam-Checker-Version: SpamAssassin 3.3.0-rupdated (updated) on oss.sgi.com X-Spam-Level: X-Spam-Status: No, score=-2.5 required=5.0 tests=AWL,BAYES_00,J_CHICKENPOX_31 autolearn=no version=3.3.0-rupdated Received: from cuda.sgi.com (cuda2.sgi.com [192.48.176.25]) by oss.sgi.com (8.14.3/8.14.3/SuSE Linux 0.8) with ESMTP id n4PBgJvY094501 for ; Mon, 25 May 2009 06:42:20 -0500 X-ASG-Debug-ID: 1243251750-79bc00bb0000-S8gJnT X-Barracuda-URL: http://cuda.sgi.com:80/cgi-bin/mark.cgi Received: from mail.internode.on.net (localhost [127.0.0.1]) by cuda.sgi.com (Spam Firewall) with ESMTP id C70942A9F7C for ; Mon, 25 May 2009 04:42:31 -0700 (PDT) Received: from mail.internode.on.net (bld-mail15.adl6.internode.on.net [150.101.137.100]) by cuda.sgi.com with ESMTP id UqpKPH8AzSpeUymW for ; Mon, 25 May 2009 04:42:31 -0700 (PDT) Received: from [192.168.1.100] (unverified [118.208.242.159]) by mail.internode.on.net (SurgeMail 3.8f2) with ESMTP id 56528-1927428 for multiple; Mon, 25 May 2009 21:12:27 +0930 (CST) X-ASG-Orig-Subj: pcp updates Subject: pcp updates From: Ken McDonell Reply-To: kenj@internode.on.net To: pcp@oss.sgi.com Cc: Nathan Scott Content-Type: text/plain; charset="UTF-8" Date: Mon, 25 May 2009 21:42:03 +1000 Message-Id: <1243251723.10837.296.camel@bozo> Mime-Version: 1.0 X-Mailer: Evolution 2.26.1 Content-Transfer-Encoding: quoted-printable X-Barracuda-Connect: bld-mail15.adl6.internode.on.net[150.101.137.100] X-Barracuda-Start-Time: 1243251752 X-Barracuda-Bayes: INNOCENT GLOBAL 0.0000 1.0000 -2.0210 X-Barracuda-Virus-Scanned: by cuda.sgi.com at sgi.com X-Barracuda-Spam-Score: -1.52 X-Barracuda-Spam-Status: No, SCORE=-1.52 using per-user scores of TAG_LEVEL=2.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=2.1 tests=BSF_RULE7568M X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.1.26687 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- 0.50 BSF_RULE7568M Custom Rule 7568M X-Virus-Scanned: ClamAV version 0.94.2, clamav-milter version 0.94.2 on oss.sgi.com X-Virus-Status: Clean Some fine tuning of my last round of changes to reduce the amount of compiler warning noise in the build ... thanks to Nathan for spotting that I'd broken the Mac OS X build. Changes committed to git://oss.sgi.com/kenj/pcp.git dev src/dbpmda/src/lex.l | 5 ----- src/pmdas/hotproc/src/lex.l | 5 ----- src/pmlc/lex.l | 5 ----- src/pmlogextract/lex.l | 5 ----- src/pmlogger/lex.l | 5 ----- src/pmlogger/pmlogger.c | 22 +++++++++++----------- 6 files changed, 11 insertions(+), 36 deletions(-) commit 495b45e30ba1421866f2e4dbbc0bbcc538517697 Author: Ken McDonell Date: Mon May 25 21:35:49 2009 +1000 Revert lex.l changes. =20 flex does not behave the same way on all platforms, and there does not appear to be any way to safely remove the warnings and leave the code compiling correctly on all platforms. =20 We're stuck with warnings like this ... :1446: warning: =E2=80=98yyunput=E2=80=99 defined but not used :1489: warning: =E2=80=98input=E2=80=99 defined but not used from the build I'm afraid for at least some versions of flex. commit b2692f379488faeeab7615cf8259e2247bf0247d Author: Ken McDonell Date: Mon May 25 21:35:11 2009 +1000 Tweak formatting of text in end-of-recording dialogs. From wwwrun@oss.sgi.com Mon May 25 19:28:00 2009 X-Spam-Checker-Version: SpamAssassin 3.3.0-rupdated (updated) on oss.sgi.com X-Spam-Level: X-Spam-Status: No, score=-1.2 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00, J_CHICKENPOX_63 autolearn=no version=3.3.0-rupdated Received: from oss.sgi.com (localhost [127.0.0.1]) by oss.sgi.com (8.14.3/8.14.3/SuSE Linux 0.8) with ESMTP id n4Q0S0nW116837 for ; Mon, 25 May 2009 19:28:00 -0500 Received: (from wwwrun@localhost) by oss.sgi.com (8.14.3/8.14.3/Submit) id n4Q0S05t116836; Mon, 25 May 2009 19:28:00 -0500 Date: Mon, 25 May 2009 19:28:00 -0500 Message-Id: <200905260028.n4Q0S05t116836@oss.sgi.com> From: bugzilla-daemon@oss.sgi.com To: pcp@oss.sgi.com Subject: [Bug 835] win32 pmchart not-matching clause causes segfault X-Bugzilla-Reason: CC X-Bugzilla-Type: newchanged X-Bugzilla-Watch-Reason: None X-Bugzilla-Classification: Unclassified X-Bugzilla-Product: pcp X-Bugzilla-Component: pcp-glider X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: nathans@debian.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Priority: P5 X-Bugzilla-Assigned-To: nathans@debian.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: Status In-Reply-To: References: Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 http://oss.sgi.com/bugzilla/show_bug.cgi?id=835 Nathan Scott changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED --- Comment #1 from Nathan Scott 2009-05-25 19:27:56 CST --- Looks like its segfaulting inside the regcomp() routine in msys-regex.dll. This interface has been the source of no-end of trouble to be honest, and I think I'm at the point where I bite the bullet and convert the PCP GUI code to use the Qt regular expression interfaces (which are syntactically similar to POSIX regexs anyway). Yeah, not sure I can debug this further without digging into msys regex code, and long term its going to be better to be using Qt code for this... OK, so I'll tackle this one by removing the problem callout I suspect. Thanks for the bug report, fix should go in later this morning. cheers. -- Configure bugmail: http://oss.sgi.com/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug. From wwwrun@oss.sgi.com Mon May 25 20:34:33 2009 X-Spam-Checker-Version: SpamAssassin 3.3.0-rupdated (updated) on oss.sgi.com X-Spam-Level: X-Spam-Status: No, score=-1.3 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00 autolearn=ham version=3.3.0-rupdated Received: from oss.sgi.com (localhost [127.0.0.1]) by oss.sgi.com (8.14.3/8.14.3/SuSE Linux 0.8) with ESMTP id n4Q1YXZk118614 for ; Mon, 25 May 2009 20:34:33 -0500 Received: (from wwwrun@localhost) by oss.sgi.com (8.14.3/8.14.3/Submit) id n4Q1YXNf118613; Mon, 25 May 2009 20:34:33 -0500 Date: Mon, 25 May 2009 20:34:33 -0500 Message-Id: <200905260134.n4Q1YXNf118613@oss.sgi.com> From: bugzilla-daemon@oss.sgi.com To: pcp@oss.sgi.com Subject: [Bug 835] win32 pmchart not-matching clause causes segfault X-Bugzilla-Reason: CC X-Bugzilla-Type: newchanged X-Bugzilla-Watch-Reason: None X-Bugzilla-Classification: Unclassified X-Bugzilla-Product: pcp X-Bugzilla-Component: pcp-glider X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: nathans@debian.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Priority: P5 X-Bugzilla-Assigned-To: nathans@debian.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: Status Resolution In-Reply-To: References: Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 http://oss.sgi.com/bugzilla/show_bug.cgi?id=835 Nathan Scott changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution| |FIXED --- Comment #2 from Nathan Scott 2009-05-25 20:34:31 CST --- Coded & tested - fixes all the standard views with matching/not-matching, which were previously all failing. Will show up in next pcp-glider - 0.0.4 iirc. -- Configure bugmail: http://oss.sgi.com/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug. From nscott@aconex.com Mon May 25 20:39:32 2009 X-Spam-Checker-Version: SpamAssassin 3.3.0-rupdated (updated) on oss.sgi.com X-Spam-Level: X-Spam-Status: No, score=-1.6 required=5.0 tests=AWL,BAYES_00,URIBL_BLACK autolearn=no version=3.3.0-rupdated Received: from cuda.sgi.com (cuda1.sgi.com [192.48.157.11]) by oss.sgi.com (8.14.3/8.14.3/SuSE Linux 0.8) with ESMTP id n4Q1dV2Z118781 for ; Mon, 25 May 2009 20:39:32 -0500 X-ASG-Debug-ID: 1243302330-653c03df0000-S8gJnT X-Barracuda-URL: http://cuda.sgi.com:80/cgi-bin/mark.cgi Received: from postoffice2.aconex.com (localhost [127.0.0.1]) by cuda.sgi.com (Spam Firewall) with ESMTP id 52C6A100025D for ; Mon, 25 May 2009 18:45:30 -0700 (PDT) Received: from postoffice2.aconex.com (mail.aconex.com [203.89.202.182]) by cuda.sgi.com with ESMTP id rx4AyVZGqjXcbqZt for ; Mon, 25 May 2009 18:45:30 -0700 (PDT) Received: from postoffice.aconex.com (localhost [127.0.0.1]) by postoffice2.aconex.com (Spam Firewall) with ESMTP id 73EBA6BCC57 for ; Tue, 26 May 2009 11:39:42 +1000 (EST) Received: from postoffice.aconex.com (postoffice.yarra.acx [192.168.102.1]) by postoffice2.aconex.com with ESMTP id UD7nl7AHpMXBLJqB for ; Tue, 26 May 2009 11:39:42 +1000 (EST) Received: from gatekeeper.aconex.com (gatekeeper.yarra.acx [192.168.102.10]) by postoffice.aconex.com (Postfix) with ESMTP id 45A51A50265 for ; Tue, 26 May 2009 11:39:33 +1000 (EST) Received: from localhost (localhost.localdomain [127.0.0.1]) by gatekeeper.aconex.com (Postfix) with ESMTP id 5E1BA4FD84 for ; Tue, 26 May 2009 11:46:17 +1000 (EST) X-Virus-Scanned: ClamAV version 0.94.2, clamav-milter version 0.94.2 on oss.sgi.com X-Virus-Scanned: amavisd-new at gatekeeper.yarra.acx Received: from gatekeeper.aconex.com ([127.0.0.1]) by localhost (gatekeeper.aconex.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id odAgMLJqRZ8c for ; Tue, 26 May 2009 11:46:10 +1000 (EST) Received: from mail-au.aconex.com (mail-au.aconex.com [192.168.102.12]) by gatekeeper.aconex.com (Postfix) with ESMTP id 165544FD86 for ; Tue, 26 May 2009 11:46:05 +1000 (EST) Date: Tue, 26 May 2009 11:39:23 +1000 (EST) From: Nathan Scott To: pcp Message-ID: <1627162296.5444591243301963794.JavaMail.root@mail-au.aconex.com> X-ASG-Orig-Subj: pcp-gui updates Subject: pcp-gui updates MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Originating-IP: [211.28.214.49] X-Mailer: Zimbra 5.0.13_GA_2791.RHEL5_64 (ZimbraWebClient - SAF3 (Mac)/5.0.13_GA_2791.RHEL5_64) X-Barracuda-Connect: mail.aconex.com[203.89.202.182] X-Barracuda-Start-Time: 1243302332 X-Barracuda-Bayes: INNOCENT GLOBAL 0.0040 1.0000 -1.9950 X-Barracuda-Virus-Scanned: by cuda.sgi.com at sgi.com X-Barracuda-Spam-Score: -1.49 X-Barracuda-Spam-Status: No, SCORE=-1.49 using per-user scores of TAG_LEVEL=2.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=2.1 tests=BSF_RULE7568M X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.1.26744 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- 0.50 BSF_RULE7568M Custom Rule 7568M X-Virus-Status: Clean Changes committed to git://oss.sgi.com/pcp/pcp-gui.git configure.in | 4 --- src/chart/fileformat.cpp | 42 ++++++++++++----------------------------- src/chart/pmchart.pro.in | 2 - src/dumptext/pmdumptext.pro.in | 2 - 4 files changed, 15 insertions(+), 35 deletions(-) commit 810d479c0d18935e87ae8eae3e790bf749980eec Author: Nathan Scott Date: Tue May 26 11:31:29 2009 +1000 Mark pmdumptext as a console application for Windows. Without this, no console output is produced by pmdumptext on Win32. commit cff7dae213a1b5809f744d61feae813418c61cbb Author: Nathan Scott Date: Tue May 26 11:25:34 2009 +1000 Switch over to using Qt regular expressions (rather than msys-regex.dll). Resolve a problem reported by David Chatterton (bug #835). As a side- effect, the code is now simpler and we have fewer external dependencies; in particular, no external C deps on Windows which makes building there simpler as well. From wwwrun@oss.sgi.com Mon May 25 21:01:19 2009 X-Spam-Checker-Version: SpamAssassin 3.3.0-rupdated (updated) on oss.sgi.com X-Spam-Level: X-Spam-Status: No, score=-1.3 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00 autolearn=ham version=3.3.0-rupdated Received: from oss.sgi.com (localhost [127.0.0.1]) by oss.sgi.com (8.14.3/8.14.3/SuSE Linux 0.8) with ESMTP id n4Q21J2r119373 for ; Mon, 25 May 2009 21:01:19 -0500 Received: (from wwwrun@localhost) by oss.sgi.com (8.14.3/8.14.3/Submit) id n4Q21Icj119372; Mon, 25 May 2009 21:01:19 -0500 Date: Mon, 25 May 2009 21:01:19 -0500 From: bugzilla-daemon@oss.sgi.com To: pcp@oss.sgi.com Subject: [Bug 836] New: Non-functional predefined position/size of PCP Chart window in config-file X-Bugzilla-Reason: CC X-Bugzilla-Type: newchanged X-Bugzilla-Watch-Reason: None X-Bugzilla-Classification: Unclassified X-Bugzilla-Product: pcp X-Bugzilla-Component: pcp-glider X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: ndonaldson@aconex.com X-Bugzilla-Status: NEW X-Bugzilla-Priority: P5 X-Bugzilla-Assigned-To: nathans@debian.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: Message-ID: Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 http://oss.sgi.com/bugzilla/show_bug.cgi?id=836 Summary: Non-functional predefined position/size of PCP Chart window in config-file Product: pcp Version: unspecified Platform: PC OS/Version: Windows XP Status: NEW Severity: normal Priority: P5 Component: pcp-glider AssignedTo: nathans@debian.org ReportedBy: ndonaldson@aconex.com CC: pcp@oss.sgi.com Estimated Hours: 0.0 Classification: Unclassified A view-config file permits the saving of four so-called global positioning keywords, to pre-set the location and size of a view. For example: global width 600 global height 480 global xpos 528 global ypos 81 Certainly with at least one tab definition in a config, WinPCPCharts seems to ignore them. -- Configure bugmail: http://oss.sgi.com/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug. From f@obiit.org Wed May 27 19:40:03 2009 X-Spam-Checker-Version: SpamAssassin 3.3.0-rupdated (updated) on oss.sgi.com X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00 autolearn=ham version=3.3.0-rupdated Received: from cuda.sgi.com (cuda3.sgi.com [192.48.176.15]) by oss.sgi.com (8.14.3/8.14.3/SuSE Linux 0.8) with ESMTP id n4S0e3pk220066 for ; Wed, 27 May 2009 19:40:03 -0500 X-ASG-Debug-ID: 1243471215-096300d70000-S8gJnT X-Barracuda-URL: http://cuda.sgi.com:80/cgi-bin/mark.cgi Received: from obiit.org (localhost [127.0.0.1]) by cuda.sgi.com (Spam Firewall) with ESMTP id 5C7211A30894 for ; Wed, 27 May 2009 17:40:16 -0700 (PDT) Received: from obiit.org (integer.obiit.org [195.168.92.92]) by cuda.sgi.com with ESMTP id HrClbm1PWiTc7hI5 for ; Wed, 27 May 2009 17:40:16 -0700 (PDT) Received: by integer.obiit.org (Postfix, from userid 1001) id 414D4D85CF; Thu, 28 May 2009 02:40:12 +0200 (CEST) Date: Thu, 28 May 2009 02:40:12 +0200 From: frantisek holop To: pcp@oss.sgi.com X-ASG-Orig-Subj: download problem Subject: download problem Message-ID: <20090528004012.GC20718@obiit.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.18 (2008-05-17) X-Barracuda-Connect: integer.obiit.org[195.168.92.92] X-Barracuda-Start-Time: 1243471217 X-Barracuda-Bayes: INNOCENT GLOBAL 0.0037 1.0000 -1.9968 X-Barracuda-Virus-Scanned: by cuda.sgi.com at sgi.com X-Barracuda-Spam-Score: -2.00 X-Barracuda-Spam-Status: No, SCORE=-2.00 using per-user scores of TAG_LEVEL=2.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=2.1 tests= X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.1.26907 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- X-Virus-Scanned: ClamAV version 0.94.2, clamav-milter version 0.94.2 on oss.sgi.com X-Virus-Status: Clean hi there, i get the following error on ftp://oss.sgi.com/projects/pcp/download/ : 550 Can't open python-pcp-0.1.tar.gz: Permission denied is this intentional? thanks -f -- to my embarrassment, i was born in bed with a lady! From wwwrun@oss.sgi.com Wed May 27 21:05:13 2009 X-Spam-Checker-Version: SpamAssassin 3.3.0-rupdated (updated) on oss.sgi.com X-Spam-Level: X-Spam-Status: No, score=-1.2 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00, J_CHICKENPOX_63 autolearn=no version=3.3.0-rupdated Received: from oss.sgi.com (localhost [127.0.0.1]) by oss.sgi.com (8.14.3/8.14.3/SuSE Linux 0.8) with ESMTP id n4S25Dcc224174 for ; Wed, 27 May 2009 21:05:13 -0500 Received: (from wwwrun@localhost) by oss.sgi.com (8.14.3/8.14.3/Submit) id n4S25Coi224173; Wed, 27 May 2009 21:05:12 -0500 Date: Wed, 27 May 2009 21:05:12 -0500 Message-Id: <200905280205.n4S25Coi224173@oss.sgi.com> From: bugzilla-daemon@oss.sgi.com To: pcp@oss.sgi.com Subject: [Bug 836] Non-functional predefined position/size of PCP Chart window in config-file X-Bugzilla-Reason: CC X-Bugzilla-Type: newchanged X-Bugzilla-Watch-Reason: None X-Bugzilla-Classification: Unclassified X-Bugzilla-Product: pcp X-Bugzilla-Component: pcp-glider X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: nathans@debian.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Priority: P5 X-Bugzilla-Assigned-To: nathans@debian.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: Status In-Reply-To: References: Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 http://oss.sgi.com/bugzilla/show_bug.cgi?id=836 Nathan Scott changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED --- Comment #1 from Nathan Scott 2009-05-27 21:05:10 CST --- I'm not able to reproduce this one Nigel, it works as its meant to for me. I even tried multiple tabs as well, and that works OK. Can you try the attached (CPU-based) view and see if this works for you? I'm testing on Windows Server 2003 currently, and thats OK, so perhaps its a Vista/XP only issue? Not sure, but we're definately using the technique documented in the Qt docs as how to achieve this in a cross-platform way. cheers. $ cat /tmp/test #kmchart version 1 global width 500 global height 300 global xpos 10 global ypos 50 tab foo chart title "CPU Utilization [%h]" style utilization plot legend "User" color #2d2de2 metric kernel.all.cpu.user plot legend "Kernel" color #e71717 metric kernel.all.cpu.sys optional-plot legend "Nice" color #c2f3c2 metric kernel.all.cpu.nice optional-plot legend "Intr" color #cdcd00 metric kernel.all.cpu.intr optional-plot legend "Wait" color #00cdcd metric kernel.all.cpu.wait.total optional-plot legend "Steal" color #fba2f5 metric kernel.all.cpu.steal plot legend "Idle" color #16d816 metric kernel.all.cpu.idle tab foo2 chart title "CPU Utilization [%h]" style utilization -- Configure bugmail: http://oss.sgi.com/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug. From wwwrun@oss.sgi.com Wed May 27 21:17:17 2009 X-Spam-Checker-Version: SpamAssassin 3.3.0-rupdated (updated) on oss.sgi.com X-Spam-Level: X-Spam-Status: No, score=-1.3 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00 autolearn=ham version=3.3.0-rupdated Received: from oss.sgi.com (localhost [127.0.0.1]) by oss.sgi.com (8.14.3/8.14.3/SuSE Linux 0.8) with ESMTP id n4S2HHQS224685 for ; Wed, 27 May 2009 21:17:17 -0500 Received: (from wwwrun@localhost) by oss.sgi.com (8.14.3/8.14.3/Submit) id n4S2HHiF224684; Wed, 27 May 2009 21:17:17 -0500 Date: Wed, 27 May 2009 21:17:17 -0500 Message-Id: <200905280217.n4S2HHiF224684@oss.sgi.com> From: bugzilla-daemon@oss.sgi.com To: pcp@oss.sgi.com Subject: [Bug 836] Non-functional predefined position/size of PCP Chart window in config-file X-Bugzilla-Reason: CC X-Bugzilla-Type: newchanged X-Bugzilla-Watch-Reason: None X-Bugzilla-Classification: Unclassified X-Bugzilla-Product: pcp X-Bugzilla-Component: pcp-glider X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: ndonaldson@aconex.com X-Bugzilla-Status: ASSIGNED X-Bugzilla-Priority: P5 X-Bugzilla-Assigned-To: nathans@debian.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: In-Reply-To: References: Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 http://oss.sgi.com/bugzilla/show_bug.cgi?id=836 --- Comment #2 from Nige 2009-05-27 21:17:15 CST --- Created an attachment (id=270) --> (http://oss.sgi.com/bugzilla/attachment.cgi?id=270) PCP Chart window hidden Displays PCP Chart window partly hidden behind the Windows task-bar. I'd suggest the Qt library doesn't actually request the offset from top-left of the Windows desktop, which is normally (0,0). -- Configure bugmail: http://oss.sgi.com/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug. From wwwrun@oss.sgi.com Wed May 27 21:18:55 2009 X-Spam-Checker-Version: SpamAssassin 3.3.0-rupdated (updated) on oss.sgi.com X-Spam-Level: X-Spam-Status: No, score=-1.3 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00 autolearn=ham version=3.3.0-rupdated Received: from oss.sgi.com (localhost [127.0.0.1]) by oss.sgi.com (8.14.3/8.14.3/SuSE Linux 0.8) with ESMTP id n4S2Itkw224756 for ; Wed, 27 May 2009 21:18:55 -0500 Received: (from wwwrun@localhost) by oss.sgi.com (8.14.3/8.14.3/Submit) id n4S2Itn7224755; Wed, 27 May 2009 21:18:55 -0500 Date: Wed, 27 May 2009 21:18:55 -0500 Message-Id: <200905280218.n4S2Itn7224755@oss.sgi.com> From: bugzilla-daemon@oss.sgi.com To: pcp@oss.sgi.com Subject: [Bug 836] Non-functional predefined position/size of PCP Chart window in config-file X-Bugzilla-Reason: CC X-Bugzilla-Type: newchanged X-Bugzilla-Watch-Reason: None X-Bugzilla-Classification: Unclassified X-Bugzilla-Product: pcp X-Bugzilla-Component: pcp-glider X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: ndonaldson@aconex.com X-Bugzilla-Status: ASSIGNED X-Bugzilla-Priority: P5 X-Bugzilla-Assigned-To: nathans@debian.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: In-Reply-To: References: Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 http://oss.sgi.com/bugzilla/show_bug.cgi?id=836 --- Comment #3 from Nige 2009-05-27 21:18:53 CST --- Apart from the situation I described with the previous attachment, the config file you suggested I use appeared at the correct location, and with the correct dimensions. Maybe something in my config... or I'm barking up the wrong tree. -- Configure bugmail: http://oss.sgi.com/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug. From wwwrun@oss.sgi.com Wed May 27 21:34:05 2009 X-Spam-Checker-Version: SpamAssassin 3.3.0-rupdated (updated) on oss.sgi.com X-Spam-Level: X-Spam-Status: No, score=-1.3 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00 autolearn=ham version=3.3.0-rupdated Received: from oss.sgi.com (localhost [127.0.0.1]) by oss.sgi.com (8.14.3/8.14.3/SuSE Linux 0.8) with ESMTP id n4S2Y5ps225361 for ; Wed, 27 May 2009 21:34:05 -0500 Received: (from wwwrun@localhost) by oss.sgi.com (8.14.3/8.14.3/Submit) id n4S2Y5RN225358; Wed, 27 May 2009 21:34:05 -0500 Date: Wed, 27 May 2009 21:34:05 -0500 Message-Id: <200905280234.n4S2Y5RN225358@oss.sgi.com> From: bugzilla-daemon@oss.sgi.com To: pcp@oss.sgi.com Subject: [Bug 836] Non-functional predefined position/size of PCP Chart window in config-file X-Bugzilla-Reason: CC X-Bugzilla-Type: newchanged X-Bugzilla-Watch-Reason: None X-Bugzilla-Classification: Unclassified X-Bugzilla-Product: pcp X-Bugzilla-Component: pcp-glider X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: ndonaldson@aconex.com X-Bugzilla-Status: ASSIGNED X-Bugzilla-Priority: P5 X-Bugzilla-Assigned-To: nathans@debian.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: In-Reply-To: References: Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 http://oss.sgi.com/bugzilla/show_bug.cgi?id=836 --- Comment #4 from Nige 2009-05-27 21:34:04 CST --- FWIW... I have a 1280x1024 screen size. In my DRP-monitor config-file, I have just set the top-left offset to (1,1), and requested the width and height be 1280 and 1024, respectively. Neither dimension was respected when the PCP Chart window was displayed. The height of the window is initially the same as when I had the original 480 set (which was a deliberately short height). It might be that Qt ignores the requested height (in this case) if it deems that it can't 'adequately' render the defined charts in the requested window-area? Recall, I saw something similar to this with the Linux version a couple of months ago. By the way... I have seven charts per tab. As for the width of the window, I gauge it to have been drawn with a width of about 1100 pixels (not 1280). -- Configure bugmail: http://oss.sgi.com/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug. From nscott@aconex.com Thu May 28 21:30:10 2009 X-Spam-Checker-Version: SpamAssassin 3.3.0-rupdated (updated) on oss.sgi.com X-Spam-Level: X-Spam-Status: No, score=-2.2 required=5.0 tests=AWL,BAYES_00,J_CHICKENPOX_73 autolearn=no version=3.3.0-rupdated Received: from cuda.sgi.com (cuda2.sgi.com [192.48.176.25]) by oss.sgi.com (8.14.3/8.14.3/SuSE Linux 0.8) with ESMTP id n4T2U8mN023660 for ; Thu, 28 May 2009 21:30:10 -0500 X-ASG-Debug-ID: 1243564220-6dc100ef0000-S8gJnT X-Barracuda-URL: http://cuda.sgi.com:80/cgi-bin/mark.cgi Received: from postoffice2.aconex.com (localhost [127.0.0.1]) by cuda.sgi.com (Spam Firewall) with ESMTP id ACACA2BA1A4 for ; Thu, 28 May 2009 19:30:20 -0700 (PDT) Received: from postoffice2.aconex.com (mail.aconex.com [203.89.202.182]) by cuda.sgi.com with ESMTP id pwSuf4onHcf4Fc13 for ; Thu, 28 May 2009 19:30:20 -0700 (PDT) Received: from postoffice.aconex.com (localhost [127.0.0.1]) by postoffice2.aconex.com (Spam Firewall) with ESMTP id 190F55C5540 for ; Fri, 29 May 2009 12:30:18 +1000 (EST) Received: from postoffice.aconex.com (postoffice.yarra.acx [192.168.102.1]) by postoffice2.aconex.com with ESMTP id chaEtH0gUj3GL7Z0 for ; Fri, 29 May 2009 12:30:18 +1000 (EST) Received: from gatekeeper.aconex.com (gatekeeper.yarra.acx [192.168.102.10]) by postoffice.aconex.com (Postfix) with ESMTP id 620DAA50118 for ; Fri, 29 May 2009 12:30:07 +1000 (EST) Received: from localhost (localhost.localdomain [127.0.0.1]) by gatekeeper.aconex.com (Postfix) with ESMTP id E47DA4FD82 for ; Fri, 29 May 2009 12:37:16 +1000 (EST) X-Virus-Scanned: ClamAV version 0.94.2, clamav-milter version 0.94.2 on oss.sgi.com X-Virus-Scanned: amavisd-new at gatekeeper.yarra.acx Received: from gatekeeper.aconex.com ([127.0.0.1]) by localhost (gatekeeper.aconex.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 9-FJc+Kyfacm for ; Fri, 29 May 2009 12:37:12 +1000 (EST) Received: from mail-au.aconex.com (mail-au.aconex.com [192.168.102.12]) by gatekeeper.aconex.com (Postfix) with ESMTP id 336384FD84 for ; Fri, 29 May 2009 12:37:11 +1000 (EST) Date: Fri, 29 May 2009 12:30:11 +1000 (EST) From: Nathan Scott To: pcp@oss.sgi.com Message-ID: <2126710195.5634721243564211975.JavaMail.root@mail-au.aconex.com> X-ASG-Orig-Subj: pcp updates (2.8.7) Subject: pcp updates (2.8.7) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Originating-IP: [203.89.192.141] X-Mailer: Zimbra 5.0.13_GA_2791.RHEL5_64 (ZimbraWebClient - [unknown] (Linux)/5.0.13_GA_2791.RHEL5_64) X-Barracuda-Connect: mail.aconex.com[203.89.202.182] X-Barracuda-Start-Time: 1243564222 X-Barracuda-Bayes: INNOCENT GLOBAL 0.0000 1.0000 -2.0210 X-Barracuda-Virus-Scanned: by cuda.sgi.com at sgi.com X-Barracuda-Spam-Score: -2.02 X-Barracuda-Spam-Status: No, SCORE=-2.02 using per-user scores of TAG_LEVEL=2.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=2.1 tests= X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.1.26999 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- X-Virus-Status: Clean Changes committed to git://oss.sgi.com/pcp/pcp.git CHANGELOG | 4 VERSION.pcp | 2 debian/changelog | 4 src/pmdas/darwin/help | 3 src/pmdas/windows/GNUmakefile | 10 src/pmdas/windows/README | 8 src/pmdas/windows/fetch.c | 113 ++-- src/pmdas/windows/help.c | 122 +--- src/pmdas/windows/hypnotoad.h | 62 -- src/pmdas/windows/instance.c | 39 - src/pmdas/windows/libpdh.def | 1 src/pmdas/windows/libpdh.h | 7 src/pmdas/windows/open.c | 277 ++++----- src/pmdas/windows/pmda.c | 1172 ++++++++++++++++-------------------------- 14 files changed, 753 insertions(+), 1071 deletions(-) commit 7d06aa20de116a5d409f8d874e0abd7cf65b94e0 Author: Nathan Scott Date: Fri May 29 11:36:23 2009 +1000 Bump version number to 2.8.7 for Win32 release. commit 909999223f8d189344dfc2e117b3c519898ade62 Author: Nathan Scott Date: Fri May 29 11:31:58 2009 +1000 Remove last remaining remnants of querydesc mechanism in pmdawindows. commit 86b782bf734833e3cf37f6e97c5c3891b8c569a8 Author: Nathan Scott Date: Fri May 29 11:11:04 2009 +1000 Improvements to the Windows kernel PMDA. - Significant reduction in memory footprint. Turns out that every metric instance being added into a long-running query burns 12K, and we kept that open for every instance of each metric - added up to many tens of megabytes. Significantly refactored the code so that Pdh queries are now short-lived only, and this resolves the problem. - Defer verification of metrics until first fetch time, which makes for a much faster startup and reduces immediate memory allocations made to on-demand stuff only. - Add a high-water allocation mechanism into the metricdesc table where the values are stored, to bypass frequent use of realloc in there when in steady state. - Fixed a small memory leak for each instance domain lookup. - No longer install the .exe as well as .dll, only the latter. - No longer install the .c files, not sure how that got there. - A couple of (network) metrics change semantics depending on which version of Windows is running. Add a mechanism for handling these, instead of spewing log warnings everywhere. commit 1d895341a86c692fad9b39cf15ca0a9ec2c3b137 Author: Nathan Scott Date: Tue May 26 12:31:25 2009 +1000 Remove no longer used Mac metric names from help. From nscott@aconex.com Thu May 28 21:31:11 2009 X-Spam-Checker-Version: SpamAssassin 3.3.0-rupdated (updated) on oss.sgi.com X-Spam-Level: X-Spam-Status: No, score=-2.2 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.3.0-rupdated Received: from cuda.sgi.com (cuda3.sgi.com [192.48.176.15]) by oss.sgi.com (8.14.3/8.14.3/SuSE Linux 0.8) with ESMTP id n4T2VBf6023693 for ; Thu, 28 May 2009 21:31:11 -0500 X-ASG-Debug-ID: 1243564284-128701c20000-S8gJnT X-Barracuda-URL: http://cuda.sgi.com:80/cgi-bin/mark.cgi Received: from postoffice2.aconex.com (localhost [127.0.0.1]) by cuda.sgi.com (Spam Firewall) with ESMTP id 49A481A3E4B0 for ; Thu, 28 May 2009 19:31:25 -0700 (PDT) Received: from postoffice2.aconex.com (mail.aconex.com [203.89.202.182]) by cuda.sgi.com with ESMTP id 3XtdmgqAd4qq2Kbh for ; Thu, 28 May 2009 19:31:25 -0700 (PDT) Received: from postoffice.aconex.com (localhost [127.0.0.1]) by postoffice2.aconex.com (Spam Firewall) with ESMTP id 577405C5557 for ; Fri, 29 May 2009 12:31:23 +1000 (EST) Received: from postoffice.aconex.com (postoffice.yarra.acx [192.168.102.1]) by postoffice2.aconex.com with ESMTP id JfgNckZxspR7mzGh for ; Fri, 29 May 2009 12:31:23 +1000 (EST) Received: from gatekeeper.aconex.com (gatekeeper.yarra.acx [192.168.102.10]) by postoffice.aconex.com (Postfix) with ESMTP id A5CCCA50118 for ; Fri, 29 May 2009 12:31:12 +1000 (EST) Received: from localhost (localhost.localdomain [127.0.0.1]) by gatekeeper.aconex.com (Postfix) with ESMTP id 638754FD84 for ; Fri, 29 May 2009 12:38:22 +1000 (EST) X-Virus-Scanned: ClamAV version 0.94.2, clamav-milter version 0.94.2 on oss.sgi.com X-Virus-Scanned: amavisd-new at gatekeeper.yarra.acx Received: from gatekeeper.aconex.com ([127.0.0.1]) by localhost (gatekeeper.aconex.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 8GxOiiri3uzH for ; Fri, 29 May 2009 12:38:17 +1000 (EST) Received: from mail-au.aconex.com (mail-au.aconex.com [192.168.102.12]) by gatekeeper.aconex.com (Postfix) with ESMTP id 4CA4D4FD82 for ; Fri, 29 May 2009 12:38:17 +1000 (EST) Date: Fri, 29 May 2009 12:31:18 +1000 (EST) From: Nathan Scott To: pcp@oss.sgi.com Message-ID: <1457482500.5634761243564278095.JavaMail.root@mail-au.aconex.com> X-ASG-Orig-Subj: pcp-gui updates (1.4.2) Subject: pcp-gui updates (1.4.2) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Originating-IP: [203.89.192.141] X-Mailer: Zimbra 5.0.13_GA_2791.RHEL5_64 (ZimbraWebClient - [unknown] (Linux)/5.0.13_GA_2791.RHEL5_64) X-Barracuda-Connect: mail.aconex.com[203.89.202.182] X-Barracuda-Start-Time: 1243564286 X-Barracuda-Bayes: INNOCENT GLOBAL 0.0000 1.0000 -2.0210 X-Barracuda-Virus-Scanned: by cuda.sgi.com at sgi.com X-Barracuda-Spam-Score: -2.02 X-Barracuda-Spam-Status: No, SCORE=-2.02 using per-user scores of TAG_LEVEL=2.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=2.1 tests= X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.1.26999 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- X-Virus-Status: Clean Changes committed to git://oss.sgi.com/pcp/pcp-gui.git VERSION | 2 +- debian/changelog | 6 ++++++ doc/CHANGES | 6 ++++++ images/GNUmakefile | 2 +- images/pmchart.ico |binary images/pmtime.ico |binary src/chart/GNUmakefile | 9 ++++++--- src/chart/pmchart.pro.in | 1 + src/chart/pmchart.rc | 1 + src/time/GNUmakefile | 6 ++++-- src/time/pmtime.pro.in | 1 + src/time/pmtime.rc | 1 + 12 files changed, 28 insertions(+), 7 deletions(-) commit 14af7e19cb86aa63f854661e27765dab3e44780c Author: Nathan Scott Date: Thu May 28 13:15:22 2009 +1000 Bump version number for Win32 fixes. commit 2c594c55272b8fa768be2a527c248383a8b575ec Author: Nathan Scott Date: Thu May 28 13:02:05 2009 +1000 Add ico files in for pmchart/pmtime and ensure resource compiler finds em. From nscott@aconex.com Thu May 28 21:37:41 2009 X-Spam-Checker-Version: SpamAssassin 3.3.0-rupdated (updated) on oss.sgi.com X-Spam-Level: X-Spam-Status: No, score=-2.2 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.3.0-rupdated Received: from cuda.sgi.com (cuda1.sgi.com [192.48.157.11]) by oss.sgi.com (8.14.3/8.14.3/SuSE Linux 0.8) with ESMTP id n4T2bedQ023947 for ; Thu, 28 May 2009 21:37:40 -0500 X-ASG-Debug-ID: 1243565035-2df002c80000-S8gJnT X-Barracuda-URL: http://cuda.sgi.com:80/cgi-bin/mark.cgi Received: from postoffice2.aconex.com (localhost [127.0.0.1]) by cuda.sgi.com (Spam Firewall) with ESMTP id 4B4AC1021291 for ; Thu, 28 May 2009 19:43:56 -0700 (PDT) Received: from postoffice2.aconex.com (mail.aconex.com [203.89.202.182]) by cuda.sgi.com with ESMTP id oNJ0E4DHAfjVA9oW for ; Thu, 28 May 2009 19:43:56 -0700 (PDT) Received: from postoffice.aconex.com (localhost [127.0.0.1]) by postoffice2.aconex.com (Spam Firewall) with ESMTP id 3006D5C593F for ; Fri, 29 May 2009 12:37:51 +1000 (EST) Received: from postoffice.aconex.com (postoffice.yarra.acx [192.168.102.1]) by postoffice2.aconex.com with ESMTP id vNAmiH8HTaDIztmh for ; Fri, 29 May 2009 12:37:51 +1000 (EST) Received: from gatekeeper.aconex.com (gatekeeper.yarra.acx [192.168.102.10]) by postoffice.aconex.com (Postfix) with ESMTP id 7B70AA50265 for ; Fri, 29 May 2009 12:37:40 +1000 (EST) Received: from localhost (localhost.localdomain [127.0.0.1]) by gatekeeper.aconex.com (Postfix) with ESMTP id 35A004FD82 for ; Fri, 29 May 2009 12:44:50 +1000 (EST) X-Virus-Scanned: ClamAV version 0.94.2, clamav-milter version 0.94.2 on oss.sgi.com X-Virus-Scanned: amavisd-new at gatekeeper.yarra.acx Received: from gatekeeper.aconex.com ([127.0.0.1]) by localhost (gatekeeper.aconex.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ItX5Xgxm1JlY for ; Fri, 29 May 2009 12:44:44 +1000 (EST) Received: from mail-au.aconex.com (mail-au.aconex.com [192.168.102.12]) by gatekeeper.aconex.com (Postfix) with ESMTP id 941CE4FD85 for ; Fri, 29 May 2009 12:44:44 +1000 (EST) Date: Fri, 29 May 2009 12:37:45 +1000 (EST) From: Nathan Scott To: pcp@oss.sgi.com Message-ID: <1001690067.5635441243564665340.JavaMail.root@mail-au.aconex.com> In-Reply-To: <1374328195.5634821243564355155.JavaMail.root@mail-au.aconex.com> X-ASG-Orig-Subj: pcpweb updates Subject: pcpweb updates MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Originating-IP: [203.89.192.141] X-Mailer: Zimbra 5.0.13_GA_2791.RHEL5_64 (ZimbraWebClient - [unknown] (Linux)/5.0.13_GA_2791.RHEL5_64) X-Barracuda-Connect: mail.aconex.com[203.89.202.182] X-Barracuda-Start-Time: 1243565037 X-Barracuda-Bayes: INNOCENT GLOBAL 0.0000 1.0000 -2.0210 X-Barracuda-Virus-Scanned: by cuda.sgi.com at sgi.com X-Barracuda-Spam-Score: -2.02 X-Barracuda-Spam-Status: No, SCORE=-2.02 using per-user scores of TAG_LEVEL=2.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=2.1 tests= X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.1.27000 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- X-Virus-Status: Clean Changes committed to git://oss.sgi.com/pcp/pcpweb.git index.html | 6 +- license.html | 2 news.html | 5 + win32/Glider.bat | 5 + win32/Glider.pm | 137 +++++++++++++++++++++++++++++++++++++--------------- win32/pcpcharts.bat | 26 --------- win32/pcpcmd.bat | 26 --------- win32/postinst.bat | 23 ++++++++ win32/prerm.bat | 16 ++++++ win32/service.bat | 17 ------ win32/setup.bat | 3 - 11 files changed, 150 insertions(+), 116 deletions(-) commit 84f9b8edf3b56529bc1a3618280e0d67b25859c8 Author: Nathan Scott Date: Fri May 29 12:30:41 2009 +1000 Bump version numbers everywhere for all packages, update news, etc. commit c91a9e3eefb5a4569d14acdefbeb9e17af335c3c Author: Nathan Scott Date: Thu May 28 12:44:00 2009 +1000 Prep for next PCP Glider installment - 0.0.5 release. New features in this release: - new pcp-gui (severel pmchart fixes, set pmchart app icon) - new pcp (improve memory utilisation by pmdawindows) - service integration from the installer (auto-starts pmcd) - auto-setup the environment (PCP_DIR, PATH, etc) From nscott@aconex.com Thu May 28 23:34:02 2009 X-Spam-Checker-Version: SpamAssassin 3.3.0-rupdated (updated) on oss.sgi.com X-Spam-Level: X-Spam-Status: No, score=-2.2 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.3.0-rupdated Received: from cuda.sgi.com (cuda1.sgi.com [192.48.157.11]) by oss.sgi.com (8.14.3/8.14.3/SuSE Linux 0.8) with ESMTP id n4T4Y1f5028720 for ; Thu, 28 May 2009 23:34:02 -0500 X-ASG-Debug-ID: 1243572019-0b3d01ff0000-S8gJnT X-Barracuda-URL: http://cuda.sgi.com:80/cgi-bin/mark.cgi Received: from postoffice2.aconex.com (localhost [127.0.0.1]) by cuda.sgi.com (Spam Firewall) with ESMTP id 67F171020FCC for ; Thu, 28 May 2009 21:40:19 -0700 (PDT) Received: from postoffice2.aconex.com (mail.aconex.com [203.89.202.182]) by cuda.sgi.com with ESMTP id Z7mOU7QOgzFzHWrG for ; Thu, 28 May 2009 21:40:19 -0700 (PDT) Received: from postoffice.aconex.com (localhost [127.0.0.1]) by postoffice2.aconex.com (Spam Firewall) with ESMTP id 4B41B618B7B for ; Fri, 29 May 2009 14:34:14 +1000 (EST) Received: from postoffice.aconex.com (postoffice.yarra.acx [192.168.102.1]) by postoffice2.aconex.com with ESMTP id gGAI6Hvzv4uCTUMq for ; Fri, 29 May 2009 14:34:14 +1000 (EST) Received: from gatekeeper.aconex.com (gatekeeper.yarra.acx [192.168.102.10]) by postoffice.aconex.com (Postfix) with ESMTP id 8C07EA50265 for ; Fri, 29 May 2009 14:34:03 +1000 (EST) Received: from localhost (localhost.localdomain [127.0.0.1]) by gatekeeper.aconex.com (Postfix) with ESMTP id 0DB894FD82 for ; Fri, 29 May 2009 14:41:14 +1000 (EST) X-Virus-Scanned: ClamAV version 0.94.2, clamav-milter version 0.94.2 on oss.sgi.com X-Virus-Scanned: amavisd-new at gatekeeper.yarra.acx Received: from gatekeeper.aconex.com ([127.0.0.1]) by localhost (gatekeeper.aconex.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id fyVWsH160ZA8 for ; Fri, 29 May 2009 14:41:09 +1000 (EST) Received: from mail-au.aconex.com (mail-au.aconex.com [192.168.102.12]) by gatekeeper.aconex.com (Postfix) with ESMTP id 1E96C4FD84 for ; Fri, 29 May 2009 14:41:02 +1000 (EST) Date: Fri, 29 May 2009 14:34:02 +1000 (EST) From: Nathan Scott To: pcp@oss.sgi.com Message-ID: <206971210.5646831243571642227.JavaMail.root@mail-au.aconex.com> X-ASG-Orig-Subj: PCP Glider 0.0.5 released Subject: PCP Glider 0.0.5 released MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Originating-IP: [203.89.192.141] X-Mailer: Zimbra 5.0.13_GA_2791.RHEL5_64 (ZimbraWebClient - [unknown] (Linux)/5.0.13_GA_2791.RHEL5_64) X-Barracuda-Connect: mail.aconex.com[203.89.202.182] X-Barracuda-Start-Time: 1243572020 X-Barracuda-Bayes: INNOCENT GLOBAL 0.0649 1.0000 -1.6065 X-Barracuda-Virus-Scanned: by cuda.sgi.com at sgi.com X-Barracuda-Spam-Score: -1.61 X-Barracuda-Spam-Status: No, SCORE=-1.61 using per-user scores of TAG_LEVEL=2.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=2.1 tests= X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.1.27008 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- X-Virus-Status: Clean Hi all, There's a new version of PCP Glider (pcp-glider-0.0.5.exe) - the native version of PCP for Windows. You can download it from: http://oss.sgi.com/projects/pcp This version contains several new features making it now suitable for anyone and everyone to try out: - Installs and runs pmcd by default, via the Windows services API (IOW, localhost monitoring is now enabled "out of the box") - Installs global environment variables needed by PCP into the registry, including an update to the default PATH so that all PCP commands are found by default - Installs Start menu items for pmchart, etc, for easy desktop access - Plus many, many fixes thanks to the ongoing testing efforts of Nigel Donaldson and David Chatterton. Enjoy! -- Nathan From wwwrun@oss.sgi.com Thu May 28 23:50:01 2009 X-Spam-Checker-Version: SpamAssassin 3.3.0-rupdated (updated) on oss.sgi.com X-Spam-Level: X-Spam-Status: No, score=-1.3 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00 autolearn=ham version=3.3.0-rupdated Received: from oss.sgi.com (localhost [127.0.0.1]) by oss.sgi.com (8.14.3/8.14.3/SuSE Linux 0.8) with ESMTP id n4T4o1sw029639 for ; Thu, 28 May 2009 23:50:01 -0500 Received: (from wwwrun@localhost) by oss.sgi.com (8.14.3/8.14.3/Submit) id n4T4o1tT029638; Thu, 28 May 2009 23:50:01 -0500 Date: Thu, 28 May 2009 23:50:01 -0500 From: bugzilla-daemon@oss.sgi.com To: pcp@oss.sgi.com Subject: [Bug 837] New: PCP Charts doesn't seem to recover from a host-based PCP restart X-Bugzilla-Reason: CC X-Bugzilla-Type: newchanged X-Bugzilla-Watch-Reason: None X-Bugzilla-Classification: Unclassified X-Bugzilla-Product: pcp X-Bugzilla-Component: pcp-glider X-Bugzilla-Keywords: X-Bugzilla-Severity: major X-Bugzilla-Who: ndonaldson@aconex.com X-Bugzilla-Status: NEW X-Bugzilla-Priority: P5 X-Bugzilla-Assigned-To: nathans@debian.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: Message-ID: Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 http://oss.sgi.com/bugzilla/show_bug.cgi?id=837 Summary: PCP Charts doesn't seem to recover from a host-based PCP restart Product: pcp Version: unspecified Platform: PC OS/Version: Windows XP Status: NEW Severity: major Priority: P5 Component: pcp-glider AssignedTo: nathans@debian.org ReportedBy: ndonaldson@aconex.com CC: pcp@oss.sgi.com Estimated Hours: 0.0 Classification: Unclassified Created an attachment (id=271) --> (http://oss.sgi.com/bugzilla/attachment.cgi?id=271) WinPCP and CygwinPCP monitors - the latter proves the restart was successful I've just re-started the PCP systems on hosts app1.drp.acx and index1.drp.acx, and waited a couple of minutes for the Windows PCP Charts window to update with information... ...I gave up after 5 mins, a timeframe usually sufficient for the monitors to start charting again. To be fair... they were charting, but with no data. -- Configure bugmail: http://oss.sgi.com/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug. From wwwrun@oss.sgi.com Thu May 28 23:56:38 2009 X-Spam-Checker-Version: SpamAssassin 3.3.0-rupdated (updated) on oss.sgi.com X-Spam-Level: X-Spam-Status: No, score=-1.3 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00 autolearn=ham version=3.3.0-rupdated Received: from oss.sgi.com (localhost [127.0.0.1]) by oss.sgi.com (8.14.3/8.14.3/SuSE Linux 0.8) with ESMTP id n4T4uc8c029922 for ; Thu, 28 May 2009 23:56:38 -0500 Received: (from wwwrun@localhost) by oss.sgi.com (8.14.3/8.14.3/Submit) id n4T4ucRP029921; Thu, 28 May 2009 23:56:38 -0500 Date: Thu, 28 May 2009 23:56:38 -0500 From: bugzilla-daemon@oss.sgi.com To: pcp@oss.sgi.com Subject: [Bug 838] New: Annoying files created at C:\ X-Bugzilla-Reason: CC X-Bugzilla-Type: newchanged X-Bugzilla-Watch-Reason: None X-Bugzilla-Classification: Unclassified X-Bugzilla-Product: pcp X-Bugzilla-Component: pcp-glider X-Bugzilla-Keywords: X-Bugzilla-Severity: minor X-Bugzilla-Who: ndonaldson@aconex.com X-Bugzilla-Status: NEW X-Bugzilla-Priority: P5 X-Bugzilla-Assigned-To: nathans@debian.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: Message-ID: Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 http://oss.sgi.com/bugzilla/show_bug.cgi?id=838 Summary: Annoying files created at C:\ Product: pcp Version: unspecified Platform: PC OS/Version: Windows XP Status: NEW Severity: minor Priority: P5 Component: pcp-glider AssignedTo: nathans@debian.org ReportedBy: ndonaldson@aconex.com CC: pcp@oss.sgi.com Estimated Hours: 0.0 Classification: Unclassified Created an attachment (id=272) --> (http://oss.sgi.com/bugzilla/attachment.cgi?id=272) temp file The following is stored in a file at C:\ on my PC. pmchart: Error: app1.drp.acx@fw1.drp.acx:aconex.memory.gc.full.count[hkg]: Unknown or illegal instance identifier pmchart: Error: app1.drp.acx@fw1.drp.acx:aconex.memory.gc.minor.count[hkg]: Unknown or illegal instance identifier pmchart: Error: app1.drp.acx@fw1.drp.acx:aconex.response_time.avg[hkg]: Unknown or illegal instance identifier It matches the dialogue displayed when PCP Charts is started, as a result of the application not having been started at that time. The Linux/Debian version displays the dialogue, but I don't know if equivalent files are created in /tmp. With Windows, it's possibly using the %SystemDrive% env-var. The attachment shows the other one currently on my PC. The other day, I removed about 15!!! -- Configure bugmail: http://oss.sgi.com/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug. From wwwrun@oss.sgi.com Fri May 29 01:58:07 2009 X-Spam-Checker-Version: SpamAssassin 3.3.0-rupdated (updated) on oss.sgi.com X-Spam-Level: X-Spam-Status: No, score=-1.3 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00 autolearn=ham version=3.3.0-rupdated Received: from oss.sgi.com (localhost [127.0.0.1]) by oss.sgi.com (8.14.3/8.14.3/SuSE Linux 0.8) with ESMTP id n4T6w7eL037462 for ; Fri, 29 May 2009 01:58:07 -0500 Received: (from wwwrun@localhost) by oss.sgi.com (8.14.3/8.14.3/Submit) id n4T6w7sl037461; Fri, 29 May 2009 01:58:07 -0500 Date: Fri, 29 May 2009 01:58:07 -0500 Message-Id: <200905290658.n4T6w7sl037461@oss.sgi.com> From: bugzilla-daemon@oss.sgi.com To: pcp@oss.sgi.com Subject: [Bug 837] PCP Charts doesn't seem to recover from a host-based PCP restart X-Bugzilla-Reason: CC X-Bugzilla-Type: newchanged X-Bugzilla-Watch-Reason: None X-Bugzilla-Classification: Unclassified X-Bugzilla-Product: pcp X-Bugzilla-Component: pcp-glider X-Bugzilla-Keywords: X-Bugzilla-Severity: major X-Bugzilla-Who: goodwinos@gmail.com X-Bugzilla-Status: NEW X-Bugzilla-Priority: P5 X-Bugzilla-Assigned-To: nathans@debian.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: CC In-Reply-To: References: Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 http://oss.sgi.com/bugzilla/show_bug.cgi?id=837 Mark Goodwin changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |goodwinos@gmail.com --- Comment #1 from Mark Goodwin 2009-05-29 01:58:05 CST --- maybe pmReconnectContext() is busted? (actually, I'm just testing the pcp bugzilla!!) -- Configure bugmail: http://oss.sgi.com/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug. From jonathan@csse.uwa.edu.au Sat May 30 10:52:17 2009 X-Spam-Checker-Version: SpamAssassin 3.3.0-rupdated (updated) on oss.sgi.com X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00 autolearn=ham version=3.3.0-rupdated Received: from cuda.sgi.com (cuda1.sgi.com [192.48.157.11]) by oss.sgi.com (8.14.3/8.14.3/SuSE Linux 0.8) with ESMTP id n4UFqGoF150022 for ; Sat, 30 May 2009 10:52:17 -0500 X-ASG-Debug-ID: 1243699122-2dba025a0000-S8gJnT X-Barracuda-URL: http://cuda.sgi.com:80/cgi-bin/mark.cgi Received: from antivirus.uwa.edu.au (localhost [127.0.0.1]) by cuda.sgi.com (Spam Firewall) with ESMTP id 6AB711489B52 for ; Sat, 30 May 2009 08:58:42 -0700 (PDT) Received: from antivirus.uwa.edu.au (antivirus.uwa.edu.au [130.95.128.57]) by cuda.sgi.com with ESMTP id 6JjPwGCohDvGpmpE for ; Sat, 30 May 2009 08:58:42 -0700 (PDT) Received: from kas30pipe.localhost (localhost.localdomain [127.0.0.1]) by panacea.uwa.edu.au (Postfix) with ESMTP id 4124687BA8 for ; Sat, 30 May 2009 23:52:29 +0800 (WST) Received: from panacea (localhost.localdomain [127.0.0.1]) by panacea.prekas (Postfix) with SMTP id BDD9C87BE6 for ; Sat, 30 May 2009 23:52:28 +0800 (WST) X-UWA-Client-IP: 130.95.1.11 (UWA) Received: from postfix.csse.uwa.edu.au (postfix.csse.uwa.edu.au [130.95.1.11]) by panacea.extinput (Postfix) with ESMTP id 9721D87BA8 for ; Sat, 30 May 2009 23:52:28 +0800 (WST) Received: from postfix.csse.uwa.edu.au (localhost.localdomain [127.0.0.1]) by postfix.csse.uwa.edu.au (Postfix) with ESMTP id 886C43964001 for ; Sat, 30 May 2009 23:52:28 +0800 (WST) Authentication-Results: postfix; X-DKIM-Authentication-Results: none Received: from sizzle.csse.uwa.edu.au (sizzle.csse.uwa.edu.au [130.95.1.56]) by postfix.csse.uwa.edu.au (Postfix) with ESMTP for ; Sat, 30 May 2009 23:52:28 +0800 (WST) From: Jonathan Knispel To: pcp@oss.sgi.com X-ASG-Orig-Subj: Re: [pcp] mmv PMDA and ReplacePmnsSubtree Subject: Re: [pcp] mmv PMDA and ReplacePmnsSubtree Date: Sat, 30 May 2009 23:52:27 +0800 User-Agent: KMail/1.9.5 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200905302352.27875.jonathan@csse.uwa.edu.au> X-SpamTest-Envelope-From: jonathan@csse.uwa.edu.au X-SpamTest-Group-ID: 00000000 X-SpamTest-Info: Profiles 8575 [May 30 2009] X-SpamTest-Method: none X-SpamTest-Rate: 0 X-SpamTest-Status: Not detected X-SpamTest-Status-Extended: not_detected X-SpamTest-Version: SMTP-Filter Version 3.0.0 [0278], KAS30/Release X-Barracuda-Connect: antivirus.uwa.edu.au[130.95.128.57] X-Barracuda-Start-Time: 1243699124 X-Barracuda-Bayes: INNOCENT GLOBAL 0.0348 1.0000 -1.7961 X-Barracuda-Virus-Scanned: by cuda.sgi.com at sgi.com X-Barracuda-Spam-Score: -1.80 X-Barracuda-Spam-Status: No, SCORE=-1.80 using per-user scores of TAG_LEVEL=2.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=2.1 tests= X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.1.27143 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- X-Virus-Scanned: ClamAV version 0.94.2, clamav-milter version 0.94.2 on oss.sgi.com X-Virus-Status: Clean Mark Goodwin wrote: > >Nathan Scott wrote: > > src/pmns/ReplacePmnsSubtree (its after my time too, but IIRC > > Jonathan wrote it to resolve some PMNS locking issues). > > yes he did. IIRC, the pmns manipulation scripts had no mutex. > I think we tripped up during rc when one PMDA dynamically > reconfigured it's pmns whilst another was auto-installing > via .NEEDINSTALL during rc. Something like that. The PMNS update scripts were mostly OK. I fixed a couple of minor niggles with signal handling releasing unheld locks and moved some code back inside a lock-protected region. If I recall correctly, ReplacePmnsSubtree is for C programs to call, so they don't have to have signal handling, etc, to clean up locks. If pmdaavg was open sourced, it contains example usage. The MMV PMDA had the same problem as pmdaavg, but since it wasn't being used actively, it went on the low-priority fix list and I didn't get to it. I think the script itself contains a comment describing the problem. Maybe at the bottom? Sorry don't have tim to lokk right now. Regards, Jonathan From wwwrun@oss.sgi.com Sun May 31 11:29:58 2009 X-Spam-Checker-Version: SpamAssassin 3.3.0-rupdated (updated) on oss.sgi.com X-Spam-Level: X-Spam-Status: No, score=-1.3 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00 autolearn=ham version=3.3.0-rupdated Received: from oss.sgi.com (localhost [127.0.0.1]) by oss.sgi.com (8.14.3/8.14.3/SuSE Linux 0.8) with ESMTP id n4VGTwJA215332 for ; Sun, 31 May 2009 11:29:58 -0500 Received: (from wwwrun@localhost) by oss.sgi.com (8.14.3/8.14.3/Submit) id n4VGTwMW215331; Sun, 31 May 2009 11:29:58 -0500 Date: Sun, 31 May 2009 11:29:58 -0500 From: bugzilla-daemon@oss.sgi.com To: pcp@oss.sgi.com Subject: [Bug 839] New: PCP GUI failed to build w/ GCC 4.4.0 X-Bugzilla-Reason: CC X-Bugzilla-Type: newchanged X-Bugzilla-Watch-Reason: None X-Bugzilla-Classification: Unclassified X-Bugzilla-Product: pcp X-Bugzilla-Component: pcp-gui X-Bugzilla-Keywords: X-Bugzilla-Severity: major X-Bugzilla-Who: peter.kovar@gmail.com X-Bugzilla-Status: NEW X-Bugzilla-Priority: P5 X-Bugzilla-Assigned-To: nathans@debian.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: Message-ID: Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 http://oss.sgi.com/bugzilla/show_bug.cgi?id=839 Summary: PCP GUI failed to build w/ GCC 4.4.0 Product: pcp Version: unspecified Platform: All OS/Version: Linux Status: NEW Severity: major Priority: P5 Component: pcp-gui AssignedTo: nathans@debian.org ReportedBy: peter.kovar@gmail.com CC: pcp@oss.sgi.com Estimated Hours: 0.0 Classification: Unclassified Created an attachment (id=273) --> (http://oss.sgi.com/bugzilla/attachment.cgi?id=273) Added conversion to make compiler happy GCC 4.4.0 has stricter type conversion checking than previous versions. -- Configure bugmail: http://oss.sgi.com/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug. From wwwrun@oss.sgi.com Sun May 31 17:26:53 2009 X-Spam-Checker-Version: SpamAssassin 3.3.0-rupdated (updated) on oss.sgi.com X-Spam-Level: X-Spam-Status: No, score=-1.3 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00 autolearn=ham version=3.3.0-rupdated Received: from oss.sgi.com (localhost [127.0.0.1]) by oss.sgi.com (8.14.3/8.14.3/SuSE Linux 0.8) with ESMTP id n4VMQrfs226180 for ; Sun, 31 May 2009 17:26:53 -0500 Received: (from wwwrun@localhost) by oss.sgi.com (8.14.3/8.14.3/Submit) id n4VMQrXJ226179; Sun, 31 May 2009 17:26:53 -0500 Date: Sun, 31 May 2009 17:26:53 -0500 Message-Id: <200905312226.n4VMQrXJ226179@oss.sgi.com> From: bugzilla-daemon@oss.sgi.com To: pcp@oss.sgi.com Subject: [Bug 836] Non-functional predefined position/size of PCP Chart window in config-file X-Bugzilla-Reason: CC X-Bugzilla-Type: newchanged X-Bugzilla-Watch-Reason: None X-Bugzilla-Classification: Unclassified X-Bugzilla-Product: pcp X-Bugzilla-Component: pcp-glider X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: nathans@debian.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Priority: P5 X-Bugzilla-Assigned-To: nathans@debian.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: In-Reply-To: References: Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 http://oss.sgi.com/bugzilla/show_bug.cgi?id=836 --- Comment #5 from Nathan Scott 2009-05-31 17:26:51 CST --- > It might be that Qt ignores the requested height (in this case) if it deems > that it can't 'adequately' render the defined charts in the requested > window-area? Recall, I saw something similar to this with the Linux version a > couple of months ago. By the way... I have seven charts per tab. Thats correct - pmchart asks (via Qt interface) what the "usable" desktop area is, and then restricts the Window it creates to that size. This is meant to take into account taskbar areas, Start menu, any desktop docks, etc. cheers. -- Configure bugmail: http://oss.sgi.com/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug. From nscott@aconex.com Sun May 31 18:02:52 2009 X-Spam-Checker-Version: SpamAssassin 3.3.0-rupdated (updated) on oss.sgi.com X-Spam-Level: X-Spam-Status: No, score=-2.5 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.3.0-rupdated Received: from cuda.sgi.com (cuda1.sgi.com [192.48.157.11]) by oss.sgi.com (8.14.3/8.14.3/SuSE Linux 0.8) with ESMTP id n4VN2pCn226704 for ; Sun, 31 May 2009 18:02:52 -0500 X-ASG-Debug-ID: 1243811365-77aa02520000-S8gJnT X-Barracuda-URL: http://cuda.sgi.com:80/cgi-bin/mark.cgi Received: from postoffice2.aconex.com (localhost [127.0.0.1]) by cuda.sgi.com (Spam Firewall) with ESMTP id C85891035C65 for ; Sun, 31 May 2009 16:09:25 -0700 (PDT) Received: from postoffice2.aconex.com (mail.aconex.com [203.89.202.182]) by cuda.sgi.com with ESMTP id iBRZZdA3FWdtazUZ for ; Sun, 31 May 2009 16:09:25 -0700 (PDT) Received: from postoffice.aconex.com (localhost [127.0.0.1]) by postoffice2.aconex.com (Spam Firewall) with ESMTP id 8B76077DB36; Mon, 1 Jun 2009 09:03:04 +1000 (EST) Received: from postoffice.aconex.com (postoffice.yarra.acx [192.168.102.1]) by postoffice2.aconex.com with ESMTP id eQ69O8pPvclMxcg2; Mon, 01 Jun 2009 09:03:04 +1000 (EST) Received: from gatekeeper.aconex.com (gatekeeper.yarra.acx [192.168.102.10]) by postoffice.aconex.com (Postfix) with ESMTP id 5DE8DA50118; Mon, 1 Jun 2009 09:02:52 +1000 (EST) Received: from localhost (localhost.localdomain [127.0.0.1]) by gatekeeper.aconex.com (Postfix) with ESMTP id 5B16DC7A31; Mon, 1 Jun 2009 09:10:26 +1000 (EST) X-Virus-Scanned: ClamAV version 0.94.2, clamav-milter version 0.94.2 on oss.sgi.com X-Virus-Scanned: amavisd-new at gatekeeper.yarra.acx Received: from gatekeeper.aconex.com ([127.0.0.1]) by localhost (gatekeeper.aconex.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id bl9mtBKWNYiv; Mon, 1 Jun 2009 09:10:21 +1000 (EST) Received: from mail-au.aconex.com (mail-au.aconex.com [192.168.102.12]) by gatekeeper.aconex.com (Postfix) with ESMTP id 9B1B54FD82; Mon, 1 Jun 2009 09:10:21 +1000 (EST) Date: Mon, 1 Jun 2009 09:02:59 +1000 (EST) From: Nathan Scott To: Jonathan Knispel Cc: pcp@oss.sgi.com Message-ID: <15109974.5681971243810979542.JavaMail.root@mail-au.aconex.com> In-Reply-To: <754476915.5681711243810890272.JavaMail.root@mail-au.aconex.com> X-ASG-Orig-Subj: Re: [pcp] mmv PMDA and ReplacePmnsSubtree Subject: Re: [pcp] mmv PMDA and ReplacePmnsSubtree MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Originating-IP: [211.28.214.49] X-Mailer: Zimbra 5.0.13_GA_2791.RHEL5_64 (ZimbraWebClient - SAF3 (Mac)/5.0.13_GA_2791.RHEL5_64) X-Barracuda-Connect: mail.aconex.com[203.89.202.182] X-Barracuda-Start-Time: 1243811366 X-Barracuda-Bayes: INNOCENT GLOBAL 0.0000 1.0000 -2.0210 X-Barracuda-Virus-Scanned: by cuda.sgi.com at sgi.com X-Barracuda-Spam-Score: -2.02 X-Barracuda-Spam-Status: No, SCORE=-2.02 using per-user scores of TAG_LEVEL=2.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=2.1 tests= X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.1.27265 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- X-Virus-Status: Clean ----- "Jonathan Knispel" wrote: > Mark Goodwin wrote: > > >Nathan Scott wrote: > > > src/pmns/ReplacePmnsSubtree (its after my time too, but IIRC > > > Jonathan wrote it to resolve some PMNS locking issues). > > > > yes he did. IIRC, the pmns manipulation scripts had no mutex. > > I think we tripped up during rc when one PMDA dynamically > > reconfigured it's pmns whilst another was auto-installing > > via .NEEDINSTALL during rc. Something like that. > > The PMNS update scripts were mostly OK. I fixed a couple of minor > niggles with signal handling releasing unheld locks and moved some > code > back inside a lock-protected region. > > If I recall correctly, ReplacePmnsSubtree is for C programs to call, > > so they don't have to have signal handling, etc, to clean up locks. If > pmdaavg was open sourced, it contains example usage. The MMV PMDA had > the same problem as pmdaavg, but since it wasn't being used actively, > it went on the low-priority fix list and I didn't get to it. It was a trivial fix in the end, I've updated it now in my git tree. > I think the script itself contains a comment describing the problem. > Maybe at the bottom? Sorry don't have tim to lokk right now. Yep, thanks. cheers. -- Nathan From wwwrun@oss.sgi.com Sun May 31 20:25:15 2009 X-Spam-Checker-Version: SpamAssassin 3.3.0-rupdated (updated) on oss.sgi.com X-Spam-Level: X-Spam-Status: No, score=-1.2 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00, J_CHICKENPOX_61 autolearn=no version=3.3.0-rupdated Received: from oss.sgi.com (localhost [127.0.0.1]) by oss.sgi.com (8.14.3/8.14.3/SuSE Linux 0.8) with ESMTP id n511PFoA229556 for ; Sun, 31 May 2009 20:25:15 -0500 Received: (from wwwrun@localhost) by oss.sgi.com (8.14.3/8.14.3/Submit) id n511PFPL229555; Sun, 31 May 2009 20:25:15 -0500 Date: Sun, 31 May 2009 20:25:15 -0500 Message-Id: <200906010125.n511PFPL229555@oss.sgi.com> From: bugzilla-daemon@oss.sgi.com To: pcp@oss.sgi.com Subject: [Bug 839] PCP GUI failed to build w/ GCC 4.4.0 X-Bugzilla-Reason: CC X-Bugzilla-Type: newchanged X-Bugzilla-Watch-Reason: None X-Bugzilla-Classification: Unclassified X-Bugzilla-Product: pcp X-Bugzilla-Component: pcp-gui X-Bugzilla-Keywords: X-Bugzilla-Severity: major X-Bugzilla-Who: nathans@debian.org X-Bugzilla-Status: NEW X-Bugzilla-Priority: P5 X-Bugzilla-Assigned-To: nathans@debian.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: In-Reply-To: References: Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 http://oss.sgi.com/bugzilla/show_bug.cgi?id=839 --- Comment #1 from Nathan Scott 2009-05-31 20:25:14 CST --- Thanks for the patch. It seems a little odd though: p = (char *)(const char *)cp->name(m).toAscii(); - if ((q = strstr(p, "[")) != NULL) { + if ((q = strstr((char *)p, "[")) != NULL) { Does making "p" of (char *) type initially, instead of (const char *) also fix the problem? That might be a bit more readable. cheers. -- Configure bugmail: http://oss.sgi.com/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.