From kmcdonell@aconex.com Wed Apr 30 15:35:02 2008 Received: with ECARTIS (v1.0.0; list pcp); Thu, 01 May 2008 11:05:49 -0700 (PDT) Received: from cuda.sgi.com (cuda1.sgi.com [192.48.168.28]) by oss.sgi.com (8.12.11.20060308/8.12.11/SuSE Linux 0.7) with ESMTP id m3UMYtQE030535 for ; Wed, 30 Apr 2008 15:35:02 -0700 X-ASG-Debug-ID: 1209594936-11d8006e0000-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 7F315AD449C for ; Wed, 30 Apr 2008 15:35:36 -0700 (PDT) Received: from postoffice2.aconex.com (prod.aconex.com [203.89.192.138]) by cuda.sgi.com with ESMTP id rjkjHvlNX1e1OBF4 for ; Wed, 30 Apr 2008 15:35:36 -0700 (PDT) Received: from postoffice.aconex.com (localhost [127.0.0.1]) by postoffice2.aconex.com (Spam Firewall) with ESMTP id AA3B85CC40B for ; Thu, 1 May 2008 08:35:23 +1000 (EST) Received: from postoffice.aconex.com (postoffice.yarra.acx [192.168.3.1]) by postoffice2.aconex.com with ESMTP id DfQO3ql6UpQNjHqf for ; Thu, 01 May 2008 08:35:23 +1000 (EST) Received: from [192.168.5.86] (unknown [203.89.192.141]) by postoffice.aconex.com (Postfix) with ESMTP id 82A4A92C2F0; Thu, 1 May 2008 08:35:34 +1000 (EST) X-ASG-Orig-Subj: Re: pmParseMetricSpec(3) problems Subject: Re: pmParseMetricSpec(3) problems From: Ken McDonell To: nscott@aconex.com Cc: pcp@oss.sgi.com In-Reply-To: <54508.192.168.3.1.1209591565.squirrel@mail.aconex.com> References: <40997.192.168.3.1.1209514118.squirrel@mail.aconex.com> <1209590407.2870.19.camel@localhost.localdomain> <54508.192.168.3.1.1209591565.squirrel@mail.aconex.com> Content-Type: text/plain Date: Thu, 01 May 2008 08:34:59 +1000 Message-Id: <1209594900.2885.13.camel@localhost.localdomain> Mime-Version: 1.0 X-Mailer: Evolution 2.12.3 (2.12.3-4.fc8) Content-Transfer-Encoding: 7bit X-Barracuda-Connect: prod.aconex.com[203.89.192.138] X-Barracuda-Start-Time: 1209594939 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.1, rules version 3.1.49303 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- X-archive-position: 1626 X-Approved-By: makc@sgi.com X-ecartis-version: Ecartis v1.0.0 Sender: pcp-bounce@oss.sgi.com Errors-to: pcp-bounce@oss.sgi.com X-original-sender: kmcdonell@aconex.com Precedence: bulk X-list: pcp Oops, sorry for missing the whole point! Since the original rationale for PM_CONTEXT_LOCAL no longer exists (let me know if anyone is interested in the history lesson), and it was probably a bad idea even at the time, much less now, I'm curious why this one is of interest. Killing off PM_CONTEXT_LOCAL would solve your problem ... 8^)> Alternately, choose a character that cannot be part of a valid hostname (e.g. @) and declare that @:metric means PM_CONTEXT_LOCAL ... in which case "host" would be specified in the string, and isarch would not be used as an input parameter, and extend isarch in the return result to be -1 or 2 for PM_CONTEXT_LOCAL. In the open source code base, pmParseMetricSpec() is only called from: src/libpcp_pmc/src/Metric.c++ src/pmdumptext/pmdumptext.c++ src/pmval/pmval.c so we're probably not looking a big risk even if the API semantics are bent a little to accommodate PM_CONTEXT_LOCAL. On Thu, 2008-05-01 at 07:39 +1000, nscott@aconex.com wrote: > ... > But, my issue was local contexts (not pmcd) - I don't see any way for a > pmMetricSpec to specify this third kind of context today, and not sure > what the best approach to take to implement that is. > ... From kimbrr@sgi.com Thu May 1 22:13:41 2008 Received: with ECARTIS (v1.0.0; list pcp); Thu, 01 May 2008 22:13:53 -0700 (PDT) Received: from larry.melbourne.sgi.com (larry.melbourne.sgi.com [134.14.52.130]) by oss.sgi.com (8.12.11.20060308/8.12.11/SuSE Linux 0.7) with SMTP id m425DaHD004537 for ; Thu, 1 May 2008 22:13:40 -0700 Received: from snort.melbourne.sgi.com (snort.melbourne.sgi.com [134.14.54.149]) by larry.melbourne.sgi.com (950413.SGI.8.6.12/950213.SGI.AUTOCF) via ESMTP id PAA10240; Fri, 2 May 2008 15:14:15 +1000 Received: from snort.melbourne.sgi.com (localhost [127.0.0.1]) by snort.melbourne.sgi.com (SGI-8.12.5/8.12.5) with ESMTP id m425EFsT151719157; Fri, 2 May 2008 15:14:15 +1000 (AEST) Received: from localhost (kimbrr@localhost) by snort.melbourne.sgi.com (SGI-8.12.5/8.12.5/Submit) with ESMTP id m425EDRr152503852; Fri, 2 May 2008 15:14:14 +1000 (AEST) X-Authentication-Warning: snort.melbourne.sgi.com: kimbrr owned process doing -bs Date: Fri, 2 May 2008 15:14:13 +1000 From: Michael Newton X-X-Sender: kimbrr@snort.melbourne.sgi.com To: pcp@oss.sgi.com cc: Mark Goodwin , Martin Hicks , Jonathan Knispel Subject: pmie rule for instance disappearing In-Reply-To: Message-ID: References: <20080410185433.GA7489@alcatraz.americas.sgi.com> <20080417142353.GH30732@alcatraz.americas.sgi.com> <20080501160747.GE29179@alcatraz.americas.sgi.com> <481A524E.9090000@sgi.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-archive-position: 1627 X-ecartis-version: Ecartis v1.0.0 Sender: pcp-bounce@oss.sgi.com Errors-to: pcp-bounce@oss.sgi.com X-original-sender: kimbrr@sgi.com Precedence: bulk X-list: pcp we need a pmie rule to notice when any instance on a metric disappears. Wouldnt u think that should be easy? i came across ken's recent(ish) change.. commit 605771bf897aa7fe4c7c79215d901bb6e5960dc6 Author: Ken McDonell Date: Mon Jul 2 12:19:17 2007 +1000 Allow pmie and/or operators to function with some data missing. This change modifies pmie to allow a logical OR expression to evalute to true when only once side of the expression tree can be evaluated, due to host down / instance unavailable / insufficient samples. Same for logical AND expressions, and evaluating to false. ..so one might think some_inst ( cluster.blah @1 >= 0 && ! cluster.blah >= 0 ) -> ... would do (assuming valid values of cluster.blah are always >=0).. but the problem is that actually if the instance disppears, *both* cluster.blah *and* cluster.blah @1 become undefined. Even if you just have cluster.blah #node9 @1; cluster.blah #node9 ; and run pmie -V, you will see them both become '?' together when the node9 instance goes away. Likewise without the explicit instance spec, if there are no other instances. Does that seem like a bug? To do @1, pmie must somehow record current values in a way that allows them to be matched to their instances.. so when asked for @1 values, why not report the recorded value for cluster.blah at #node9 ? while im about it, wouldnt u expect count_inst( cluster.blah >=0 ) to evaluate zero when there are no instances? and sum_inst ? Dr.Michael("Kimba")Newton kimbrr@sgi.com From nscott@aconex.com Sat May 3 04:42:05 2008 Received: with ECARTIS (v1.0.0; list pcp); Sat, 03 May 2008 04:42:15 -0700 (PDT) Received: from cuda.sgi.com (cuda1.sgi.com [192.48.168.28]) by oss.sgi.com (8.12.11.20060308/8.12.11/SuSE Linux 0.7) with ESMTP id m43Bg0cI023905 for ; Sat, 3 May 2008 04:42:05 -0700 X-ASG-Debug-ID: 1209814962-3b7602ec0000-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 9C33512AE6B0 for ; Sat, 3 May 2008 04:42:43 -0700 (PDT) Received: from postoffice2.aconex.com (prod.aconex.com [203.89.192.138]) by cuda.sgi.com with ESMTP id 5NynVRYBPDldi0ja for ; Sat, 03 May 2008 04:42:43 -0700 (PDT) Received: from postoffice.aconex.com (localhost [127.0.0.1]) by postoffice2.aconex.com (Spam Firewall) with ESMTP id DCC5B5DD700; Sat, 3 May 2008 21:42:24 +1000 (EST) Received: from postoffice.aconex.com (postoffice.yarra.acx [192.168.3.1]) by postoffice2.aconex.com with ESMTP id OM16qrXBca6IM4WY; Sat, 03 May 2008 21:42:24 +1000 (EST) Received: from mail.aconex.com (castle.yarra.acx [192.168.3.3]) by postoffice.aconex.com (Postfix) with ESMTP id EEE1E92C2F0; Sat, 3 May 2008 21:42:37 +1000 (EST) Received: from 192.168.3.1 (proxying for 58.107.42.33) (SquirrelMail authenticated user nscott) by mail.aconex.com with HTTP; Sat, 3 May 2008 21:42:37 +1000 (EST) Message-ID: <48146.192.168.3.1.1209814957.squirrel@mail.aconex.com> In-Reply-To: References: Date: Sat, 3 May 2008 21:42:37 +1000 (EST) X-ASG-Orig-Subj: Re: missing xcode projects when building kmchart Subject: Re: missing xcode projects when building kmchart From: nscott@aconex.com To: "James Peach" Cc: pcp@oss.sgi.com User-Agent: SquirrelMail/1.4.8-4.el4.centos MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal X-Barracuda-Connect: prod.aconex.com[203.89.192.138] X-Barracuda-Start-Time: 1209814965 X-Barracuda-Bayes: INNOCENT GLOBAL 0.0129 1.0000 -1.9370 X-Barracuda-Virus-Scanned: by cuda.sgi.com at sgi.com X-Barracuda-Spam-Score: -1.39 X-Barracuda-Spam-Status: No, SCORE=-1.39 using per-user scores of TAG_LEVEL=2.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=2.1 tests=NO_REAL_NAME X-Barracuda-Spam-Report: Code version 3.1, rules version 3.1.49542 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- 0.55 NO_REAL_NAME From: does not include a real name X-archive-position: 1628 X-ecartis-version: Ecartis v1.0.0 Sender: pcp-bounce@oss.sgi.com Errors-to: pcp-bounce@oss.sgi.com X-original-sender: nscott@aconex.com Precedence: bulk X-list: pcp > Hi Nathan, > > I pulled the kmchart git tree, but I'm a bit stumped by the build: > > blacko:kmchart.git jpeach$ make > === src === > === include === > make[2]: Nothing to be done for `default'. > === libqmc === > /opt/local/bin/qmake && xcodebuild > xcodebuild: Error: the directory /Users/jpeach/src/kmchart.git/src/ > libqmc does not contain an Xcode project. > make[2]: *** [default] Error 1 > make[1]: *** [default] Error 2 > make: *** [default] Error 2 > > It looks like qmake is expected to generate a xcode project, but it > doesn't actually do it. I just checked in some changes which got me to a successful build on Mac OS X 10.5 with Xcode 3.0. I'm also using Qt 4.3.4 from the DMG which Trolltech distribute (I've put a copy on oss under my home directory if you need it) - not sure how this compares to the version you have installed in your /opt/local tree. The main problem seemed to be an incompatibility between the xcode project being generated by qmake and the latest xcode, but luckily I found a workaround. cheers. From nscott@aconex.com Sat May 3 04:42:53 2008 Received: with ECARTIS (v1.0.0; list pcp); Sat, 03 May 2008 04:43:04 -0700 (PDT) Received: from cuda.sgi.com (cuda3.sgi.com [192.48.176.15]) by oss.sgi.com (8.12.11.20060308/8.12.11/SuSE Linux 0.7) with ESMTP id m43BgqRj023997 for ; Sat, 3 May 2008 04:42:53 -0700 X-ASG-Debug-ID: 1209815014-7f0102820000-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 8606E162AA03 for ; Sat, 3 May 2008 04:43:34 -0700 (PDT) Received: from postoffice2.aconex.com (prod.aconex.com [203.89.192.138]) by cuda.sgi.com with ESMTP id GctBOSQ5wxC7FHw0 for ; Sat, 03 May 2008 04:43:34 -0700 (PDT) Received: from postoffice.aconex.com (localhost [127.0.0.1]) by postoffice2.aconex.com (Spam Firewall) with ESMTP id 891FC5DD714; Sat, 3 May 2008 21:43:20 +1000 (EST) Received: from postoffice.aconex.com (postoffice.yarra.acx [192.168.3.1]) by postoffice2.aconex.com with ESMTP id AhbjlDFXFeL0VVyn; Sat, 03 May 2008 21:43:20 +1000 (EST) Received: from mail.aconex.com (castle.yarra.acx [192.168.3.3]) by postoffice.aconex.com (Postfix) with ESMTP id A58DD92C2F0; Sat, 3 May 2008 21:43:33 +1000 (EST) Received: from 192.168.3.1 (proxying for 58.107.42.33) (SquirrelMail authenticated user nscott) by mail.aconex.com with HTTP; Sat, 3 May 2008 21:43:33 +1000 (EST) Message-ID: <48157.192.168.3.1.1209815013.squirrel@mail.aconex.com> Date: Sat, 3 May 2008 21:43:33 +1000 (EST) X-ASG-Orig-Subj: kmchart updates Subject: kmchart updates From: nscott@aconex.com To: pcp@oss.sgi.com Cc: jamespeach@mac.com User-Agent: SquirrelMail/1.4.8-4.el4.centos MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal X-Barracuda-Connect: prod.aconex.com[203.89.192.138] X-Barracuda-Start-Time: 1209815017 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: -0.97 X-Barracuda-Spam-Status: No, SCORE=-0.97 using per-user scores of TAG_LEVEL=2.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=2.1 tests=BSF_RULE7568M, NO_REAL_NAME X-Barracuda-Spam-Report: Code version 3.1, rules version 3.1.49540 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- 0.55 NO_REAL_NAME From: does not include a real name 0.50 BSF_RULE7568M Custom Rule 7568M X-archive-position: 1629 X-ecartis-version: Ecartis v1.0.0 Sender: pcp-bounce@oss.sgi.com Errors-to: pcp-bounce@oss.sgi.com X-original-sender: nscott@aconex.com Precedence: bulk X-list: pcp Changes committed to git://oss.sgi.com:8090/nathans/kmchart.git VERSION | 2 +- configure.in | 2 -- debian/changelog | 6 ++++++ doc/CHANGES | 4 ++++ src/chart/kmchart.pro | 4 ++-- src/chart/kmchart.sh.IN | 2 +- src/dumptext/kmdumptext.pro | 4 ++-- src/include/buildrules | 4 ++-- src/libqmc/libqmc.pro | 2 +- src/libqwt/libqwt.pro | 2 +- src/libqwt3d/libqwt3d.pro | 2 +- src/query/kmquery.pro | 2 +- src/time/kmtime.pro | 4 ++-- 13 files changed, 24 insertions(+), 16 deletions(-) commit f68a60d8fd8b4a35b963fdbc283d5ab8aca8c57f Author: Nathan Scott Date: Sat May 3 21:32:41 2008 +1000 Bump minor version number for Mac fixes. commit d8d137ff8e3b065e5378d8a09c7525321e9b5059 Author: Nathan Scott Date: Sat May 3 21:29:45 2008 +1000 Fix the build on Mac OS X 10.5. Looks like the default Xcode project generated by QT's qmake (in 4.3.2 and 4.3.4 at least) is not compatible with the latest xcodebuild tool. This can be worked around by referencing either the Debug/Release targets in the Makefiles, however, which is what we now do - this works for both 10.4 and 10.5. commit f468e80ba3123cc0ef37ba73bab533d184861da5 Author: Nathan Scott Date: Sat May 3 21:16:10 2008 +1000 Remove configure check for PMDA header and library, not needed. commit 8988d6bc0bfbd1032c460aaca38ae877739fff37 Author: Nathan Scott Date: Sat May 3 15:19:46 2008 +1000 Fix typo in kmchart script wrapper on Mac OS X. From nscott@aconex.com Mon May 5 16:48:28 2008 Received: with ECARTIS (v1.0.0; list pcp); Mon, 05 May 2008 16:48:36 -0700 (PDT) Received: from cuda.sgi.com (cuda3.sgi.com [192.48.176.15]) by oss.sgi.com (8.12.11.20060308/8.12.11/SuSE Linux 0.7) with ESMTP id m45NmRv7012342 for ; Mon, 5 May 2008 16:48:28 -0700 X-ASG-Debug-ID: 1210031349-0deb00610000-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 93B08164227F for ; Mon, 5 May 2008 16:49:09 -0700 (PDT) Received: from postoffice2.aconex.com (prod.aconex.com [203.89.192.138]) by cuda.sgi.com with ESMTP id REVZJYHIqcsAUjBG for ; Mon, 05 May 2008 16:49:09 -0700 (PDT) Received: from postoffice.aconex.com (localhost [127.0.0.1]) by postoffice2.aconex.com (Spam Firewall) with ESMTP id 76E455EB4D2 for ; Tue, 6 May 2008 09:48:48 +1000 (EST) Received: from postoffice.aconex.com (postoffice.yarra.acx [192.168.3.1]) by postoffice2.aconex.com with ESMTP id emYU10ffvcUycDr2 for ; Tue, 06 May 2008 09:48:48 +1000 (EST) Received: from [192.168.5.76] (unknown [203.89.192.141]) by postoffice.aconex.com (Postfix) with ESMTP id C5EAE92C0D7 for ; Tue, 6 May 2008 09:49:03 +1000 (EST) X-ASG-Orig-Subj: kmchart updates (1.2.2) Subject: kmchart updates (1.2.2) From: Nathan Scott Reply-To: nscott@aconex.com To: pcp@oss.sgi.com Content-Type: text/plain Organization: Aconex Date: Tue, 06 May 2008 09:49:03 +1000 Message-Id: <1210031343.25294.175.camel@edge.scott.net.au> Mime-Version: 1.0 X-Mailer: Evolution 2.22.1 Content-Transfer-Encoding: 7bit X-Barracuda-Connect: prod.aconex.com[203.89.192.138] X-Barracuda-Start-Time: 1210031352 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: -0.47 X-Barracuda-Spam-Status: No, SCORE=-0.47 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.1, rules version 3.1.49761 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- 1.05 BSF_RULE_7582B BODY: Custom Rule 7582B 0.50 BSF_RULE7568M Custom Rule 7568M X-archive-position: 1630 X-ecartis-version: Ecartis v1.0.0 Sender: pcp-bounce@oss.sgi.com Errors-to: pcp-bounce@oss.sgi.com X-original-sender: nscott@aconex.com Precedence: bulk X-list: pcp Changes committed to git://oss.sgi.com:8090/nathans/kmchart.git VERSION | 2 - aclocal.m4 | 55 +++++--------------------------------------------- debian/changelog | 6 ++--- doc/CHANGES | 4 +++ images/kmchart.icns |binary images/kmquery.icns |binary images/kmtime.icns |binary m4/package_utilies.m4 | 51 +++------------------------------------------- 8 files changed, 18 insertions(+), 100 deletions(-) commit 7e1b1d369ac32d42e5d474cf9d254c0d69cf277c Author: Nathan Scott Date: Tue May 6 09:47:05 2008 +1000 Bump version number to 1.2.2. commit 0b5964dbb56df1278bd7cedd3f0da5483f5c681f Author: Nathan Scott Date: Tue May 6 09:35:28 2008 +1000 Remove redundant checks in configure process, which could result in a failed build looking for tools that we don't actually use. Make configure check for a C++ compiler, not just a C compiler. commit 4e123b913a3cb579abc036b8617669ea324c47a6 Author: Nathan Scott Date: Sun May 4 10:40:54 2008 +1000 Update Mac OS X application icons. From jkwaoz@sgi.com Tue May 6 02:28:34 2008 Received: with ECARTIS (v1.0.0; list pcp); Tue, 06 May 2008 11:28:18 -0700 (PDT) Received: from relay.sgi.com (relay1.corp.sgi.com [192.26.58.214]) by oss.sgi.com (8.12.11.20060308/8.12.11/SuSE Linux 0.7) with ESMTP id m469SXHO026036 for ; Tue, 6 May 2008 02:28:34 -0700 Received: from [192.168.0.207] (sam.corp.sgi.com [134.15.31.90]) by relay1.corp.sgi.com (Postfix) with ESMTP id 928B08F8055; Tue, 6 May 2008 02:29:16 -0700 (PDT) From: Jonathan Knispel To: Michael Newton Subject: Re: pmie rule for instance disappearing Date: Tue, 6 May 2008 17:29:39 +0800 User-Agent: KMail/1.9.6 (enterprise 20070904.708012) Cc: pcp@oss.sgi.com, Mark Goodwin , Martin Hicks References: <20080410185433.GA7489@alcatraz.americas.sgi.com> In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200805061729.39852.jkwaoz@sgi.com> X-archive-position: 1631 X-Approved-By: makc@sgi.com X-ecartis-version: Ecartis v1.0.0 Sender: pcp-bounce@oss.sgi.com Errors-to: pcp-bounce@oss.sgi.com X-original-sender: jkwaoz@sgi.com Precedence: bulk X-list: pcp On Friday 02 May 2008 13:14:13 Michael Newton wrote: > we need a pmie rule to notice when any instance on a metric disappears. > but the problem is that actually if the instance disppears, > *both* cluster.blah *and* cluster.blah @1 become undefined. I'm pretty rusty but that sounds like a bug. A rule that uses @4 and @5 probably shouldn't stop "working" until time 4 * delta after the metric first disappears. [ Down with historical revisionism! ;) ] > while im about it, wouldnt u expect count_inst( cluster.blah >=0 ) > to evaluate zero when there are no instances? and sum_inst ? Seems very reasonable. Having said those things, I do vaguely recall there were some fairly subtle issues dealing with zeroes and undefined values back in the early days. Regards, Jonathan From nscott@aconex.com Tue May 6 15:34:48 2008 Received: with ECARTIS (v1.0.0; list pcp); Tue, 06 May 2008 15:35:05 -0700 (PDT) Received: from cuda.sgi.com (cuda1.sgi.com [192.48.168.28]) by oss.sgi.com (8.12.11.20060308/8.12.11/SuSE Linux 0.7) with ESMTP id m46MYlY4030924 for ; Tue, 6 May 2008 15:34:48 -0700 X-ASG-Debug-ID: 1210113329-1110033d0000-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 05BE110F5A5B for ; Tue, 6 May 2008 15:35:29 -0700 (PDT) Received: from postoffice2.aconex.com (prod.aconex.com [203.89.192.138]) by cuda.sgi.com with ESMTP id kWh3iXoj7HexRviI for ; Tue, 06 May 2008 15:35:29 -0700 (PDT) Received: from postoffice.aconex.com (localhost [127.0.0.1]) by postoffice2.aconex.com (Spam Firewall) with ESMTP id 1DA6C5F29EB for ; Wed, 7 May 2008 08:35:11 +1000 (EST) Received: from postoffice.aconex.com (postoffice.yarra.acx [192.168.3.1]) by postoffice2.aconex.com with ESMTP id dejPzk2Y1v3b80DR for ; Wed, 07 May 2008 08:35:11 +1000 (EST) Received: from mail.aconex.com (castle.yarra.acx [192.168.3.3]) by postoffice.aconex.com (Postfix) with ESMTP id 46F5892C0D7 for ; Wed, 7 May 2008 08:35:27 +1000 (EST) Received: from 192.168.3.1 (proxying for 58.107.42.33) (SquirrelMail authenticated user nscott) by mail.aconex.com with HTTP; Wed, 7 May 2008 08:35:27 +1000 (EST) Message-ID: <33027.192.168.3.1.1210113327.squirrel@mail.aconex.com> Date: Wed, 7 May 2008 08:35:27 +1000 (EST) X-ASG-Orig-Subj: pcp updates Subject: pcp updates From: nscott@aconex.com To: pcp@oss.sgi.com User-Agent: SquirrelMail/1.4.8-4.el4.centos MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal X-Barracuda-Connect: prod.aconex.com[203.89.192.138] X-Barracuda-Start-Time: 1210113332 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.47 X-Barracuda-Spam-Status: No, SCORE=-1.47 using per-user scores of TAG_LEVEL=2.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=2.1 tests=NO_REAL_NAME X-Barracuda-Spam-Report: Code version 3.1, rules version 3.1.49761 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- 0.55 NO_REAL_NAME From: does not include a real name X-archive-position: 1632 X-ecartis-version: Ecartis v1.0.0 Sender: pcp-bounce@oss.sgi.com Errors-to: pcp-bounce@oss.sgi.com X-original-sender: nscott@aconex.com Precedence: bulk X-list: pcp Changes committed to git://oss.sgi.com:8090/nathans/pcp.git VERSION.pcp | 2 configure.in | 14 debian/GNUmakefile | 6 debian/changelog | 6 debian/control | 3 debian/libpcp-pmda3-dev.dirs | 1 debian/libpcp-pmda3-dev.install | 1 debian/libpcp-trace2-dev.dirs | 1 debian/libpcp-trace2-dev.install | 3 debian/libpcp3-dev.dirs | 1 debian/libpcp3-dev.install | 7 debian/rules | 3 dev/null |binary src/include/platform_defs.h.in | 1 src/libpcp_pmc/examples/fixed.c++ | 7 src/libpcp_pmc/examples/hotproc.c++ | 10 src/libpcp_pmc/pcp/pmc/Context.h | 9 src/libpcp_pmc/pcp/pmc/Desc.h | 6 src/libpcp_pmc/pcp/pmc/Group.h | 7 src/libpcp_pmc/pcp/pmc/Indom.h | 9 src/libpcp_pmc/pcp/pmc/Source.h | 7 src/libpcp_pmc/pcp/pmc/String.h | 7 src/libpcp_pmc/src/Context.c++ | 9 src/libpcp_pmc/src/Desc.c++ | 7 src/libpcp_pmc/src/Indom.c++ | 9 src/libpcp_pmc/src/Metric.c++ | 9 src/pmdas/windows/GNUmakefile | 140 src/pmdas/windows/README | 2 src/pmdas/windows/all-on-tower |10684 -------------------------------- src/pmdas/windows/help.c | 18 src/pmdas/windows/init.c | 57 src/pmdas/windows/instance.c | 1 src/pmdas/windows/libpdh.def | 9 src/pmdas/windows/libpdh.h | 276 src/pmdas/windows/match-counters | 192 src/pmdas/windows/pdhlist.c | 95 src/pmdas/windows/pdhmatch.sh | 192 src/pmdas/windows/pmcygrunsrv | 110 src/pmdas/windows/pmcygrunsrv.sh | 110 src/pmdas/windows/shim.c | 9 src/pmdas/windows/shim.h | 16 src/pmdas/windows/shim.save.uu | 1733 ----- src/pmdas/windows/shim_pcp.h | 2 src/pmdas/windows/show-all-ctrs.c | 100 src/pmdas/windows/show-all-ctrs.save.uu | 823 -- src/pmdas/windows/util.c | 6 src/pmdumptext/pmdumptext.c++ | 19 47 files changed, 909 insertions(+), 13830 deletions(-) commit ce3c11bdd6dc0140b322a461de71f7ec442b6e1a Author: Nathan Scott Date: Wed May 7 08:30:43 2008 +1000 Move header files into the development packages where they belong (argh!). commit 2e5dfab5b3892b9aa399aabade3bba7afdd36308 Author: Ken McDonell Date: Wed May 7 08:28:50 2008 +1000 Allow PMC to build with recent g++ compiler versions that have now removed the iostream.h backward compatibility headers. We detect the presence of either and with the configure script, then switch at compile time to whichever is present (defaulting to the old way - iostream.h). commit 1cdf3c30efbcd90962e2797e30ceef7afc03f60c Author: Nathan Scott Date: Fri May 2 15:40:05 2008 +1000 Rename a shell script for naming consistency. commit 086cb3d4acc1471f556f072cec011cd394f20169 Author: Nathan Scott Date: Fri May 2 15:29:37 2008 +1000 Rework the Windows shim layer so that it is now compiled with the MinGW (gcc-based) compiler rather than with the Microsoft Visual C compiler. In the long term it'd be great to compile all of PCP (and kmchart!) using this compiler to give a native Windows build without the Cygwin DLL dependence - this patch is the first step toward that goal. From nscott@aconex.com Tue May 6 18:05:55 2008 Received: with ECARTIS (v1.0.0; list pcp); Tue, 06 May 2008 18:06:06 -0700 (PDT) Received: from cuda.sgi.com (cuda1.sgi.com [192.48.168.28]) by oss.sgi.com (8.12.11.20060308/8.12.11/SuSE Linux 0.7) with ESMTP id m4715pAI012839 for ; Tue, 6 May 2008 18:05:55 -0700 X-ASG-Debug-ID: 1210122395-5e5a03790000-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 312C51218C95 for ; Tue, 6 May 2008 18:06:35 -0700 (PDT) Received: from postoffice2.aconex.com (prod.aconex.com [203.89.192.138]) by cuda.sgi.com with ESMTP id ZrOw2N0zthsWugLR for ; Tue, 06 May 2008 18:06:35 -0700 (PDT) Received: from postoffice.aconex.com (localhost [127.0.0.1]) by postoffice2.aconex.com (Spam Firewall) with ESMTP id 205E2366B for ; Wed, 7 May 2008 11:06:17 +1000 (EST) Received: from postoffice.aconex.com (postoffice.yarra.acx [192.168.3.1]) by postoffice2.aconex.com with ESMTP id KShNu0JtMET3GAtQ for ; Wed, 07 May 2008 11:06:17 +1000 (EST) Received: from mail.aconex.com (castle.yarra.acx [192.168.3.3]) by postoffice.aconex.com (Postfix) with ESMTP id 545B192C0D7 for ; Wed, 7 May 2008 11:06:33 +1000 (EST) Received: from 192.168.3.1 (proxying for 58.107.42.33) (SquirrelMail authenticated user nscott) by mail.aconex.com with HTTP; Wed, 7 May 2008 11:06:33 +1000 (EST) Message-ID: <41846.192.168.3.1.1210122393.squirrel@mail.aconex.com> Date: Wed, 7 May 2008 11:06:33 +1000 (EST) X-ASG-Orig-Subj: pcp updates Subject: pcp updates From: nscott@aconex.com To: pcp@oss.sgi.com User-Agent: SquirrelMail/1.4.8-4.el4.centos MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal X-Barracuda-Connect: prod.aconex.com[203.89.192.138] X-Barracuda-Start-Time: 1210122397 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.47 X-Barracuda-Spam-Status: No, SCORE=-1.47 using per-user scores of TAG_LEVEL=2.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=2.1 tests=NO_REAL_NAME X-Barracuda-Spam-Report: Code version 3.1, rules version 3.1.49761 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- 0.55 NO_REAL_NAME From: does not include a real name X-archive-position: 1633 X-ecartis-version: Ecartis v1.0.0 Sender: pcp-bounce@oss.sgi.com Errors-to: pcp-bounce@oss.sgi.com X-original-sender: nscott@aconex.com Precedence: bulk X-list: pcp Changes committed to git://oss.sgi.com:8090/nathans/pcp.git src/include/impl.h | 2 +- src/libpcp/src/context.c | 5 +++-- src/libpcp/src/spec.c | 9 ++++----- src/pmdas/linux/proc_pid.c | 6 ++++-- 4 files changed, 12 insertions(+), 10 deletions(-) commit a53d8061a03fd7d163a76169684ad4ea2fb1a7bd Author: Nathan Scott Date: Wed May 7 11:05:32 2008 +1000 For the per-process schedstat metrics on Linux, if the running kernel does not support them we were getting the error handling wrong - do not close a descriptor we didn't open, and only set the cluster-fetched flag if that was indeed the case. commit 0d4c078fb153111c5eab779757a944a3b27cf36c Author: Nathan Scott Date: Wed May 7 10:29:31 2008 +1000 Fix __pmUnparseHostSpec routine so that host pmDupContext works again. From nscott@aconex.com Tue May 6 22:28:20 2008 Received: with ECARTIS (v1.0.0; list pcp); Tue, 06 May 2008 22:28:29 -0700 (PDT) Received: from cuda.sgi.com (cuda3.sgi.com [192.48.176.15]) by oss.sgi.com (8.12.11.20060308/8.12.11/SuSE Linux 0.7) with ESMTP id m475SIRh003291 for ; Tue, 6 May 2008 22:28:19 -0700 X-ASG-Debug-ID: 1210138141-2a4f017e0000-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 3C3B31657D8A for ; Tue, 6 May 2008 22:29:01 -0700 (PDT) Received: from postoffice2.aconex.com (prod.aconex.com [203.89.192.138]) by cuda.sgi.com with ESMTP id 1W2PyseAzBsM9ctF for ; Tue, 06 May 2008 22:29:01 -0700 (PDT) Received: from postoffice.aconex.com (localhost [127.0.0.1]) by postoffice2.aconex.com (Spam Firewall) with ESMTP id 8D2DC5B92 for ; Wed, 7 May 2008 15:28:42 +1000 (EST) Received: from postoffice.aconex.com (postoffice.yarra.acx [192.168.3.1]) by postoffice2.aconex.com with ESMTP id cxANuyWc2GV07HeE for ; Wed, 07 May 2008 15:28:42 +1000 (EST) Received: from mail.aconex.com (castle.yarra.acx [192.168.3.3]) by postoffice.aconex.com (Postfix) with ESMTP id F179492C302 for ; Wed, 7 May 2008 15:28:58 +1000 (EST) Received: from 192.168.3.1 (proxying for 58.107.42.33) (SquirrelMail authenticated user nscott) by mail.aconex.com with HTTP; Wed, 7 May 2008 15:28:58 +1000 (EST) Message-ID: <53541.192.168.3.1.1210138138.squirrel@mail.aconex.com> Date: Wed, 7 May 2008 15:28:58 +1000 (EST) X-ASG-Orig-Subj: pcpqa updates Subject: pcpqa updates From: nscott@aconex.com To: pcp@oss.sgi.com User-Agent: SquirrelMail/1.4.8-4.el4.centos MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal X-Barracuda-Connect: prod.aconex.com[203.89.192.138] X-Barracuda-Start-Time: 1210138144 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: -0.97 X-Barracuda-Spam-Status: No, SCORE=-0.97 using per-user scores of TAG_LEVEL=2.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=2.1 tests=BSF_RULE7568M, NO_REAL_NAME X-Barracuda-Spam-Report: Code version 3.1, rules version 3.1.49762 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- 0.55 NO_REAL_NAME From: does not include a real name 0.50 BSF_RULE7568M Custom Rule 7568M X-archive-position: 1634 X-ecartis-version: Ecartis v1.0.0 Sender: pcp-bounce@oss.sgi.com Errors-to: pcp-bounce@oss.sgi.com X-original-sender: nscott@aconex.com Precedence: bulk X-list: pcp Changes committed to git://oss.sgi.com:8090/nathans/pcpqa.git 013 | 1 022 | 7 + 022.linux.2 | 191 +++++++++++++++++++++++++++++++++++++++ 023 | 4 024 | 3 041 | 8 + 049 | 1 070 | 3 072 | 3 075 | 3 115 | 6 - 115.out | 2 119 | 8 + 187 | 2 244 | 4 280 | 5 - 280.out | 2 296 | 3 322 | 3 375 | 3 504 | 4 603 | 3 635 | 3 Makefile | 5 - check | 41 ++------ common | 21 ++-- common.check | 12 +- getpmcdhosts | 2 src-oss/grind-tools | 254 ++++++++++++++++++++++++++-------------------------- src-oss/permfetch.c | 4 30 files changed, 405 insertions(+), 206 deletions(-) commit be26b981582b7b0ad72642041f8e51702aa537d3 Author: Nathan Scott Date: Wed May 7 15:18:30 2008 +1000 Fix a typo in a QA program error message. commit 2cee95766fb636e355198acb4e5dc44036055899 Author: Nathan Scott Date: Wed May 7 15:12:35 2008 +1000 Fix test 049 filter so it works with updated libpcp log label diagnostics. commit bd272d73b9e8be9b538b616c4d19a70415581abc Author: Nathan Scott Date: Wed May 7 15:03:26 2008 +1000 If a suitable remote host cannot be found, test is "notrun" not failed. commit 646bcffcbacc084f52868fe210f98bf3d3cbfcf3 Author: Nathan Scott Date: Wed May 7 14:40:44 2008 +1000 Control path variable fixes for pmie/pmlogger config locations on Debian. commit 091e8db091c91243b5897a8215ddb6a6cdbdf63c Author: Nathan Scott Date: Wed May 7 14:37:50 2008 +1000 Fix whitespace damage in grind tools shell script. commit 3d2edc30c31c16eae77bd37af1d46713f15e2c0b Author: Nathan Scott Date: Wed May 7 14:30:47 2008 +1000 Fix test 022 for current Linux proc metrics - io/schedstat trees are new. commit 6e9f51ecb2e01030b53d12d4724d32ab9dc5d6bf Author: Nathan Scott Date: Wed May 7 14:30:03 2008 +1000 Additional filter in test 013 for new libpcp log label debug message. From nscott@aconex.com Tue May 6 23:17:24 2008 Received: with ECARTIS (v1.0.0; list pcp); Tue, 06 May 2008 23:17:39 -0700 (PDT) Received: from cuda.sgi.com (cuda2.sgi.com [192.48.168.29]) by oss.sgi.com (8.12.11.20060308/8.12.11/SuSE Linux 0.7) with ESMTP id m476HObF007699 for ; Tue, 6 May 2008 23:17:24 -0700 X-ASG-Debug-ID: 1210141087-507f01640000-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 1D3491374AF for ; Tue, 6 May 2008 23:18:07 -0700 (PDT) Received: from postoffice2.aconex.com (prod.aconex.com [203.89.192.138]) by cuda.sgi.com with ESMTP id Q0BHui8DGlcyGaNY for ; Tue, 06 May 2008 23:18:07 -0700 (PDT) Received: from postoffice.aconex.com (localhost [127.0.0.1]) by postoffice2.aconex.com (Spam Firewall) with ESMTP id 3B4A96541 for ; Wed, 7 May 2008 16:17:49 +1000 (EST) Received: from postoffice.aconex.com (postoffice.yarra.acx [192.168.3.1]) by postoffice2.aconex.com with ESMTP id TtOPS7oDivBXxG2G for ; Wed, 07 May 2008 16:17:49 +1000 (EST) Received: from mail.aconex.com (castle.yarra.acx [192.168.3.3]) by postoffice.aconex.com (Postfix) with ESMTP id A367C92C318 for ; Wed, 7 May 2008 16:18:05 +1000 (EST) Received: from 192.168.3.1 (proxying for 58.107.42.33) (SquirrelMail authenticated user nscott) by mail.aconex.com with HTTP; Wed, 7 May 2008 16:18:05 +1000 (EST) Message-ID: <56190.192.168.3.1.1210141085.squirrel@mail.aconex.com> Date: Wed, 7 May 2008 16:18:05 +1000 (EST) X-ASG-Orig-Subj: pcp updates Subject: pcp updates From: nscott@aconex.com To: pcp@oss.sgi.com User-Agent: SquirrelMail/1.4.8-4.el4.centos MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal X-Barracuda-Connect: prod.aconex.com[203.89.192.138] X-Barracuda-Start-Time: 1210141090 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.47 X-Barracuda-Spam-Status: No, SCORE=-1.47 using per-user scores of TAG_LEVEL=2.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=2.1 tests=NO_REAL_NAME X-Barracuda-Spam-Report: Code version 3.1, rules version 3.1.49762 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- 0.55 NO_REAL_NAME From: does not include a real name X-archive-position: 1635 X-ecartis-version: Ecartis v1.0.0 Sender: pcp-bounce@oss.sgi.com Errors-to: pcp-bounce@oss.sgi.com X-original-sender: nscott@aconex.com Precedence: bulk X-list: pcp Changes committed to git://oss.sgi.com:8090/nathans/pcp.git src/libpcp_pmc/src/GNUmakefile | 25 ++++++++++++++++++++++++- src/pmdas/linux/proc_net_snmp.c | 18 ++++++++++++++++++ 2 files changed, 42 insertions(+), 1 deletion(-) commit 6ebf3d3ecce8b80757f84ff3a5a97d198878bf10 Author: Nathan Scott Date: Wed May 7 16:14:30 2008 +1000 Install libpcp_pmc if its OK to build ($PMC_SUPPORT!=false), QA needs it. commit 8857a20174e080adb98a008c464a3e5da43abf96 Author: Ken McDonell Date: Wed May 7 14:04:25 2008 +1000 Avoid QA failure due to messages from the Linux PMDA about lack of handler for IcmpMsg SNMP stats. To properly export all these values is going to require a rethink of this code, since it is currently ignoring the descriptive header lines and tossing them (but in this case, they'd actually be needed). From nscott@aconex.com Wed May 7 00:12:52 2008 Received: with ECARTIS (v1.0.0; list pcp); Wed, 07 May 2008 00:13:17 -0700 (PDT) Received: from cuda.sgi.com (cuda3.sgi.com [192.48.176.15]) by oss.sgi.com (8.12.11.20060308/8.12.11/SuSE Linux 0.7) with ESMTP id m477Cpgx013749 for ; Wed, 7 May 2008 00:12:52 -0700 X-ASG-Debug-ID: 1210144415-4998001e0000-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 4FD9F1658370 for ; Wed, 7 May 2008 00:13:35 -0700 (PDT) Received: from postoffice2.aconex.com (prod.aconex.com [203.89.192.138]) by cuda.sgi.com with ESMTP id TDbMNwC4g8aHgTZY for ; Wed, 07 May 2008 00:13:35 -0700 (PDT) Received: from postoffice.aconex.com (localhost [127.0.0.1]) by postoffice2.aconex.com (Spam Firewall) with ESMTP id 4C8176F09 for ; Wed, 7 May 2008 17:13:15 +1000 (EST) Received: from postoffice.aconex.com (postoffice.yarra.acx [192.168.3.1]) by postoffice2.aconex.com with ESMTP id Os4QT0ONXjWoW2UE for ; Wed, 07 May 2008 17:13:15 +1000 (EST) Received: from mail.aconex.com (castle.yarra.acx [192.168.3.3]) by postoffice.aconex.com (Postfix) with ESMTP id B963492C0D7 for ; Wed, 7 May 2008 17:13:31 +1000 (EST) Received: from 192.168.3.1 (proxying for 58.107.42.33) (SquirrelMail authenticated user nscott) by mail.aconex.com with HTTP; Wed, 7 May 2008 17:13:31 +1000 (EST) Message-ID: <59466.192.168.3.1.1210144411.squirrel@mail.aconex.com> Date: Wed, 7 May 2008 17:13:31 +1000 (EST) X-ASG-Orig-Subj: pcpqa updates Subject: pcpqa updates From: nscott@aconex.com To: pcp@oss.sgi.com User-Agent: SquirrelMail/1.4.8-4.el4.centos MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal X-Barracuda-Connect: prod.aconex.com[203.89.192.138] X-Barracuda-Start-Time: 1210144416 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: -0.97 X-Barracuda-Spam-Status: No, SCORE=-0.97 using per-user scores of TAG_LEVEL=2.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=2.1 tests=BSF_RULE7568M, NO_REAL_NAME X-Barracuda-Spam-Report: Code version 3.1, rules version 3.1.49762 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- 0.55 NO_REAL_NAME From: does not include a real name 0.50 BSF_RULE7568M Custom Rule 7568M X-archive-position: 1636 X-ecartis-version: Ecartis v1.0.0 Sender: pcp-bounce@oss.sgi.com Errors-to: pcp-bounce@oss.sgi.com X-original-sender: nscott@aconex.com Precedence: bulk X-list: pcp Changes committed to git://oss.sgi.com:8090/nathans/pcpqa.git 189 | 8 ++++---- 217 | 5 +++-- 217.out | 6 +++--- 243 | 1 + 255 | 2 +- 262 | 1 + 271 | 1 + 7 files changed, 14 insertions(+), 10 deletions(-) commit 6be66c886bc15f27067ac74ccd4b9ee93dc82148 Author: Nathan Scott Date: Wed May 7 16:57:21 2008 +1000 Fix filter in 262 for new pmstat output. commit 2dff54c08d994da34bd4fb6208588f1f00ed37dc Author: Nathan Scott Date: Wed May 7 16:57:05 2008 +1000 Fix filter in 271 as log label diagnostic changed. commit f403c893b86b3651ec62a1b15f546fcbc0c5d2e3 Author: Nathan Scott Date: Wed May 7 16:56:37 2008 +1000 Dont assume newhelp is on the path. commit 4a353b091443567d4a5ccd00002da350a80e9519 Author: Nathan Scott Date: Wed May 7 16:34:34 2008 +1000 Update 243 to handle new dup pmcd warning message. commit 1de3724962f7c061467ce39ee33300443aa32af6 Author: Nathan Scott Date: Wed May 7 16:34:03 2008 +1000 Update 217 to cater for kmchart being set as mkaf default creator. commit 271a867e0a2e46d50739e661c1b900cfd5aa2413 Author: Nathan Scott Date: Wed May 7 16:25:04 2008 +1000 Fix someones dodgey global PCP_AWK_PROG conversion... From nscott@aconex.com Wed May 7 23:53:14 2008 Received: with ECARTIS (v1.0.0; list pcp); Wed, 07 May 2008 23:53:23 -0700 (PDT) Received: from cuda.sgi.com (cuda1.sgi.com [192.48.168.28]) by oss.sgi.com (8.12.11.20060308/8.12.11/SuSE Linux 0.7) with ESMTP id m486rDd3011937 for ; Wed, 7 May 2008 23:53:14 -0700 X-ASG-Debug-ID: 1210229636-795801fa0000-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 BA4DC54DD7D for ; Wed, 7 May 2008 23:53:56 -0700 (PDT) Received: from postoffice2.aconex.com (prod.aconex.com [203.89.192.138]) by cuda.sgi.com with ESMTP id PhZBAyMNAN1XtUC3 for ; Wed, 07 May 2008 23:53:56 -0700 (PDT) Received: from postoffice.aconex.com (localhost [127.0.0.1]) by postoffice2.aconex.com (Spam Firewall) with ESMTP id C655714937 for ; Thu, 8 May 2008 16:53:34 +1000 (EST) Received: from postoffice.aconex.com (postoffice.yarra.acx [192.168.3.1]) by postoffice2.aconex.com with ESMTP id CxKxK0rDu39j0ECf for ; Thu, 08 May 2008 16:53:34 +1000 (EST) Received: from [192.168.5.76] (unknown [203.89.192.141]) by postoffice.aconex.com (Postfix) with ESMTP id 1D63F92C0DE for ; Thu, 8 May 2008 16:53:52 +1000 (EST) X-ASG-Orig-Subj: pcpqa updates Subject: pcpqa updates From: Nathan Scott Reply-To: nscott@aconex.com To: pcp@oss.sgi.com Content-Type: text/plain Organization: Aconex Date: Thu, 08 May 2008 16:53:51 +1000 Message-Id: <1210229631.25294.234.camel@edge.scott.net.au> Mime-Version: 1.0 X-Mailer: Evolution 2.22.1 Content-Transfer-Encoding: 7bit X-Barracuda-Connect: prod.aconex.com[203.89.192.138] X-Barracuda-Start-Time: 1210229639 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.1, rules version 3.1.49802 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- 0.50 BSF_RULE7568M Custom Rule 7568M X-archive-position: 1637 X-ecartis-version: Ecartis v1.0.0 Sender: pcp-bounce@oss.sgi.com Errors-to: pcp-bounce@oss.sgi.com X-original-sender: nscott@aconex.com Precedence: bulk X-list: pcp Changes committed to git://oss.sgi.com:8090/nathans/pcpqa.git 119 | 6 219 | 3 280 | 3 340 | 9 430 | 6 456 | 6 530 | 1 543 | 2 569 | 6 569.out.3 | 577 +++++++++++++++++++++++++++++++++++++++++++++++- 578 | 2 603 | 9 common.filter | 8 src-oss/pmc_context.c++ | 7 src-oss/pmc_desc.c++ | 8 src-oss/pmc_dynamic.c++ | 7 src-oss/pmc_format.c++ | 8 src-oss/pmc_group.c++ | 7 src-oss/pmc_hosts.c++ | 7 src-oss/pmc_indom.c++ | 8 src-oss/pmc_list.c++ | 8 src-oss/pmc_metric.c++ | 7 src-oss/pmc_source.c++ | 8 src-oss/pmc_string.c++ | 8 src-oss/pmc_vector.c++ | 8 25 files changed, 694 insertions(+), 35 deletions(-) commit bb4aa433187613561a6de8c65007c9bf59f8aa21 Author: Ken McDonell Date: Thu May 8 16:51:08 2008 +1000 Apply iostream conditional-compilation changes to PMC test programs. commit bfcb1e9cb9d0382e9905e4f65b6fad8bd55994d8 Author: Ken McDonell Date: Thu May 8 16:50:42 2008 +1000 Resolve some dumptext filtering issue. commit e0085833b0c48ad61d64d24cf649836a8a457619 Author: Nathan Scott Date: Thu May 8 16:48:04 2008 +1000 Fix a couple more assumed-on-the-path issues. commit 343f1435a78be61766afbccb3e1bcb019be7d972 Author: Nathan Scott Date: Thu May 8 13:17:28 2008 +1000 Fix several path, control file, and minor filtering QA issues. commit e85ac9ead9d723e037a01fe06a1ccc5f779b225e Author: Nathan Scott Date: Thu May 8 13:16:31 2008 +1000 Make test 569 tolerant of pmprobe compiled with local context support. From mort@bork.org Thu May 8 10:15:08 2008 Received: with ECARTIS (v1.0.0; list pcp); Thu, 08 May 2008 10:15:16 -0700 (PDT) Received: from cuda.sgi.com (cuda3.sgi.com [192.48.176.15]) by oss.sgi.com (8.12.11.20060308/8.12.11/SuSE Linux 0.7) with ESMTP id m48HF5jL004767 for ; Thu, 8 May 2008 10:15:08 -0700 X-ASG-Debug-ID: 1210266947-65af00ff0000-S8gJnT X-Barracuda-URL: http://cuda.sgi.com:80/cgi-bin/mark.cgi Received: from galileo.bork.org (localhost [127.0.0.1]) by cuda.sgi.com (Spam Firewall) with ESMTP id B77891673FAA for ; Thu, 8 May 2008 10:15:47 -0700 (PDT) Received: from galileo.bork.org (galileo.bork.org [76.10.145.1]) by cuda.sgi.com with ESMTP id SJ6Ibhnh3HxpyTCZ for ; Thu, 08 May 2008 10:15:47 -0700 (PDT) Received: from localhost (localhost [127.0.0.1]) by galileo.bork.org (Postfix) with ESMTP id A5A2EC019A9 for ; Thu, 8 May 2008 13:19:22 -0400 (EDT) Received: from galileo.bork.org ([127.0.0.1]) by localhost (galileo.bork.org [127.0.0.1]) (amavisd-new, port 10024) with LMTP id le2hqxxR7Ouo for ; Thu, 8 May 2008 13:19:22 -0400 (EDT) Received: from laplace.bork.org (laplace.bork.org [192.168.3.9]) by galileo.bork.org (Postfix) with ESMTP id 8D8ADC01B9B for ; Thu, 8 May 2008 13:19:22 -0400 (EDT) Received: by laplace.bork.org (Postfix, from userid 1000) id 706E853587; Thu, 8 May 2008 13:15:47 -0400 (EDT) Date: Thu, 8 May 2008 13:15:47 -0400 From: Martin Hicks To: pcp@oss.sgi.com X-ASG-Orig-Subj: forcing pmie to reload rules file Subject: forcing pmie to reload rules file Message-ID: <20080508171547.GC9746@laplace.bork.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.17+20080114 (2008-01-14) X-Barracuda-Connect: galileo.bork.org[76.10.145.1] X-Barracuda-Start-Time: 1210266951 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.1, rules version 3.1.49802 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- X-archive-position: 1638 X-ecartis-version: Ecartis v1.0.0 Sender: pcp-bounce@oss.sgi.com Errors-to: pcp-bounce@oss.sgi.com X-original-sender: mort@bork.org Precedence: bulk X-list: pcp Hi, (switched from sending from my sgi account because they seem to like to strip off the "oss" from the domain...) Is there any way to force a running PMIE process to reread its config file? I had hoped that SIGHUP would do this, but it doesn't seem to. mh -- Martin Hicks || mort@bork.org || PGP/GnuPG: 0x4C7F2BEE From kenj@internode.on.net Thu May 8 12:34:47 2008 Received: with ECARTIS (v1.0.0; list pcp); Thu, 08 May 2008 12:34:56 -0700 (PDT) Received: from cuda.sgi.com (cuda2.sgi.com [192.48.168.29]) by oss.sgi.com (8.12.11.20060308/8.12.11/SuSE Linux 0.7) with ESMTP id m48JYifM016868 for ; Thu, 8 May 2008 12:34:47 -0700 X-ASG-Debug-ID: 1210275328-47fd03180000-S8gJnT X-Barracuda-URL: http://cuda.sgi.com:80/cgi-bin/mark.cgi Received: from ipmail05.adl2.internode.on.net (localhost [127.0.0.1]) by cuda.sgi.com (Spam Firewall) with ESMTP id E90C814891B for ; Thu, 8 May 2008 12:35:28 -0700 (PDT) Received: from ipmail05.adl2.internode.on.net (ipmail05.adl2.internode.on.net [203.16.214.145]) by cuda.sgi.com with ESMTP id cm04Ihv6qoptH9x2 for ; Thu, 08 May 2008 12:35:28 -0700 (PDT) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AggBAEzzIkh5LOfc/2dsb2JhbAAIrGM X-IronPort-AV: E=Sophos;i="4.27,456,1204464600"; d="scan'208";a="111039903" Received: from ppp121-44-231-220.lns2.mel4.internode.on.net (HELO [192.168.1.65]) ([121.44.231.220]) by ipmail05.adl2.internode.on.net with ESMTP; 09 May 2008 05:05:26 +0930 X-ASG-Orig-Subj: Re: forcing pmie to reload rules file Subject: Re: forcing pmie to reload rules file From: Ken McDonell To: Martin Hicks Cc: pcp@oss.sgi.com In-Reply-To: <20080508171547.GC9746@laplace.bork.org> References: <20080508171547.GC9746@laplace.bork.org> Content-Type: text/plain Date: Fri, 09 May 2008 05:35:25 +1000 Message-Id: <1210275325.5951.5.camel@localhost.localdomain> Mime-Version: 1.0 X-Mailer: Evolution 2.22.1 (2.22.1-2.fc9) Content-Transfer-Encoding: 7bit X-Barracuda-Connect: ipmail05.adl2.internode.on.net[203.16.214.145] X-Barracuda-Start-Time: 1210275330 X-Barracuda-Bayes: INNOCENT GLOBAL 0.0016 1.0000 -2.0104 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.1, rules version 3.1.49812 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- X-archive-position: 1639 X-ecartis-version: Ecartis v1.0.0 Sender: pcp-bounce@oss.sgi.com Errors-to: pcp-bounce@oss.sgi.com X-original-sender: kenj@internode.on.net Precedence: bulk X-list: pcp I'm afraid not. That was outside the original scope. And in fact pmie has accumulated so much state about metric meta data and historical metric values, that any re-reading of the config file would almost certainly mean forgetting all of that and starting again. Functionally this would be like killing pmie and starting again ... which is already supported .. 8^)> Can you describe the scenario in which this might be useful? pmie is already pretty robust in the face of changes in the underlying source of metrics. On Thu, 2008-05-08 at 13:15 -0400, Martin Hicks wrote: > Hi, > > (switched from sending from my sgi account because they seem to like to > strip off the "oss" from the domain...) > > Is there any way to force a running PMIE process to reread its config > file? I had hoped that SIGHUP would do this, but it doesn't seem to. > > mh > From mort@bork.org Thu May 8 12:54:50 2008 Received: with ECARTIS (v1.0.0; list pcp); Thu, 08 May 2008 12:54:59 -0700 (PDT) Received: from cuda.sgi.com (cuda3.sgi.com [192.48.176.15]) by oss.sgi.com (8.12.11.20060308/8.12.11/SuSE Linux 0.7) with ESMTP id m48JsnIU017953 for ; Thu, 8 May 2008 12:54:50 -0700 X-ASG-Debug-ID: 1210276534-109a030f0000-S8gJnT X-Barracuda-URL: http://cuda.sgi.com:80/cgi-bin/mark.cgi Received: from galileo.bork.org (localhost [127.0.0.1]) by cuda.sgi.com (Spam Firewall) with ESMTP id 49FAF1678B35 for ; Thu, 8 May 2008 12:55:34 -0700 (PDT) Received: from galileo.bork.org (galileo.bork.org [76.10.145.1]) by cuda.sgi.com with ESMTP id wwYmLu31fKYaVZra for ; Thu, 08 May 2008 12:55:34 -0700 (PDT) Received: from localhost (localhost [127.0.0.1]) by galileo.bork.org (Postfix) with ESMTP id E092FC019A9; Thu, 8 May 2008 15:59:10 -0400 (EDT) Received: from galileo.bork.org ([127.0.0.1]) by localhost (galileo.bork.org [127.0.0.1]) (amavisd-new, port 10024) with LMTP id jq26qfnjG6qb; Thu, 8 May 2008 15:59:10 -0400 (EDT) Received: from laplace.bork.org (laplace.bork.org [192.168.3.9]) by galileo.bork.org (Postfix) with ESMTP id C5705C01B9B; Thu, 8 May 2008 15:59:10 -0400 (EDT) Received: by laplace.bork.org (Postfix, from userid 1000) id E993053587; Thu, 8 May 2008 15:55:34 -0400 (EDT) Date: Thu, 8 May 2008 15:55:34 -0400 From: Martin Hicks To: Ken McDonell Cc: pcp@oss.sgi.com X-ASG-Orig-Subj: Re: forcing pmie to reload rules file Subject: Re: forcing pmie to reload rules file Message-ID: <20080508195534.GE9746@laplace.bork.org> References: <20080508171547.GC9746@laplace.bork.org> <1210275325.5951.5.camel@localhost.localdomain> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1210275325.5951.5.camel@localhost.localdomain> User-Agent: Mutt/1.5.17+20080114 (2008-01-14) X-Barracuda-Connect: galileo.bork.org[76.10.145.1] X-Barracuda-Start-Time: 1210276536 X-Barracuda-Bayes: INNOCENT GLOBAL 0.1863 1.0000 -0.9008 X-Barracuda-Virus-Scanned: by cuda.sgi.com at sgi.com X-Barracuda-Spam-Score: -0.90 X-Barracuda-Spam-Status: No, SCORE=-0.90 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.1, rules version 3.1.49814 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- X-archive-position: 1640 X-ecartis-version: Ecartis v1.0.0 Sender: pcp-bounce@oss.sgi.com Errors-to: pcp-bounce@oss.sgi.com X-original-sender: mort@bork.org Precedence: bulk X-list: pcp On Fri, May 09, 2008 at 05:35:25AM +1000, Ken McDonell wrote: > I'm afraid not. > > That was outside the original scope. > > And in fact pmie has accumulated so much state about metric meta data > and historical metric values, that any re-reading of the config file > would almost certainly mean forgetting all of that and starting again. > > Functionally this would be like killing pmie and starting again ... > which is already supported .. 8^)> What I really need is a chroot-safe way to reload pmie. You can't do `/etc/init.d/pmie restart` because that would start pmie in the chroot. It seems that many initscripts support a "reload", which checks a PID file and sends a -HUP signal if they are (in this case) pmie processes. I need this because I have an RPM with its own pmie rules file. (The RPM adds a new process to the pmie control file). When this RPM is upgraded it needs to restart pmie in order to get these new rules loaded. The catch is that this RPM is frequently installed in a chroot. mh -- Martin Hicks || mort@bork.org || PGP/GnuPG: 0x4C7F2BEE From nscott@aconex.com Thu May 8 20:56:27 2008 Received: with ECARTIS (v1.0.0; list pcp); Thu, 08 May 2008 20:56:38 -0700 (PDT) Received: from cuda.sgi.com (cuda3.sgi.com [192.48.176.15]) by oss.sgi.com (8.12.11.20060308/8.12.11/SuSE Linux 0.7) with ESMTP id m493uME7021239 for ; Thu, 8 May 2008 20:56:27 -0700 X-ASG-Debug-ID: 1210305426-1bb303a40000-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 D2718167A47D for ; Thu, 8 May 2008 20:57:07 -0700 (PDT) Received: from postoffice2.aconex.com (prod.aconex.com [203.89.192.138]) by cuda.sgi.com with ESMTP id lpxMAfTDtrfSTFj5 for ; Thu, 08 May 2008 20:57:07 -0700 (PDT) Received: from postoffice.aconex.com (localhost [127.0.0.1]) by postoffice2.aconex.com (Spam Firewall) with ESMTP id B89EB20023 for ; Fri, 9 May 2008 13:56:43 +1000 (EST) Received: from postoffice.aconex.com (postoffice.yarra.acx [192.168.3.1]) by postoffice2.aconex.com with ESMTP id DciYvsvfCXFdfdqZ for ; Fri, 09 May 2008 13:56:43 +1000 (EST) Received: from [192.168.5.76] (unknown [203.89.192.141]) by postoffice.aconex.com (Postfix) with ESMTP id DA87A92C319 for ; Fri, 9 May 2008 13:57:01 +1000 (EST) X-ASG-Orig-Subj: pcp updates Subject: pcp updates From: Nathan Scott Reply-To: nscott@aconex.com To: pcp@oss.sgi.com Content-Type: text/plain Organization: Aconex Date: Fri, 09 May 2008 13:57:01 +1000 Message-Id: <1210305421.25294.261.camel@edge.scott.net.au> Mime-Version: 1.0 X-Mailer: Evolution 2.22.1 Content-Transfer-Encoding: 7bit X-Barracuda-Connect: prod.aconex.com[203.89.192.138] X-Barracuda-Start-Time: 1210305428 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.1, rules version 3.1.49827 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- X-archive-position: 1641 X-ecartis-version: Ecartis v1.0.0 Sender: pcp-bounce@oss.sgi.com Errors-to: pcp-bounce@oss.sgi.com X-original-sender: nscott@aconex.com Precedence: bulk X-list: pcp Changes committed to git://oss.sgi.com:8090/nathans/pcp.git VERSION.pcp | 2 +- debian/GNUmakefile | 2 +- debian/changelog | 7 +++++++ debian/control | 10 +++++----- debian/libpcp3.install | 1 + debian/shlibs.local | 1 + src/include/impl.h | 1 - src/libpcp/src/pdu.c | 14 ++------------ src/libpcp_pmc/pcp/pmc/GNUmakefile | 2 ++ src/libpcp_pmc/src/GNUmakefile | 2 -- src/pmie/pmie_check.sh | 12 ++++++++++++ 11 files changed, 32 insertions(+), 22 deletions(-) commit cfb13256896f63e15ddd0377629f397187471e6a Author: Nathan Scott Date: Fri May 9 13:52:45 2008 +1000 Reinstate a VERY_VERBOSE pmie start script message, QA relies on it. commit 2f68802850d1c8a4f4ed999a43c1cc9dc71474e9 Author: Nathan Scott Date: Fri May 9 13:50:39 2008 +1000 Revert "Optionally allow pdu counter arrays used in pdu.c to be moved outside libpcp ... needed for the pmcd pmda to optionally become a proc agent, rather than a dso" This reverts commit 13d5b418e2d98d324894602f6ec05a6e7bcfec8d. Resolve QA test 384 regression by reverting this commit, until this oddity can be figured out (libpcp global pointer init not happening). commit 259ed9445e68c7563ebce13133cd81a6e3281c08 Author: Ken McDonell Date: Thu May 8 13:13:16 2008 +1000 Install the PMC headers, use a more appropriate makefile. commit 58679b1a54114d027b61339ad1d34f92e4aaf82f Author: Nathan Scott Date: Thu May 8 13:07:11 2008 +1000 Hopefully final Debian packaging fix - move /etc/pcp.conf with libpcp.so. From nscott@aconex.com Thu May 8 22:16:42 2008 Received: with ECARTIS (v1.0.0; list pcp); Thu, 08 May 2008 22:16:53 -0700 (PDT) Received: from cuda.sgi.com (cuda2.sgi.com [192.48.168.29]) by oss.sgi.com (8.12.11.20060308/8.12.11/SuSE Linux 0.7) with ESMTP id m495GcWg026118 for ; Thu, 8 May 2008 22:16:42 -0700 X-ASG-Debug-ID: 1210310243-344d022f0000-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 C03C5149FA9 for ; Thu, 8 May 2008 22:17:23 -0700 (PDT) Received: from postoffice2.aconex.com (prod.aconex.com [203.89.192.138]) by cuda.sgi.com with ESMTP id efIH5CqmCbIkvy8e for ; Thu, 08 May 2008 22:17:23 -0700 (PDT) Received: from postoffice.aconex.com (localhost [127.0.0.1]) by postoffice2.aconex.com (Spam Firewall) with ESMTP id B35E820D98 for ; Fri, 9 May 2008 15:17:03 +1000 (EST) Received: from postoffice.aconex.com (postoffice.yarra.acx [192.168.3.1]) by postoffice2.aconex.com with ESMTP id 06BZUvoiDnPS4s5b for ; Fri, 09 May 2008 15:17:03 +1000 (EST) Received: from [192.168.5.76] (unknown [203.89.192.141]) by postoffice.aconex.com (Postfix) with ESMTP id E9AB992C302 for ; Fri, 9 May 2008 15:17:21 +1000 (EST) X-ASG-Orig-Subj: kmchart updates Subject: kmchart updates From: Nathan Scott Reply-To: nscott@aconex.com To: pcp@oss.sgi.com Content-Type: text/plain Organization: Aconex Date: Fri, 09 May 2008 15:17:21 +1000 Message-Id: <1210310241.25294.267.camel@edge.scott.net.au> Mime-Version: 1.0 X-Mailer: Evolution 2.22.1 Content-Transfer-Encoding: 7bit X-Barracuda-Connect: prod.aconex.com[203.89.192.138] X-Barracuda-Start-Time: 1210310244 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.1, rules version 3.1.49834 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- 0.50 BSF_RULE7568M Custom Rule 7568M X-archive-position: 1642 X-ecartis-version: Ecartis v1.0.0 Sender: pcp-bounce@oss.sgi.com Errors-to: pcp-bounce@oss.sgi.com X-original-sender: nscott@aconex.com Precedence: bulk X-list: pcp Changes committed to git://oss.sgi.com:8090/nathans/kmchart.git commit adf54058f4aa3e6321e1a59dec238c1be09447eb Author: Nathan Scott Date: Fri May 9 15:09:17 2008 +1000 Bump version number for build & qt 4.4 segv fix. commit 5d6c258b79c1b926575d7c8a9d0ce1eb2bf8ad95 Author: Nathan Scott Date: Fri May 9 15:05:39 2008 +1000 Include in curve.cpp to pick up std namespace for some gcc variants. commit 0fa736f1baf47b5da947e63dae42c212c04513ec Author: Nathan Scott Date: Fri May 9 14:15:14 2008 +1000 Fix spurious core dump at startup on qt4.4, thanks to a signal being invoked on a not-necessarily-setup-yet TabWidget. From nscott@aconex.com Thu May 8 23:54:21 2008 Received: with ECARTIS (v1.0.0; list pcp); Thu, 08 May 2008 23:54:29 -0700 (PDT) Received: from cuda.sgi.com (cuda1.sgi.com [192.48.168.28]) by oss.sgi.com (8.12.11.20060308/8.12.11/SuSE Linux 0.7) with ESMTP id m496sKjv032558 for ; Thu, 8 May 2008 23:54:21 -0700 X-ASG-Debug-ID: 1210316104-7482021e0000-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 8236FB57879 for ; Thu, 8 May 2008 23:55:05 -0700 (PDT) Received: from postoffice2.aconex.com (prod.aconex.com [203.89.192.138]) by cuda.sgi.com with ESMTP id 9Mwm2MSqGkkm94VA for ; Thu, 08 May 2008 23:55:05 -0700 (PDT) Received: from postoffice.aconex.com (localhost [127.0.0.1]) by postoffice2.aconex.com (Spam Firewall) with ESMTP id B5BD921DCF for ; Fri, 9 May 2008 16:54:42 +1000 (EST) Received: from postoffice.aconex.com (postoffice.yarra.acx [192.168.3.1]) by postoffice2.aconex.com with ESMTP id Z4PRNMNABtIDPje2 for ; Fri, 09 May 2008 16:54:42 +1000 (EST) Received: from [192.168.5.76] (unknown [203.89.192.141]) by postoffice.aconex.com (Postfix) with ESMTP id F2BBD92C303 for ; Fri, 9 May 2008 16:55:00 +1000 (EST) X-ASG-Orig-Subj: pcpqa updates Subject: pcpqa updates From: Nathan Scott Reply-To: nscott@aconex.com To: pcp@oss.sgi.com Content-Type: text/plain Organization: Aconex Date: Fri, 09 May 2008 16:55:00 +1000 Message-Id: <1210316100.25294.281.camel@edge.scott.net.au> Mime-Version: 1.0 X-Mailer: Evolution 2.22.1 Content-Transfer-Encoding: 7bit X-Barracuda-Connect: prod.aconex.com[203.89.192.138] X-Barracuda-Start-Time: 1210316106 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.1, rules version 3.1.49834 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- 0.50 BSF_RULE7568M Custom Rule 7568M X-archive-position: 1643 X-ecartis-version: Ecartis v1.0.0 Sender: pcp-bounce@oss.sgi.com Errors-to: pcp-bounce@oss.sgi.com X-original-sender: nscott@aconex.com Precedence: bulk X-list: pcp Changes committed to git://oss.sgi.com:8090/nathans/pcpqa.git 151 | 14 +++++++------- 168 | 2 ++ 169 | 2 +- 254.out | 1 - 280 | 12 ++++++------ 287 | 2 ++ 353 | 4 ++-- 504.out | 2 +- 8 files changed, 21 insertions(+), 18 deletions(-) commit 76e94fa1db0f42e5b929cf8ff59a4bd1b094d0e3 Author: Nathan Scott Date: Fri May 9 16:54:10 2008 +1000 Fix up paths to binadm binaries. commit 7d9185212569978fa1b79c11e39556728474bec7 Author: Nathan Scott Date: Fri May 9 16:53:42 2008 +1000 Mark 287 as notrun until some verified output appears. commit 7ae85c75f50564f314fe4af2ab1a6004ba481762 Author: Nathan Scott Date: Fri May 9 16:53:06 2008 +1000 Update couple of tests golden output after changes to start scripts awhile back. commit e0af8c919e9f2365b3cb13c8eca8eea6fb58f5a0 Author: Nathan Scott Date: Fri May 9 16:51:51 2008 +1000 Mark 168 as notrun until some verified output appears. From nscott@aconex.com Fri May 9 00:00:32 2008 Received: with ECARTIS (v1.0.0; list pcp); Fri, 09 May 2008 00:00:41 -0700 (PDT) Received: from cuda.sgi.com (cuda3.sgi.com [192.48.176.15]) by oss.sgi.com (8.12.11.20060308/8.12.11/SuSE Linux 0.7) with ESMTP id m4970S1f002727 for ; Fri, 9 May 2008 00:00:32 -0700 X-ASG-Debug-ID: 1210316470-47fd03360000-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 BD373167ABAB for ; Fri, 9 May 2008 00:01:11 -0700 (PDT) Received: from postoffice2.aconex.com (prod.aconex.com [203.89.192.138]) by cuda.sgi.com with ESMTP id RaoydG4Pb2RLZjf6 for ; Fri, 09 May 2008 00:01:11 -0700 (PDT) Received: from postoffice.aconex.com (localhost [127.0.0.1]) by postoffice2.aconex.com (Spam Firewall) with ESMTP id 9910721DE2 for ; Fri, 9 May 2008 17:00:51 +1000 (EST) Received: from postoffice.aconex.com (postoffice.yarra.acx [192.168.3.1]) by postoffice2.aconex.com with ESMTP id JY5whsCSqmkzUE2k for ; Fri, 09 May 2008 17:00:51 +1000 (EST) Received: from [192.168.5.76] (unknown [203.89.192.141]) by postoffice.aconex.com (Postfix) with ESMTP id B604392C302 for ; Fri, 9 May 2008 17:01:09 +1000 (EST) X-ASG-Orig-Subj: pcpweb updates Subject: pcpweb updates From: Nathan Scott Reply-To: nscott@aconex.com To: pcp@oss.sgi.com Content-Type: text/plain Organization: Aconex Date: Fri, 09 May 2008 17:01:09 +1000 Message-Id: <1210316469.25294.283.camel@edge.scott.net.au> Mime-Version: 1.0 X-Mailer: Evolution 2.22.1 Content-Transfer-Encoding: 7bit X-Barracuda-Connect: prod.aconex.com[203.89.192.138] X-Barracuda-Start-Time: 1210316474 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.1, rules version 3.1.49840 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- 0.50 BSF_RULE7568M Custom Rule 7568M X-archive-position: 1644 X-ecartis-version: Ecartis v1.0.0 Sender: pcp-bounce@oss.sgi.com Errors-to: pcp-bounce@oss.sgi.com X-original-sender: nscott@aconex.com Precedence: bulk X-list: pcp Changes committed to git://oss.sgi.com:8090/nathans/pcpweb.git index.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 6f02b303932a494e4b0b7ff9decae61dfd32bd8b Author: Nathan Scott Date: Fri May 9 16:59:15 2008 +1000 Update current pcp/kmchart dev snapshot version numbers. From nscott@aconex.com Sat May 10 23:44:29 2008 Received: with ECARTIS (v1.0.0; list pcp); Sat, 10 May 2008 23:44:40 -0700 (PDT) Received: from cuda.sgi.com (cuda2.sgi.com [192.48.168.29]) by oss.sgi.com (8.12.11.20060308/8.12.11/SuSE Linux 0.7) with ESMTP id m4B6iS0w027521 for ; Sat, 10 May 2008 23:44:29 -0700 X-ASG-Debug-ID: 1210488312-3d5100900000-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 0CDB51512F8 for ; Sat, 10 May 2008 23:45:13 -0700 (PDT) Received: from postoffice2.aconex.com (prod.aconex.com [203.89.192.138]) by cuda.sgi.com with ESMTP id Yt1ilREoPG4SCWeE for ; Sat, 10 May 2008 23:45:13 -0700 (PDT) Received: from postoffice.aconex.com (localhost [127.0.0.1]) by postoffice2.aconex.com (Spam Firewall) with ESMTP id 06C3328D20 for ; Sun, 11 May 2008 16:44:49 +1000 (EST) Received: from postoffice.aconex.com (postoffice.yarra.acx [192.168.3.1]) by postoffice2.aconex.com with ESMTP id 7Q6ps0HEEf7VvlLT for ; Sun, 11 May 2008 16:44:49 +1000 (EST) Received: from mail.aconex.com (castle.yarra.acx [192.168.3.3]) by postoffice.aconex.com (Postfix) with ESMTP id 0E22192C0DE for ; Sun, 11 May 2008 16:45:10 +1000 (EST) Received: from 192.168.3.1 (proxying for 220.239.214.222) (SquirrelMail authenticated user nscott) by mail.aconex.com with HTTP; Sun, 11 May 2008 16:45:10 +1000 (EST) Message-ID: <47852.192.168.3.1.1210488310.squirrel@mail.aconex.com> Date: Sun, 11 May 2008 16:45:10 +1000 (EST) X-ASG-Orig-Subj: kmchart updates Subject: kmchart updates From: nscott@aconex.com To: pcp@oss.sgi.com User-Agent: SquirrelMail/1.4.8-4.el4.centos MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal X-Barracuda-Connect: prod.aconex.com[203.89.192.138] X-Barracuda-Start-Time: 1210488315 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: -0.97 X-Barracuda-Spam-Status: No, SCORE=-0.97 using per-user scores of TAG_LEVEL=2.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=2.1 tests=BSF_RULE7568M, NO_REAL_NAME X-Barracuda-Spam-Report: Code version 3.1, rules version 3.1.50029 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- 0.55 NO_REAL_NAME From: does not include a real name 0.50 BSF_RULE7568M Custom Rule 7568M X-archive-position: 1645 X-ecartis-version: Ecartis v1.0.0 Sender: pcp-bounce@oss.sgi.com Errors-to: pcp-bounce@oss.sgi.com X-original-sender: nscott@aconex.com Precedence: bulk X-list: pcp Changes committed to git://oss.sgi.com:8090/nathans/kmchart.git aclocal.m4 | 6 images/emblem-system.png |binary images/emblem-system.svg | 181 ++++++++++++++++++ m4/package_qtdev.m4 | 6 src/chart/GNUmakefile | 2 src/chart/chart.cpp | 13 - src/chart/chart.h | 2 src/chart/chartdialog.cpp | 25 ++ src/chart/chartdialog.h | 3 src/chart/chartdialog.ui | 69 +++++- src/chart/infodialog.cpp | 22 +- src/chart/infodialog.h | 4 src/chart/kmchart.cpp | 27 +- src/chart/kmchart.h | 5 src/chart/kmchart.qrc | 1 src/chart/kmchart.ui | 2 src/chart/namespace.cpp | 52 +++-- src/chart/namespace.h | 23 +- src/chart/tabdialog.cpp | 13 - src/chart/tabdialog.h | 4 src/chart/tabdialog.ui | 405 +++++++++++++++++++++++------------------ src/libqwt/qwt_legend_item.cpp | 11 + src/libqwt/qwt_text_label.cpp | 25 ++ src/libqwt/qwt_text_label.h | 3 24 files changed, 637 insertions(+), 267 deletions(-) commit bd25919be54e280e5b95813e7d7d4d7660b5c886 Author: Nathan Scott Date: Sun May 11 16:43:02 2008 +1000 Add an "Auto" anti-alias on/off selection that chooses a good default. commit 24f7026be491a3d3e7d4f27ff31aca7e8bfeb1aa Author: Nathan Scott Date: Sun May 11 14:02:01 2008 +1000 Extent QWT legends so that inactive state is more clearly shown. commit c0d9bf5a4692acd7e1b28e36cc587bf755ee0723 Author: Nathan Scott Date: Sat May 10 16:05:13 2008 +1000 Several changes toward a more complete local context implementation. commit 16dfc769259d3898b729c65771318d8ce65bea5f Author: Nathan Scott Date: Sat May 10 15:32:37 2008 +1000 Remove some dead code from kmchart.cpp/. commit 999f52e6888202c8a29c0c86b68d8b7c7daa578e Author: Nathan Scott Date: Sat May 10 15:09:00 2008 +1000 Allow configure to use the QTDIR environment variable to locate binaries. commit 141c3a1891718a5ee11cd2aaa3a081b505be34dc Author: Nathan Scott Date: Sat May 10 15:05:48 2008 +1000 Split Tab edit/create dialog into two tabs to simplify extensions to this dialog in the future and to focus the users attention to the total/visible Samples values when clicking on the time axis. From nscott@aconex.com Sun May 11 17:35:35 2008 Received: with ECARTIS (v1.0.0; list pcp); Sun, 11 May 2008 17:35:44 -0700 (PDT) Received: from cuda.sgi.com (cuda3.sgi.com [192.48.176.15]) by oss.sgi.com (8.12.11.20060308/8.12.11/SuSE Linux 0.7) with ESMTP id m4C0ZYkY004390 for ; Sun, 11 May 2008 17:35:35 -0700 X-ASG-Debug-ID: 1210552578-2bad028b0000-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 C3C67160B374 for ; Sun, 11 May 2008 17:36:19 -0700 (PDT) Received: from postoffice2.aconex.com (prod.aconex.com [203.89.192.138]) by cuda.sgi.com with ESMTP id RafHGla4c3vvVvaf for ; Sun, 11 May 2008 17:36:19 -0700 (PDT) Received: from postoffice.aconex.com (localhost [127.0.0.1]) by postoffice2.aconex.com (Spam Firewall) with ESMTP id 51B452C329 for ; Mon, 12 May 2008 10:35:54 +1000 (EST) Received: from postoffice.aconex.com (postoffice.yarra.acx [192.168.3.1]) by postoffice2.aconex.com with ESMTP id HOmBCSGFdk9O7wuv for ; Mon, 12 May 2008 10:35:54 +1000 (EST) Received: from [192.168.5.76] (unknown [203.89.192.141]) by postoffice.aconex.com (Postfix) with ESMTP id 0A9F092C0DF for ; Mon, 12 May 2008 10:36:15 +1000 (EST) X-ASG-Orig-Subj: pcp updates Subject: pcp updates From: Nathan Scott Reply-To: nscott@aconex.com To: pcp@oss.sgi.com Content-Type: text/plain Organization: Aconex Date: Mon, 12 May 2008 10:36:14 +1000 Message-Id: <1210552574.25294.297.camel@edge.scott.net.au> Mime-Version: 1.0 X-Mailer: Evolution 2.22.1 Content-Transfer-Encoding: 7bit X-Barracuda-Connect: prod.aconex.com[203.89.192.138] X-Barracuda-Start-Time: 1210552581 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.1, rules version 3.1.50102 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- X-archive-position: 1646 X-ecartis-version: Ecartis v1.0.0 Sender: pcp-bounce@oss.sgi.com Errors-to: pcp-bounce@oss.sgi.com X-original-sender: nscott@aconex.com Precedence: bulk X-list: pcp Changes committed to git://oss.sgi.com:8090/nathans/pcp.git man/man1/pcpintro.1 | 7 +++ man/man3/pmparsemetricspec.3 | 2 - src/cpan/GNUmakefile | 3 + src/include/impl.h | 1 src/include/pmapi.h | 2 - src/libpcp/src/pdu.c | 14 ++++++- src/libpcp/src/spec.c | 80 ++++++++++++++++++++++------------------- src/libpcp_pmc/src/GNUmakefile | 12 +++++- src/libpcp_pmc/src/Group.c++ | 11 +---- src/libpcp_pmc/src/Indom.c++ | 2 - src/libpcp_pmc/src/Metric.c++ | 19 +++++---- src/libpcp_pmc/src/Source.c++ | 4 +- src/pmdas/pmcd/src/pmcd.c | 4 +- src/pmdumptext/pmdumptext.c++ | 13 +++--- src/pmprobe/pmprobe.c | 4 +- src/pmval/pmval.c | 46 +++++++++++++---------- 16 files changed, 132 insertions(+), 92 deletions(-) commit 878afba0cd265e0cc54f26b2dcd22dfd51f17be2 Author: Ken McDonell Date: Mon May 12 10:35:06 2008 +1000 Extend the pmParseMetricSpec interface to allow local context to be specified, in addition to the host & archive contexts already supported. Local context is specified through the value 2 in the "isarch" parameter, and the "@:" symbol in a metric spec string. commit fc1e641d29333ecd437de14391013f02d0236ab7 Author: Ken McDonell Date: Mon May 12 09:48:59 2008 +1000 Reinstate the change to allow pdu counter arrays to be moved outside of libpcp, now that the QA failures are understood and resolved (pmprobe/pmdapmcd callers need to use matching extern declarations). From kimbrr@sgi.com Sun May 11 20:23:21 2008 Received: with ECARTIS (v1.0.0; list pcp); Sun, 11 May 2008 20:23:32 -0700 (PDT) Received: from larry.melbourne.sgi.com (larry.melbourne.sgi.com [134.14.52.130]) by oss.sgi.com (8.12.11.20060308/8.12.11/SuSE Linux 0.7) with SMTP id m4C3NGsX019767 for ; Sun, 11 May 2008 20:23:20 -0700 Received: from snort.melbourne.sgi.com (snort.melbourne.sgi.com [134.14.54.149]) by larry.melbourne.sgi.com (950413.SGI.8.6.12/950213.SGI.AUTOCF) via ESMTP id NAA11201; Mon, 12 May 2008 13:23:52 +1000 Received: from snort.melbourne.sgi.com (localhost [127.0.0.1]) by snort.melbourne.sgi.com (SGI-8.12.5/8.12.5) with ESMTP id m4C3NosT161603685; Mon, 12 May 2008 13:23:51 +1000 (AEST) Received: from localhost (kimbrr@localhost) by snort.melbourne.sgi.com (SGI-8.12.5/8.12.5/Submit) with ESMTP id m4C3NkFQ164456283; Mon, 12 May 2008 13:23:47 +1000 (AEST) X-Authentication-Warning: snort.melbourne.sgi.com: kimbrr owned process doing -bs Date: Mon, 12 May 2008 13:23:46 +1000 From: Michael Newton X-X-Sender: kimbrr@snort.melbourne.sgi.com To: Martin Hicks cc: Ken McDonell , pcp@oss.sgi.com Subject: Re: forcing pmie to reload rules file In-Reply-To: <20080508195534.GE9746@laplace.bork.org> Message-ID: References: <20080508171547.GC9746@laplace.bork.org> <1210275325.5951.5.camel@localhost.localdomain> <20080508195534.GE9746@laplace.bork.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-archive-position: 1647 X-ecartis-version: Ecartis v1.0.0 Sender: pcp-bounce@oss.sgi.com Errors-to: pcp-bounce@oss.sgi.com X-original-sender: kimbrr@sgi.com Precedence: bulk X-list: pcp On Thu, 8 May 2008, Martin Hicks wrote: > On Fri, May 09, 2008 at 05:35:25AM +1000, Ken McDonell wrote: > > And in fact pmie has accumulated so much state about metric meta data > > and historical metric values, that any re-reading of the config file > > would almost certainly mean forgetting all of that and starting again. > > > > Functionally this would be like killing pmie and starting again ... > > which is already supported .. 8^)> > > What I really need is a chroot-safe way to reload pmie. > > You can't do `/etc/init.d/pmie restart` because that would start pmie > in the chroot. > > It seems that many initscripts support a "reload", which checks a PID > file and sends a -HUP signal if they are (in this case) pmie processes. > > I need this because I have an RPM with its own pmie rules file. (The > RPM adds a new process to the pmie control file). When this RPM is > upgraded it needs to restart pmie in order to get these new rules > loaded. The catch is that this RPM is frequently installed in a chroot. i think we have some good news for once: pmie *already* creates per-process files in $PCP_TMP_DIR/pmie/ (thats /var/tmp/ on linux). In fact i believe "/etc/init.d/pmie stop" will actually do the right thing (ie not kill a "global" pmie when run in a chroot). unfortunately "restart" (== "start") run in a chroot will attempt to start pmie instances. Fortunately, i dont think anything thats been done to date will have triggered this. (Installing the monitoring rpm chkconfig's pmie on, but nothing should be started til the image is (re)booted). So the presence of any /var/tmp/pmie/[0-9]* is enough to guarantee that we are not in a chroot. so a reload can simply be a restart conditional on the existence of such a file. If i dont get that in quickly enough u can always check for such a file in your spec $postun Dr.Michael("Kimba")Newton kimbrr@sgi.com From kmcdonell@aconex.com Sun May 11 15:25:50 2008 Received: with ECARTIS (v1.0.0; list pcp); Mon, 12 May 2008 10:17:19 -0700 (PDT) Received: from cuda.sgi.com (cuda1.sgi.com [192.48.168.28]) by oss.sgi.com (8.12.11.20060308/8.12.11/SuSE Linux 0.7) with ESMTP id m4BMPmXv023815 for ; Sun, 11 May 2008 15:25:50 -0700 X-ASG-Debug-ID: 1210544794-177900740000-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 EE88D12B3E83 for ; Sun, 11 May 2008 15:26:34 -0700 (PDT) Received: from postoffice2.aconex.com (prod.aconex.com [203.89.192.138]) by cuda.sgi.com with ESMTP id 32g7lRrISuQtEM5l for ; Sun, 11 May 2008 15:26:34 -0700 (PDT) Received: from postoffice.aconex.com (localhost [127.0.0.1]) by postoffice2.aconex.com (Spam Firewall) with ESMTP id 7386D2ADEC for ; Mon, 12 May 2008 08:26:09 +1000 (EST) Received: from postoffice.aconex.com (postoffice.yarra.acx [192.168.3.1]) by postoffice2.aconex.com with ESMTP id IRKLA7IJYm0CwHRl for ; Mon, 12 May 2008 08:26:09 +1000 (EST) Received: from [192.168.5.86] (unknown [203.89.192.141]) by postoffice.aconex.com (Postfix) with ESMTP id 2127292C0DF; Mon, 12 May 2008 08:26:30 +1000 (EST) X-ASG-Orig-Subj: Re: QA test 151 Subject: Re: QA test 151 From: Ken McDonell To: nscott@aconex.com Cc: pcp@oss.sgi.com In-Reply-To: <1210315654.25294.279.camel@edge.scott.net.au> References: <1210315654.25294.279.camel@edge.scott.net.au> Content-Type: text/plain Organization: Aconex Date: Mon, 12 May 2008 08:26:29 +1000 Message-Id: <1210544789.3498.11.camel@localhost.localdomain> Mime-Version: 1.0 X-Mailer: Evolution 2.22.1 (2.22.1-2.fc9) Content-Transfer-Encoding: 7bit X-Barracuda-Connect: prod.aconex.com[203.89.192.138] X-Barracuda-Start-Time: 1210544795 X-Barracuda-Bayes: INNOCENT GLOBAL 0.0062 1.0000 -1.9806 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.1, rules version 3.1.50093 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- X-archive-position: 1648 X-Approved-By: makc@sgi.com X-ecartis-version: Ecartis v1.0.0 Sender: pcp-bounce@oss.sgi.com Errors-to: pcp-bounce@oss.sgi.com X-original-sender: kmcdonell@aconex.com Precedence: bulk X-list: pcp I do remember! There was a change to the daily script to make the default behaviour gather archives not just from yesterday but from previous days (which is why 151 now fails if you remove the -o check). -o reverted to the old behaviour of only doing yesterday's archives. But the "new behaviour and -o" changes are not in the current open source pmlogger_daily.sh ... so at some point, they have been lost ... probably needs some ptools investigation by someone inside sgi me thinks, as a first step. ps. this is moderately useful in cases where pmlogger_daily.sh may not be run on a particular day, e.g. due to system maintenance, or cron amnesia, or whatever ... On Fri, 2008-05-09 at 16:47 +1000, Nathan Scott wrote: > ... is constantly notrun, as we don't have a -o option in > the open source pcp version of pmlogger_check/daily - do > you remember what that option was? Is the test still valid? > > thanks. > From nscott@aconex.com Wed May 14 21:43:37 2008 Received: with ECARTIS (v1.0.0; list pcp); Wed, 14 May 2008 21:43:50 -0700 (PDT) Received: from cuda.sgi.com (cuda1.sgi.com [192.48.168.28]) by oss.sgi.com (8.12.11.20060308/8.12.11/SuSE Linux 0.7) with ESMTP id m4F4hbXq011298 for ; Wed, 14 May 2008 21:43:37 -0700 X-ASG-Debug-ID: 1210826662-0aa301b20000-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 E0918117EDDF for ; Wed, 14 May 2008 21:44:22 -0700 (PDT) Received: from postoffice2.aconex.com (prod.aconex.com [203.89.192.138]) by cuda.sgi.com with ESMTP id O2tBXhUSnt5shGSS for ; Wed, 14 May 2008 21:44:22 -0700 (PDT) Received: from postoffice.aconex.com (localhost [127.0.0.1]) by postoffice2.aconex.com (Spam Firewall) with ESMTP id 942305245C for ; Thu, 15 May 2008 14:43:51 +1000 (EST) Received: from postoffice.aconex.com (postoffice.yarra.acx [192.168.3.1]) by postoffice2.aconex.com with ESMTP id kfAJNERfCTOQVweA for ; Thu, 15 May 2008 14:43:51 +1000 (EST) Received: from [192.168.5.76] (unknown [203.89.192.141]) by postoffice.aconex.com (Postfix) with ESMTP id 2A31292C0DF for ; Thu, 15 May 2008 14:44:15 +1000 (EST) X-ASG-Orig-Subj: pcp updates Subject: pcp updates From: Nathan Scott Reply-To: nscott@aconex.com To: pcp@oss.sgi.com Content-Type: text/plain Organization: Aconex Date: Thu, 15 May 2008 14:44:14 +1000 Message-Id: <1210826654.25294.399.camel@edge.scott.net.au> Mime-Version: 1.0 X-Mailer: Evolution 2.22.1 Content-Transfer-Encoding: 7bit X-Barracuda-Connect: prod.aconex.com[203.89.192.138] X-Barracuda-Start-Time: 1210826664 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.1, rules version 3.1.50396 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- 0.50 BSF_RULE7568M Custom Rule 7568M X-archive-position: 1649 X-ecartis-version: Ecartis v1.0.0 Sender: pcp-bounce@oss.sgi.com Errors-to: pcp-bounce@oss.sgi.com X-original-sender: nscott@aconex.com Precedence: bulk X-list: pcp Changes committed to git://oss.sgi.com:8090/nathans/pcp.git configure.in | 18 ++--- src/autofsd-probe/autofsd-probe.c | 3 src/dbpmda/src/dbpmda.c | 18 +---- src/dbpmda/src/dso.c | 1 src/dbpmda/src/gram.y | 23 +++--- src/dbpmda/src/lex.l | 7 -- src/dbpmda/src/pmda.c | 1 src/dbpmda/src/util.c | 6 - src/include/impl.h | 12 ++- src/include/platform_defs.h.in | 131 +++++++++++++++++++++++++++----------- src/libpcp/src/AF.c | 5 - src/libpcp/src/GNUmakefile | 2 src/libpcp/src/access.c | 13 --- src/libpcp/src/auxconnect.c | 25 ++----- src/libpcp/src/config.c | 6 - src/libpcp/src/connect.c | 19 +++-- src/libpcp/src/context.c | 7 -- src/libpcp/src/err.c | 7 -- src/libpcp/src/fetch.c | 2 src/libpcp/src/fetchlocal.c | 4 - src/libpcp/src/findpmda4linux.c | 34 --------- src/libpcp/src/instance.c | 3 src/libpcp/src/interp.c | 7 -- src/libpcp/src/ipc.c | 5 - src/libpcp/src/logconnect.c | 13 +-- src/libpcp/src/logmeta.c | 6 - src/libpcp/src/logportmap.c | 30 +------- src/libpcp/src/logutil.c | 9 -- src/libpcp/src/loop.c | 13 +-- src/libpcp/src/optfetch.c | 5 - src/libpcp/src/p_creds.c | 3 src/libpcp/src/p_desc.c | 5 - src/libpcp/src/p_error.c | 5 - src/libpcp/src/p_fetch.c | 2 src/libpcp/src/p_instance.c | 3 src/libpcp/src/p_lcontrol.c | 5 - src/libpcp/src/p_lrequest.c | 4 - src/libpcp/src/p_lstatus.c | 4 - src/libpcp/src/p_pmns.c | 7 -- src/libpcp/src/p_profile.c | 2 src/libpcp/src/p_result.c | 3 src/libpcp/src/p_text.c | 3 src/libpcp/src/pdu.c | 8 -- src/libpcp/src/pdubuf.c | 4 - src/libpcp/src/pmns.c | 8 -- src/libpcp/src/profile.c | 2 src/libpcp/src/rtime.c | 6 - src/libpcp/src/spec.c | 6 - src/libpcp/src/stuffvalue.c | 3 src/libpcp/src/tz.c | 16 +--- src/libpcp/src/units.c | 5 - src/libpcp/src/util.c | 34 ++------- src/libpcp_pmda/src/cache.c | 12 --- src/libpcp_pmda/src/callback.c | 5 - src/libpcp_pmda/src/help.c | 91 +++++++++++++++++--------- src/libpcp_pmda/src/mainloop.c | 6 - src/libpcp_pmda/src/open.c | 50 ++++++++------ src/libpcp_trace/src/trace.c | 8 -- src/newhelp/chkhelp.c | 13 --- src/newhelp/newhelp.c | 4 - src/pmcd/src/client.c | 1 src/pmcd/src/config.c | 1 src/pmcd/src/dopdus.c | 4 - src/pmcd/src/pmcd.c | 8 -- src/pmcdctl/pmcd_wait.c | 5 - src/pmclient/pmclient.c | 5 - src/pmdas/apache/apache.c | 2 src/pmdas/cisco/cisco.c | 1 src/pmdas/cisco/pmda.c | 10 -- src/pmdas/cisco/probe.c | 6 - src/pmdas/cisco/telnet.c | 1 src/pmdas/hotproc/src/hotproc.c | 1 src/pmdas/mailq/mailq.c | 11 --- src/pmdas/pmcd/src/pmcd.c | 6 - src/pmdas/roomtemp/roomtemp.c | 1 src/pmdas/sample/src/pmda.c | 2 src/pmdas/sample/src/sample.c | 2 src/pmdas/shping/pmda.c | 3 src/pmdas/shping/shping.c | 2 src/pmdas/summary/pmda.c | 7 -- src/pmdas/summary/summary.c | 2 src/pmdas/trace/src/client.c | 1 src/pmdas/trace/src/comms.c | 1 src/pmdas/txmon/txmon.c | 1 src/pmdas/txmon/txrecord.c | 1 src/pmdas/weblog/check_match.c | 1 src/pmdas/weblog/pmda.c | 7 -- src/pmdbg/pmdbg.c | 2 src/pmdumplog/pmdumplog.c | 5 - src/pmie/src/pmie.c | 2 src/pminfo/pminfo.c | 14 ---- src/pmkstat/src/pmkstat.c | 6 - src/pmlc/pmlc.c | 2 src/pmlock/pmlock.c | 1 src/pmlogextract/pmlogextract.c | 5 - src/pmlogger/callback.c | 1 src/pmlogger/check.c | 2 src/pmlogger/dopdu.c | 1 src/pmlogger/pmlogger.c | 10 -- src/pmlogger/preamble.c | 2 src/pmloglabel/pmloglabel.c | 15 ---- src/pmlogreduce/pmlogreduce.c | 4 - src/pmlogreduce/util.c | 3 src/pmlogsummary/pmlogcheck.c | 3 src/pmlogsummary/pmlogsummary.c | 3 src/pmns/pmnsdel.c | 5 - src/pmns/pmnsmerge.c | 3 src/pmnscomp/pmnscomp.c | 5 - src/pmprobe/pmprobe.c | 5 - src/pmproxy/client.c | 1 src/pmproxy/pmproxy.c | 6 - src/pmstore/pmstore.c | 5 - src/pmtop/pmtop.c | 2 src/pmtrace/pmtrace.c | 4 - src/pmval/pmval.c | 6 - src/procmemstat/procmemstat.c | 5 - src/telnet-probe/telnet-probe.c | 1 117 files changed, 297 insertions(+), 687 deletions(-) commit 00161e9ea400584a286621a6c073abe699346ca9 Author: Nathan Scott Date: Thu May 15 14:42:27 2008 +1000 Make fcntl to extract fd flags able to have NODELAY setting factored out. commit ec2a3a2c907b2f512f7c06bc86eb631c3512df5b Author: Nathan Scott Date: Thu May 15 14:36:49 2008 +1000 Remove tons of unneeded extern decls like errno, h_errno, optind, etc. commit c70c1e517893e255bd768644b1ab2422f050a7d7 Author: Nathan Scott Date: Thu May 15 14:35:46 2008 +1000 Make logportmap use of scandir match up with global headers. commit 6fc80f76c9f86f2609a85cb9ecc84c3184437f67 Author: Nathan Scott Date: Thu May 15 14:08:52 2008 +1000 Implement help text file memory mapping using Win32 APIs. commit d841d319c53cb4408a850036bc0531634d8054a7 Author: Nathan Scott Date: Thu May 15 14:06:51 2008 +1000 Fix reporting of pmcd license (back how it was instead of uninit'd) commit 1ca56257cc0107160704451c2d97d17a667a3cde Author: Nathan Scott Date: Thu May 15 13:57:06 2008 +1000 When pmcd runs "ps" in a diagnostic, make it run PCP_PS_PROG instead. commit 09fcb9b45d4a8cc1a0e5b177ef67e2957b3c542e Author: Nathan Scott Date: Thu May 15 13:55:48 2008 +1000 Win32 porting - no UNIX domain sockets, "interface" is reserved. commit 6b4f86346c5d5757f00bc0a0a36e873fdddb4ab9 Author: Nathan Scott Date: Thu May 15 12:20:23 2008 +1000 Cleanup code in the now-shared scandir/alphasort routines. commit c0eed5342c18a40913b05b4404842aab0fcf731a Author: Nathan Scott Date: Thu May 15 12:07:07 2008 +1000 Sanitise include files. Several headers we include in numerous utilities a/ dont exist under Win32 APIs and b/ are already in the default set of headers that impl.h/platform_defs.h include for us. This patch removes all duplicates, conditionalises the includes where needed in the global headers, and introduces the Win32 specific configure.in function/header checks. commit bedb00b92a21d6e4763e7005de1639d1bcff94c5 Author: Nathan Scott Date: Thu May 15 11:58:10 2008 +1000 unsetenv needs to be visible now, not static. commit 37e3b663da24ff3ef38adb9f56b383618da3bc6c Author: Nathan Scott Date: Thu May 15 10:48:18 2008 +1000 Convert kill(getpid(),...) to raise() which is equivalent and works on Win32. commit 9a802e40606aef217bcdb33cc618c7d12d19edd9 Author: Nathan Scott Date: Thu May 15 10:44:28 2008 +1000 Fix two unused variables for building without HAVE_DLOPEN. commit 06fe9a0fc8d5ca05753f938b16b46deb7fa33ab3 Author: Nathan Scott Date: Thu May 15 10:42:52 2008 +1000 Fix up some trivial type-related warnings for MinGW builds. commit 398b1a23f785848c277af462d2d59ddb830c53a6 Author: Nathan Scott Date: Thu May 15 10:28:17 2008 +1000 findpmda4linux.c is misnamed, it contains __pmFindPMDA for all non IRIX hosts. Since this routine is almost a no-op now, I've moved it alongside its caller in libpcp and removed the badly named file. commit 574e4fd60338094897ea3faafee8017d622e3986 Author: Nathan Scott Date: Thu May 15 10:00:00 2008 +1000 Win32 headers define symbols TEXT and DELETE (ugh), which conflict with the same named macros in dbpmda - so, renamed the dbpmda ones to avoid the namespace collision. commit 45a429b3ea63e370a8b041f71dc8df7567a40fd0 Author: Nathan Scott Date: Thu May 15 09:26:35 2008 +1000 Win32 has only _environ not __environ. From nscott@aconex.com Thu May 15 23:03:58 2008 Received: with ECARTIS (v1.0.0; list pcp); Thu, 15 May 2008 23:04:09 -0700 (PDT) Received: from cuda.sgi.com (cuda1.sgi.com [192.48.168.28]) by oss.sgi.com (8.12.11.20060308/8.12.11/SuSE Linux 0.7) with ESMTP id m4G63wPM020730 for ; Thu, 15 May 2008 23:03:58 -0700 X-ASG-Debug-ID: 1210917884-78d7010c0000-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 04C5577D1D3 for ; Thu, 15 May 2008 23:04:45 -0700 (PDT) Received: from postoffice2.aconex.com (prod.aconex.com [203.89.192.138]) by cuda.sgi.com with ESMTP id NDAV9NDUoie0u8v7 for ; Thu, 15 May 2008 23:04:45 -0700 (PDT) Received: from postoffice.aconex.com (localhost [127.0.0.1]) by postoffice2.aconex.com (Spam Firewall) with ESMTP id 7CFAB620A1 for ; Fri, 16 May 2008 16:04:19 +1000 (EST) Received: from postoffice.aconex.com (postoffice.yarra.acx [192.168.3.1]) by postoffice2.aconex.com with ESMTP id v7MbitDAgPR9Z6h4 for ; Fri, 16 May 2008 16:04:19 +1000 (EST) Received: from [192.168.5.76] (unknown [203.89.192.141]) by postoffice.aconex.com (Postfix) with ESMTP id 0461292C0DE for ; Fri, 16 May 2008 16:04:43 +1000 (EST) X-ASG-Orig-Subj: pcpqa updates Subject: pcpqa updates From: Nathan Scott Reply-To: nscott@aconex.com To: pcp@oss.sgi.com Content-Type: text/plain Organization: Aconex Date: Fri, 16 May 2008 16:04:43 +1000 Message-Id: <1210917883.25294.420.camel@edge.scott.net.au> Mime-Version: 1.0 X-Mailer: Evolution 2.22.1 Content-Transfer-Encoding: 7bit X-Barracuda-Connect: prod.aconex.com[203.89.192.138] X-Barracuda-Start-Time: 1210917887 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.1, rules version 3.1.50496 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- X-archive-position: 1650 X-ecartis-version: Ecartis v1.0.0 Sender: pcp-bounce@oss.sgi.com Errors-to: pcp-bounce@oss.sgi.com X-original-sender: nscott@aconex.com Precedence: bulk X-list: pcp Changes committed to git://oss.sgi.com:8090/nathans/pcpqa.git 115.out | 9 +++++++++ 158 | 8 ++++---- 158.out.1 | 4 ++-- 158.out.2 | 4 ++-- 160 | 4 ++-- 165 | 4 ++-- 165.out | 12 ++++++------ 171.out | 4 ++-- 173.out | 4 ++-- 182 | 4 ++-- 209 | 2 +- 209.out | 2 +- 219.out.1 | 20 ++++++++++---------- 242 | 8 ++++---- 247 | 6 +++--- 247.out | 4 ++-- 262 | 4 ++-- 313 | 2 +- 313.62_6512plus | 4 ++-- 396 | 12 ++++++------ 396.out | 12 ++++++------ 399 | 8 ++++---- 501 | 18 +++++++++--------- 507 | 2 +- 507.out | 1 + 597 | 1 - 597.out | 1 - src-oss/interp_bug.c | 4 ++-- src-oss/interp_bug2.c | 4 ++-- src-oss/mark-bug.c | 2 +- src-oss/pcp_lite_crash.c | 2 +- src-oss/pmc_group.c++ | 6 +++--- src-oss/pmc_metric.c++ | 6 +++--- 33 files changed, 98 insertions(+), 90 deletions(-) commit d9b47e63f56d07d2171af0a3f40f47e9e3017920 Author: Nathan Scott Date: Fri May 16 16:03:57 2008 +1000 Resolve the QA fallout from removal of auto irix metric name translation. commit 77c89cddb9dfa0386d1c2b053c0edd398db7dc06 Author: Nathan Scott Date: Fri May 16 14:28:59 2008 +1000 Add in very-verbose pmie start script output for test 115. commit da828c15c5768d9155532f438db9a36b899e6525 Author: Nathan Scott Date: Fri May 16 14:27:23 2008 +1000 Drop irix prefix from metric name in pcp_lite_crash.c. From nscott@aconex.com Sun May 18 20:04:01 2008 Received: with ECARTIS (v1.0.0; list pcp); Sun, 18 May 2008 20:04:05 -0700 (PDT) Received: from cuda.sgi.com ([192.48.176.15]) by oss.sgi.com (8.12.11.20060308/8.12.11/SuSE Linux 0.7) with ESMTP id m4J340bD003551 for ; Sun, 18 May 2008 20:04:01 -0700 X-ASG-Debug-ID: 1211166287-2c7600c20000-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 550B916EB64E for ; Sun, 18 May 2008 20:04:47 -0700 (PDT) Received: from postoffice2.aconex.com (prod.aconex.com [203.89.192.138]) by cuda.sgi.com with ESMTP id TafXYcHEGDYoHQ7Q for ; Sun, 18 May 2008 20:04:47 -0700 (PDT) Received: from postoffice.aconex.com (localhost [127.0.0.1]) by postoffice2.aconex.com (Spam Firewall) with ESMTP id 3A9017F261 for ; Mon, 19 May 2008 13:04:25 +1000 (EST) Received: from postoffice.aconex.com (postoffice.yarra.acx [192.168.3.1]) by postoffice2.aconex.com with ESMTP id uFHrTLXURCaOwv4c for ; Mon, 19 May 2008 13:04:25 +1000 (EST) Received: from [192.168.5.76] (unknown [203.89.192.141]) by postoffice.aconex.com (Postfix) with ESMTP id D730A92C2C6 for ; Mon, 19 May 2008 13:04:45 +1000 (EST) X-ASG-Orig-Subj: pmkstat Subject: pmkstat From: Nathan Scott Reply-To: nscott@aconex.com To: pcp@oss.sgi.com Content-Type: text/plain Organization: Aconex Date: Mon, 19 May 2008 13:04:45 +1000 Message-Id: <1211166285.25294.434.camel@edge.scott.net.au> Mime-Version: 1.0 X-Mailer: Evolution 2.22.1 Content-Transfer-Encoding: 7bit X-Barracuda-Connect: prod.aconex.com[203.89.192.138] X-Barracuda-Start-Time: 1211166290 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.1, rules version 3.1.50770 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- X-archive-position: 1651 X-ecartis-version: Ecartis v1.0.0 Sender: pcp-bounce@oss.sgi.com Errors-to: pcp-bounce@oss.sgi.com X-original-sender: nscott@aconex.com Precedence: bulk X-list: pcp Hi all, I'm planning on removing pmkstat from the PCP source shortly. It doesn't work correctly even on Linux (it was aimed at IRIX only, really) - emits a bunch of "unknown metrics" warnings & then proceeds to incorrectly report those it does know about (the CPU values are all wrong) ... any objections? We have had pmstat as a better platform-independent tool for a long time, of course. cheers. -- Nathan From nscott@aconex.com Mon May 19 00:03:30 2008 Received: with ECARTIS (v1.0.0; list pcp); Mon, 19 May 2008 00:03:43 -0700 (PDT) Received: from cuda.sgi.com (cuda1.sgi.com [192.48.168.28]) by oss.sgi.com (8.12.11.20060308/8.12.11/SuSE Linux 0.7) with ESMTP id m4J73UQ8028062 for ; Mon, 19 May 2008 00:03:30 -0700 X-ASG-Debug-ID: 1211180658-1915002d0000-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 AC81CB8D440 for ; Mon, 19 May 2008 00:04:18 -0700 (PDT) Received: from postoffice2.aconex.com (prod.aconex.com [203.89.192.138]) by cuda.sgi.com with ESMTP id bWnQH5Q4oUtJb6NY for ; Mon, 19 May 2008 00:04:18 -0700 (PDT) Received: from postoffice.aconex.com (localhost [127.0.0.1]) by postoffice2.aconex.com (Spam Firewall) with ESMTP id 6F45183D36 for ; Mon, 19 May 2008 17:03:57 +1000 (EST) Received: from postoffice.aconex.com (postoffice.yarra.acx [192.168.3.1]) by postoffice2.aconex.com with ESMTP id HM7F9xiVfGRemY8r for ; Mon, 19 May 2008 17:03:57 +1000 (EST) Received: from [192.168.5.76] (unknown [203.89.192.141]) by postoffice.aconex.com (Postfix) with ESMTP id B1A4192C0DE for ; Mon, 19 May 2008 17:04:17 +1000 (EST) X-ASG-Orig-Subj: pmnscomp and PMNS checksums Subject: pmnscomp and PMNS checksums From: Nathan Scott Reply-To: nscott@aconex.com To: pcp@oss.sgi.com Content-Type: text/plain Organization: Aconex Date: Mon, 19 May 2008 17:04:17 +1000 Message-Id: <1211180657.25294.446.camel@edge.scott.net.au> Mime-Version: 1.0 X-Mailer: Evolution 2.22.1 Content-Transfer-Encoding: 7bit X-Barracuda-Connect: prod.aconex.com[203.89.192.138] X-Barracuda-Start-Time: 1211180659 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.1, rules version 3.1.50785 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- X-archive-position: 1652 X-ecartis-version: Ecartis v1.0.0 Sender: pcp-bounce@oss.sgi.com Errors-to: pcp-bounce@oss.sgi.com X-original-sender: nscott@aconex.com Precedence: bulk X-list: pcp Hi, I came across an oddity in pmnscomp.c (the binary PMNS compiler) - the -v option contains conditional code on the BUILDTOOL macro, which conditional makes version 2 available. This is not enabled anywhere, probably was on IRIX. Version 2 looks to be similar to version 1, except has added a checksum. Anyone know what the history is here? Why aren't we enabling version 2 everywhere? thanks. -- Nathan From nscott@aconex.com Mon May 19 19:53:01 2008 Received: with ECARTIS (v1.0.0; list pcp); Mon, 19 May 2008 19:53:05 -0700 (PDT) Received: from cuda.sgi.com (cuda1.sgi.com [192.48.168.28]) by oss.sgi.com (8.12.11.20060308/8.12.11/SuSE Linux 0.7) with ESMTP id m4K2r1f5008071 for ; Mon, 19 May 2008 19:53:01 -0700 X-ASG-Debug-ID: 1211252029-2f9900dc0000-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 AF58AB9E5CB for ; Mon, 19 May 2008 19:53:49 -0700 (PDT) Received: from postoffice2.aconex.com (prod.aconex.com [203.89.192.138]) by cuda.sgi.com with ESMTP id vUEAV98zhg6rp0YW for ; Mon, 19 May 2008 19:53:49 -0700 (PDT) Received: from postoffice.aconex.com (localhost [127.0.0.1]) by postoffice2.aconex.com (Spam Firewall) with ESMTP id 47AA78AC06 for ; Tue, 20 May 2008 12:53:23 +1000 (EST) Received: from postoffice.aconex.com (postoffice.yarra.acx [192.168.3.1]) by postoffice2.aconex.com with ESMTP id BtqEsvJiRMld6f6G for ; Tue, 20 May 2008 12:53:23 +1000 (EST) Received: from [192.168.5.76] (unknown [203.89.192.141]) by postoffice.aconex.com (Postfix) with ESMTP id C355F92C0DE for ; Tue, 20 May 2008 12:53:41 +1000 (EST) X-ASG-Orig-Subj: kmchart updates Subject: kmchart updates From: Nathan Scott Reply-To: nscott@aconex.com To: pcp@oss.sgi.com Content-Type: text/plain Organization: Aconex Date: Tue, 20 May 2008 12:53:41 +1000 Message-Id: <1211252021.25294.453.camel@edge.scott.net.au> Mime-Version: 1.0 X-Mailer: Evolution 2.22.1 Content-Transfer-Encoding: 7bit X-Barracuda-Connect: prod.aconex.com[203.89.192.138] X-Barracuda-Start-Time: 1211252030 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.1, rules version 3.1.50865 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- X-archive-position: 1653 X-ecartis-version: Ecartis v1.0.0 Sender: pcp-bounce@oss.sgi.com Errors-to: pcp-bounce@oss.sgi.com X-original-sender: nscott@aconex.com Precedence: bulk X-list: pcp Changes committed to git://oss.sgi.com:8090/nathans/kmchart.git configure.in | 8 ++++++++ debian/control | 2 +- src/chart/GNUmakefile | 4 ++-- src/chart/kmchart.pro | 31 ------------------------------- src/chart/kmchart.pro.in | 31 +++++++++++++++++++++++++++++++ src/time/GNUmakefile | 4 ++-- src/time/kmtime.pro | 17 ----------------- src/time/kmtime.pro.in | 17 +++++++++++++++++ 8 files changed, 61 insertions(+), 53 deletions(-) commit 8e73cc34f423714d943cee82939fe78404cde775 Author: Nathan Scott Date: Tue Apr 22 12:50:25 2008 +1000 Fix debian build dependency for OpenGL headers. commit 1d51725b5c970c5686e5e5a84820523c9807dfeb Author: Nathan Scott Date: Mon Apr 21 08:03:47 2008 +1000 Generate the qmake project files so we can change release/debug level, and also conditionally include assistant in the CONFIG/QT lines for QT 4.4. qmake can apparently do this sort of thing as well, but the syntax is wierd and I'd rather have the flexibile and familiar gmake syntax to handle this sort of thing. Actual detection of QT version, PCP version, and setting of the debug/release level is yet to be done, but the groundwork is now laid to tackle that side of the problem. From nscott@aconex.com Tue May 20 18:08:56 2008 Received: with ECARTIS (v1.0.0; list pcp); Tue, 20 May 2008 18:09:00 -0700 (PDT) Received: from cuda.sgi.com ([192.48.176.15]) by oss.sgi.com (8.12.11.20060308/8.12.11/SuSE Linux 0.7) with ESMTP id m4L18tCx030027 for ; Tue, 20 May 2008 18:08:56 -0700 X-ASG-Debug-ID: 1211332181-01f603ab0000-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 610BC1B2F2D8 for ; Tue, 20 May 2008 18:09:41 -0700 (PDT) Received: from postoffice2.aconex.com (prod.aconex.com [203.89.192.138]) by cuda.sgi.com with ESMTP id y0qwGFZxiqk5CrIT for ; Tue, 20 May 2008 18:09:41 -0700 (PDT) Received: from postoffice.aconex.com (localhost [127.0.0.1]) by postoffice2.aconex.com (Spam Firewall) with ESMTP id 229EB98B8B for ; Wed, 21 May 2008 11:09:40 +1000 (EST) Received: from postoffice.aconex.com (postoffice.yarra.acx [192.168.3.1]) by postoffice2.aconex.com with ESMTP id mVRmvXWVyEKXEt5c for ; Wed, 21 May 2008 11:09:40 +1000 (EST) Received: from mail.aconex.com (castle.yarra.acx [192.168.3.3]) by postoffice.aconex.com (Postfix) with ESMTP id 13E8092C0DE for ; Wed, 21 May 2008 11:09:40 +1000 (EST) Received: from 192.168.3.1 (proxying for 220.239.214.222) (SquirrelMail authenticated user nscott) by mail.aconex.com with HTTP; Wed, 21 May 2008 11:09:40 +1000 (EST) Message-ID: <39841.192.168.3.1.1211332180.squirrel@mail.aconex.com> Date: Wed, 21 May 2008 11:09:40 +1000 (EST) X-ASG-Orig-Subj: pcp updates Subject: pcp updates From: nscott@aconex.com To: pcp@oss.sgi.com User-Agent: SquirrelMail/1.4.8-4.el4.centos MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal X-Barracuda-Connect: prod.aconex.com[203.89.192.138] X-Barracuda-Start-Time: 1211332185 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: -0.97 X-Barracuda-Spam-Status: No, SCORE=-0.97 using per-user scores of TAG_LEVEL=2.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=2.1 tests=BSF_RULE7568M, NO_REAL_NAME X-Barracuda-Spam-Report: Code version 3.1, rules version 3.1.50954 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- 0.55 NO_REAL_NAME From: does not include a real name 0.50 BSF_RULE7568M Custom Rule 7568M X-archive-position: 1654 X-ecartis-version: Ecartis v1.0.0 Sender: pcp-bounce@oss.sgi.com Errors-to: pcp-bounce@oss.sgi.com X-original-sender: nscott@aconex.com Precedence: bulk X-list: pcp Changes committed to git://oss.sgi.com:8090/nathans/pcp.git GNUmakefile | 2 configure.in | 20 + man/man1/pmlogextract.1 | 13 + src/autofsd-probe/autofsd-probe.c | 4 src/dbpmda/src/pmda.c | 4 src/include/buildrules | 2 src/include/impl.h | 1 src/include/platform_defs.h.in | 17 + src/libkmtime/src/client.c | 12 - src/libpcp_http/src/http_lib.c | 38 --- src/libpcp_trace/src/trace.c | 24 -- src/pmcd/src/agent.c | 7 src/pmcd/src/client.c | 3 src/pmcd/src/client.h | 6 src/pmcd/src/config.c | 30 -- src/pmcd/src/dofetch.c | 5 src/pmcd/src/dopdus.c | 2 src/pmcd/src/dostore.c | 2 src/pmcd/src/pmcd.c | 15 - src/pmcd/src/trace.c | 4 src/pmcd/src/util.c | 8 src/pmdas/apache/apache.c | 11 - src/pmdas/cisco/cisco.c | 33 --- src/pmdas/cisco/cisco.h | 2 src/pmdas/jstat/jstat.c | 14 - src/pmdas/jstat/jstat.h | 2 src/pmdas/linux/filesys.c | 6 src/pmdas/linux/infiniband.c | 10 src/pmdas/linux/ksym.c | 4 src/pmdas/linux/pmda.c | 17 - src/pmdas/linux/proc_cpuinfo.c | 7 src/pmdas/linux/proc_interrupts.c | 10 src/pmdas/linux/proc_net_dev.c | 14 - src/pmdas/linux/proc_partitions.c | 4 src/pmdas/linux/proc_pid.c | 12 - src/pmdas/linux/proc_runq.c | 12 - src/pmdas/linux/proc_scsi.c | 4 src/pmdas/linux/proc_slabinfo.c | 4 src/pmdas/linux/proc_stat.c | 25 -- src/pmdas/linux/proc_sys_fs.c | 4 src/pmdas/linux/swapdev.c | 4 src/pmdas/mailq/mailq.c | 9 src/pmdas/mounts/mounts.c | 19 - src/pmdas/pmcd/src/pmcd.c | 16 - src/pmdas/process/process.c | 11 - src/pmdas/roomtemp/roomtemp.c | 8 src/pmdas/sample/src/pmda.c | 16 - src/pmdas/sample/src/sample.c | 14 - src/pmdas/sendmail/sendmail.c | 17 - src/pmdas/shping/pmda.c | 14 - src/pmdas/shping/shping.c | 43 +--- src/pmdas/simple/simple.c | 12 - src/pmdas/trace/src/client.c | 17 - src/pmdas/trace/src/comms.c | 17 - src/pmdas/trace/src/data.c | 4 src/pmdas/trace/src/pmda.c | 6 src/pmdas/trace/src/trace.c | 21 -- src/pmdas/trivial/trivial.c | 2 src/pmdas/txmon/txmon.c | 10 src/pmdas/txmon/txrecord.c | 12 - src/pmdas/weblog/check_match.c | 4 src/pmdas/weblog/pmda.c | 20 - src/pmdas/weblog/sproc.c | 16 - src/pmdas/weblog/weblog.c | 20 - src/pmdas/weblog/weblog.h | 7 src/pmdumplog/pmdumplog.c | 13 - src/pmhostname/pmhostname.c | 8 src/pmlc/actions.c | 6 src/pmlc/pmlc.c | 11 - src/pmlc/util.c | 8 src/pmlock/pmlock.c | 10 src/pmlogextract/gram.y | 4 src/pmlogextract/lex.l | 2 src/pmlogextract/logger.h | 4 src/pmlogextract/logio.c | 2 src/pmlogextract/metriclist.c | 4 src/pmlogextract/pmlogextract.c | 387 ++++++++++++++++++++++---------------- src/pmlogger/callback.c | 6 src/pmlogger/check.c | 7 src/pmlogger/dopdu.c | 11 - src/pmlogger/fetch.c | 4 src/pmlogger/gram.y | 5 src/pmlogger/lex.l | 3 src/pmlogger/pmlogger.c | 13 - src/pmlogger/ports.c | 16 - src/pmlogger/preamble.c | 10 src/pmlogger/rewrite.c | 3 src/pmlogger/util.c | 3 src/pmlogreduce/pmlogreduce.c | 22 -- src/pmlogsummary/pmlogsummary.c | 1 src/pmns/pmnsdel.c | 8 src/pmns/pmnsmerge.c | 9 src/pmns/pmnsutil.c | 2 src/pmnscomp/pmnscomp.c | 6 src/pmpost/pmpost.c | 15 - src/pmproxy/client.c | 12 - src/pmproxy/pmproxy.c | 22 -- src/pmproxy/pmproxy.h | 6 src/pmstat/pmstat.c | 8 src/pmstore/pmstore.c | 7 src/pmtop/pmtop.c | 14 - src/pmtrace/pmtrace.c | 4 src/pmval/pmval.c | 10 src/telnet-probe/telnet-probe.c | 17 - 104 files changed, 476 insertions(+), 980 deletions(-) commit 9bd4532746bf167de1ad74835f535601639772f6 Author: Nathan Scott Date: Wed May 21 11:06:41 2008 +1000 Include file rationalisation as part of porting to MinGW. commit e9d7f5ac2aaab9b097349e8a2647a531c4fc392d Author: Nathan Scott Date: Wed May 21 10:53:52 2008 +1000 Add a few more platform specific header/function checks for MinGW builds. commit 4b338e383a0bc54ff37b54cd9971a9ba7178e1b0 Author: Nathan Scott Date: Wed May 21 10:47:02 2008 +1000 Provide the MSYS paths in the pcp_platform_paths variable. Add an IS_LINUX configure/platform_defs.h macro, so we can key off that in the same way we do all the other platforms. For Linux, isnan is a type-independent macro, which will provide both isnand and isnanf depending on its argument. Use it as such - previously we weren't correctly finding isnand, and ended up using the crippled version in libpcp (which ends up just mapping to isnanf). commit 582c4d04309e47cda94bfd14a3f0256f5a76b452 Author: Ken McDonell Date: Wed May 21 09:44:49 2008 +1000 Improve pmlogextract behaviour in the presence of metric descriptors which have changed semantics part way through the archive (e.g. size changes from 32 to 64 bit, type changes from counter to instantaneous, etc). Also added a desperate mode (-d option) to pmlogextract to allow the partially constructed output archive to be kept for further debugging. In addition, this includes some general code cleanup in pmlogextract removing dead code and improving error handling. commit 22ff754dcca32e315709317db8a6f97bad52e81e Author: Ken McDonell Date: Tue May 20 17:48:24 2008 +1000 Update configure ps variant check for Fedora9 userspace. commit 13516857f00df1d9a24b50b7b6b6889b0f9fcfb9 Author: Nathan Scott Date: Tue Apr 22 17:38:44 2008 +1000 Add "distclean" make rule, an alias for "realclean", used in other projects. From nscott@aconex.com Tue May 20 21:33:29 2008 Received: with ECARTIS (v1.0.0; list pcp); Tue, 20 May 2008 21:33:38 -0700 (PDT) Received: from cuda.sgi.com ([192.48.176.15]) by oss.sgi.com (8.12.11.20060308/8.12.11/SuSE Linux 0.7) with ESMTP id m4L4XTkJ021022 for ; Tue, 20 May 2008 21:33:29 -0700 X-ASG-Debug-ID: 1211344457-7c8e02e50000-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 EBFB21B2F97A for ; Tue, 20 May 2008 21:34:17 -0700 (PDT) Received: from postoffice2.aconex.com (prod.aconex.com [203.89.192.138]) by cuda.sgi.com with ESMTP id 3r9JBnFVybJMZ1ZA for ; Tue, 20 May 2008 21:34:17 -0700 (PDT) Received: from postoffice.aconex.com (localhost [127.0.0.1]) by postoffice2.aconex.com (Spam Firewall) with ESMTP id 20B7C9AC08 for ; Wed, 21 May 2008 14:34:13 +1000 (EST) Received: from postoffice.aconex.com (postoffice.yarra.acx [192.168.3.1]) by postoffice2.aconex.com with ESMTP id wqqWJ6r7FQR0G7Yc for ; Wed, 21 May 2008 14:34:13 +1000 (EST) Received: from mail.aconex.com (castle.yarra.acx [192.168.3.3]) by postoffice.aconex.com (Postfix) with ESMTP id 0F9BC92C0DE for ; Wed, 21 May 2008 14:34:13 +1000 (EST) Received: from 192.168.3.1 (proxying for 220.239.214.222) (SquirrelMail authenticated user nscott) by mail.aconex.com with HTTP; Wed, 21 May 2008 14:34:13 +1000 (EST) Message-ID: <50651.192.168.3.1.1211344453.squirrel@mail.aconex.com> Date: Wed, 21 May 2008 14:34:13 +1000 (EST) X-ASG-Orig-Subj: pcp updates Subject: pcp updates From: nscott@aconex.com To: pcp@oss.sgi.com User-Agent: SquirrelMail/1.4.8-4.el4.centos MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal X-Barracuda-Connect: prod.aconex.com[203.89.192.138] X-Barracuda-Start-Time: 1211344458 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: -0.97 X-Barracuda-Spam-Status: No, SCORE=-0.97 using per-user scores of TAG_LEVEL=2.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=2.1 tests=BSF_RULE7568M, NO_REAL_NAME X-Barracuda-Spam-Report: Code version 3.1, rules version 3.1.50968 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- 0.55 NO_REAL_NAME From: does not include a real name 0.50 BSF_RULE7568M Custom Rule 7568M X-archive-position: 1655 X-ecartis-version: Ecartis v1.0.0 Sender: pcp-bounce@oss.sgi.com Errors-to: pcp-bounce@oss.sgi.com X-original-sender: nscott@aconex.com Precedence: bulk X-list: pcp Changes committed to git://oss.sgi.com:8090/nathans/pcp.git configure.in | 4 ++-- src/include/impl.h | 6 +++++- src/include/platform_defs.h.in | 8 +++++++- src/libpcp_http/src/http_lib.c | 4 ++-- src/pmcd/src/config.c | 3 +++ src/pmcd/src/pmcd.c | 1 + src/pmdas/cisco/cisco.c | 20 ++++++++++++-------- src/pmdas/jstat/jstat.c | 5 +++++ src/pmdas/pmcd/src/pmcd.c | 5 ++++- src/pmdas/shping/pmda.c | 1 + src/pmdas/shping/shping.c | 7 ++++--- src/pmdas/weblog/check_match.c | 2 +- src/pmdas/weblog/pmda.c | 2 +- src/pmdumptext/GNUmakefile | 8 +------- src/pmhostname/pmhostname.c | 5 ++--- src/pmie/src/pragmatics.c | 9 +-------- src/pmie/src/show.c | 7 +------ src/pmpost/pmpost.c | 2 +- src/pmproxy/pmproxy.c | 1 + src/pmstat/pmstat.c | 2 +- src/pmval/pmval.c | 2 +- 21 files changed, 57 insertions(+), 47 deletions(-) commit 1b0030c044636415c3d15a443034680c5c7c658b Author: Nathan Scott Date: Wed May 21 14:32:58 2008 +1000 Fix build fallout after MinGW changes on MacOSX as well. commit 1338b91bf474207e05088d1c7bbc0fe455975cda Author: Nathan Scott Date: Wed May 21 14:11:46 2008 +1000 Fix up missed pieces and other-platform build fixes after header rejigging. From markgw@sgi.com Wed May 21 00:57:40 2008 Received: with ECARTIS (v1.0.0; list pcp); Wed, 21 May 2008 00:57:44 -0700 (PDT) Received: from larry.melbourne.sgi.com (larry.melbourne.sgi.com [134.14.52.130]) by oss.sgi.com (8.12.11.20060308/8.12.11/SuSE Linux 0.7) with SMTP id m4L7vcC2028545 for ; Wed, 21 May 2008 00:57:39 -0700 Received: from [134.14.55.13] (dhcp13.melbourne.sgi.com [134.14.55.13]) by larry.melbourne.sgi.com (950413.SGI.8.6.12/950213.SGI.AUTOCF) via ESMTP id RAA03005; Wed, 21 May 2008 17:58:24 +1000 Message-ID: <4833D618.3080107@sgi.com> Date: Wed, 21 May 2008 17:58:16 +1000 From: Mark Goodwin Reply-To: markgw@sgi.com Organization: SGI Engineering User-Agent: Thunderbird 1.5.0.14 (Windows/20071210) MIME-Version: 1.0 To: nscott@aconex.com CC: pcp@oss.sgi.com Subject: Re: pmnscomp and PMNS checksums References: <1211180657.25294.446.camel@edge.scott.net.au> In-Reply-To: <1211180657.25294.446.camel@edge.scott.net.au> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-archive-position: 1656 X-ecartis-version: Ecartis v1.0.0 Sender: pcp-bounce@oss.sgi.com Errors-to: pcp-bounce@oss.sgi.com X-original-sender: markgw@sgi.com Precedence: bulk X-list: pcp Nathan Scott wrote: > Hi, > > I came across an oddity in pmnscomp.c (the binary PMNS > compiler) - the -v option contains conditional code on > the BUILDTOOL macro, which conditional makes version 2 > available. This is not enabled anywhere, probably was > on IRIX. Version 2 looks to be similar to version 1, > except has added a checksum. > > Anyone know what the history is here? Why aren't we > enabling version 2 everywhere? don't know. Irrespective, we should nuke compiling the pmns and just deal with ascii. The binary format was introduced eons ago for performance reasons that are no longer relevant on modern h/w. Cheers From makc@melbourne.sgi.com Wed May 21 01:23:17 2008 Received: with ECARTIS (v1.0.0; list pcp); Wed, 21 May 2008 01:23:21 -0700 (PDT) Received: from larry.melbourne.sgi.com (larry.melbourne.sgi.com [134.14.52.130]) by oss.sgi.com (8.12.11.20060308/8.12.11/SuSE Linux 0.7) with SMTP id m4L8NEch003426 for ; Wed, 21 May 2008 01:23:15 -0700 Received: from kuku.melbourne.sgi.com (kuku.melbourne.sgi.com [134.14.55.163]) by larry.melbourne.sgi.com (950413.SGI.8.6.12/950213.SGI.AUTOCF) via ESMTP id SAA03822; Wed, 21 May 2008 18:23:58 +1000 Received: from kuku.melbourne.sgi.com (localhost [127.0.0.1]) by kuku.melbourne.sgi.com (SGI-8.12.11.20060308/8.12.11) with ESMTP id m4L8Nvir332373; Wed, 21 May 2008 18:23:58 +1000 (EST) Received: (from makc@localhost) by kuku.melbourne.sgi.com (SGI-8.12.11.20060308/8.12.11/Submit) id m4L8NqfE332176; Wed, 21 May 2008 18:23:52 +1000 (EST) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <18483.56344.188777.323713@kuku.melbourne.sgi.com> Date: Wed, 21 May 2008 18:23:52 +1000 From: Max Matveev To: markgw@sgi.com Cc: nscott@aconex.com, pcp@oss.sgi.com Subject: Re: pmnscomp and PMNS checksums In-Reply-To: <4833D618.3080107@sgi.com> References: <1211180657.25294.446.camel@edge.scott.net.au> <4833D618.3080107@sgi.com> X-Mailer: VM 7.07 under 21.4 (patch 15) "Security Through Obscurity" XEmacs Lucid X-archive-position: 1657 X-ecartis-version: Ecartis v1.0.0 Sender: pcp-bounce@oss.sgi.com Errors-to: pcp-bounce@oss.sgi.com X-original-sender: makc@sgi.com Precedence: bulk X-list: pcp On Wed, 21 May 2008 17:58:16 +1000, Mark Goodwin wrote: markgw> Nathan Scott wrote: >> Hi, >> >> I came across an oddity in pmnscomp.c (the binary PMNS >> compiler) - the -v option contains conditional code on >> the BUILDTOOL macro, which conditional makes version 2 >> available. This is not enabled anywhere, probably was >> on IRIX. Version 2 looks to be similar to version 1, >> except has added a checksum. >> >> Anyone know what the history is here? Why aren't we >> enabling version 2 everywhere? Wasn't it something Mr. X Moore did as his first project? markgw> don't know. markgw> Irrespective, we should nuke compiling the pmns and just markgw> deal with ascii. The binary format was introduced eons ago markgw> for performance reasons that are no longer relevant on markgw> modern h/w. Brave assertion. Did anyone ever tried to measure how long pmcd takes to load pmns? I didn't. Plus, compiling is used as validation step to make sure pmns we've got makes any sense at all. If anything, this needs to be preserved. max From nscott@aconex.com Wed May 21 02:56:00 2008 Received: with ECARTIS (v1.0.0; list pcp); Wed, 21 May 2008 02:56:04 -0700 (PDT) Received: from cuda.sgi.com (cuda2.sgi.com [192.48.168.29]) by oss.sgi.com (8.12.11.20060308/8.12.11/SuSE Linux 0.7) with ESMTP id m4L9u0ZN020363 for ; Wed, 21 May 2008 02:56:00 -0700 X-ASG-Debug-ID: 1211363809-68e003a60000-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 D61A6199357 for ; Wed, 21 May 2008 02:56:49 -0700 (PDT) Received: from postoffice2.aconex.com (prod.aconex.com [203.89.192.138]) by cuda.sgi.com with ESMTP id foj5o7SS2O7hqUC8 for ; Wed, 21 May 2008 02:56:49 -0700 (PDT) Received: from postoffice.aconex.com (localhost [127.0.0.1]) by postoffice2.aconex.com (Spam Firewall) with ESMTP id 8E5CDA32F4; Wed, 21 May 2008 19:56:47 +1000 (EST) Received: from postoffice.aconex.com (postoffice.yarra.acx [192.168.3.1]) by postoffice2.aconex.com with ESMTP id nIegfbykN0MQV86I; Wed, 21 May 2008 19:56:47 +1000 (EST) Received: from mail.aconex.com (castle.yarra.acx [192.168.3.3]) by postoffice.aconex.com (Postfix) with ESMTP id 7EC6492C0DE; Wed, 21 May 2008 19:56:47 +1000 (EST) Received: from 192.168.3.1 (proxying for 220.239.214.222) (SquirrelMail authenticated user nscott) by mail.aconex.com with HTTP; Wed, 21 May 2008 19:56:47 +1000 (EST) Message-ID: <41817.192.168.3.1.1211363807.squirrel@mail.aconex.com> In-Reply-To: <18483.56344.188777.323713@kuku.melbourne.sgi.com> References: <1211180657.25294.446.camel@edge.scott.net.au> <4833D618.3080107@sgi.com> <18483.56344.188777.323713@kuku.melbourne.sgi.com> Date: Wed, 21 May 2008 19:56:47 +1000 (EST) X-ASG-Orig-Subj: Re: pmnscomp and PMNS checksums Subject: Re: pmnscomp and PMNS checksums From: nscott@aconex.com To: "Max Matveev" Cc: markgw@sgi.com, dxm@sgi.com, pcp@oss.sgi.com, jamespeach@mac.com User-Agent: SquirrelMail/1.4.8-4.el4.centos MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal X-Barracuda-Connect: prod.aconex.com[203.89.192.138] X-Barracuda-Start-Time: 1211363810 X-Barracuda-Bayes: INNOCENT GLOBAL 0.0001 1.0000 -2.0207 X-Barracuda-Virus-Scanned: by cuda.sgi.com at sgi.com X-Barracuda-Spam-Score: -1.47 X-Barracuda-Spam-Status: No, SCORE=-1.47 using per-user scores of TAG_LEVEL=2.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=2.1 tests=NO_REAL_NAME X-Barracuda-Spam-Report: Code version 3.1, rules version 3.1.50990 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- 0.55 NO_REAL_NAME From: does not include a real name X-archive-position: 1658 X-ecartis-version: Ecartis v1.0.0 Sender: pcp-bounce@oss.sgi.com Errors-to: pcp-bounce@oss.sgi.com X-original-sender: nscott@aconex.com Precedence: bulk X-list: pcp > On Wed, 21 May 2008 17:58:16 +1000, Mark Goodwin wrote: > > markgw> Nathan Scott wrote: > >> Hi, > >> > >> I came across an oddity in pmnscomp.c (the binary PMNS > >> compiler) - the -v option contains conditional code on > >> the BUILDTOOL macro, which conditional makes version 2 > >> available. This is not enabled anywhere, probably was > >> on IRIX. Version 2 looks to be similar to version 1, > >> except has added a checksum. > >> > >> Anyone know what the history is here? Why aren't we > >> enabling version 2 everywhere? > Wasn't it something Mr. X Moore did as his first project? CC'd - Daniel? > markgw> don't know. > > markgw> Irrespective, we should nuke compiling the pmns and just > markgw> deal with ascii. The binary format was introduced eons ago > markgw> for performance reasons that are no longer relevant on > markgw> modern h/w. > Brave assertion. Did anyone ever tried to measure how long pmcd takes > to load pmns? I didn't. > > Plus, compiling is used as validation step to make sure pmns we've got > makes any sense at all. If anything, this needs to be preserved. I think (maybe James can confirm?) that on Mac OS X, unless the developer tools are installed (not the default IIRC), then there's no cpp binary there. As an initial step, we can safely remove the BUILDTOOL ifdefs, to at least make v2 available, then as a secondary step we can consider switching to v2 by default... it looks like libpcp has known about v2 for a very long time, so there should be no compatibility issues there AFAICT. cheers. -- Nathan From nscott@aconex.com Wed May 21 04:10:34 2008 Received: with ECARTIS (v1.0.0; list pcp); Wed, 21 May 2008 04:10:37 -0700 (PDT) Received: from cuda.sgi.com ([192.48.176.15]) by oss.sgi.com (8.12.11.20060308/8.12.11/SuSE Linux 0.7) with ESMTP id m4LBAX5w025350 for ; Wed, 21 May 2008 04:10:34 -0700 X-ASG-Debug-ID: 1211368281-351301490000-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 610D61B9687A for ; Wed, 21 May 2008 04:11:21 -0700 (PDT) Received: from postoffice2.aconex.com (prod.aconex.com [203.89.192.138]) by cuda.sgi.com with ESMTP id N4XsDwZnCrElD3xD for ; Wed, 21 May 2008 04:11:21 -0700 (PDT) Received: from postoffice.aconex.com (localhost [127.0.0.1]) by postoffice2.aconex.com (Spam Firewall) with ESMTP id 509A8A3CF0 for ; Wed, 21 May 2008 21:11:20 +1000 (EST) Received: from postoffice.aconex.com (postoffice.yarra.acx [192.168.3.1]) by postoffice2.aconex.com with ESMTP id 9xhfev6w4WSLWqC2 for ; Wed, 21 May 2008 21:11:20 +1000 (EST) Received: from mail.aconex.com (castle.yarra.acx [192.168.3.3]) by postoffice.aconex.com (Postfix) with ESMTP id 351D892C0DE for ; Wed, 21 May 2008 21:11:20 +1000 (EST) Received: from 192.168.3.1 (proxying for 220.239.214.222) (SquirrelMail authenticated user nscott) by mail.aconex.com with HTTP; Wed, 21 May 2008 21:11:20 +1000 (EST) Message-ID: <43808.192.168.3.1.1211368280.squirrel@mail.aconex.com> Date: Wed, 21 May 2008 21:11:20 +1000 (EST) X-ASG-Orig-Subj: pcpqa updates Subject: pcpqa updates From: nscott@aconex.com To: pcp@oss.sgi.com User-Agent: SquirrelMail/1.4.8-4.el4.centos MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal X-Barracuda-Connect: prod.aconex.com[203.89.192.138] X-Barracuda-Start-Time: 1211368283 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: -0.97 X-Barracuda-Spam-Status: No, SCORE=-0.97 using per-user scores of TAG_LEVEL=2.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=2.1 tests=BSF_RULE7568M, NO_REAL_NAME X-Barracuda-Spam-Report: Code version 3.1, rules version 3.1.50994 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- 0.55 NO_REAL_NAME From: does not include a real name 0.50 BSF_RULE7568M Custom Rule 7568M X-archive-position: 1659 X-ecartis-version: Ecartis v1.0.0 Sender: pcp-bounce@oss.sgi.com Errors-to: pcp-bounce@oss.sgi.com X-original-sender: nscott@aconex.com Precedence: bulk X-list: pcp Changes committed to git://oss.sgi.com:8090/nathans/pcpqa.git 119 | 1 168 | 29 168.out | 34 337 | 59 + 337.out | 1968 +++++++++++++++++++++++++++++++++++++++++++++++++ 430 | 2 530 | 1 group | 7 owner | 1 src-oss/GNUmakefile | 3 src-oss/mirage-1.0 |binary src-oss/mirage-1.index |binary src-oss/mirage-1.meta |binary src-oss/mirage-2.0 |binary src-oss/mirage-2.index |binary src-oss/mirage-2.meta |binary src-oss/mkmirage | 35 17 files changed, 2126 insertions(+), 14 deletions(-) commit 44bd0be1994f431145bfbd4693a57ea09604164a Author: Ken McDonell Date: Wed May 21 21:09:46 2008 +1000 QA testing for recent pmlogextract changes to cope with logs containing different semantics for the same metric. From nscott@aconex.com Wed May 21 17:07:27 2008 Received: with ECARTIS (v1.0.0; list pcp); Wed, 21 May 2008 17:07:30 -0700 (PDT) Received: from cuda.sgi.com ([192.48.176.15]) by oss.sgi.com (8.12.11.20060308/8.12.11/SuSE Linux 0.7) with ESMTP id m4M07Qe8019204 for ; Wed, 21 May 2008 17:07:27 -0700 X-ASG-Debug-ID: 1211414894-3671024f0000-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 95D0117108F9 for ; Wed, 21 May 2008 17:08:15 -0700 (PDT) Received: from postoffice2.aconex.com (prod.aconex.com [203.89.192.138]) by cuda.sgi.com with ESMTP id 4TS42Ah932ZQdUEE for ; Wed, 21 May 2008 17:08:15 -0700 (PDT) Received: from postoffice.aconex.com (localhost [127.0.0.1]) by postoffice2.aconex.com (Spam Firewall) with ESMTP id 07B1FA6107; Thu, 22 May 2008 10:08:10 +1000 (EST) Received: from postoffice.aconex.com (postoffice.yarra.acx [192.168.3.1]) by postoffice2.aconex.com with ESMTP id eM6JKjz3z11erOqk; Thu, 22 May 2008 10:08:10 +1000 (EST) Received: from [192.168.5.76] (unknown [203.89.192.141]) by postoffice.aconex.com (Postfix) with ESMTP id E498B92C0DE; Thu, 22 May 2008 10:08:10 +1000 (EST) X-ASG-Orig-Subj: Re: pmnscomp and PMNS checksums Subject: Re: pmnscomp and PMNS checksums From: Nathan Scott Reply-To: nscott@aconex.com To: Daniel X Moore Cc: Max Matveev , markgw@sgi.com, pcp@oss.sgi.com, jamespeach@mac.com In-Reply-To: <48344281.4070206@sgi.com> References: <1211180657.25294.446.camel@edge.scott.net.au> <4833D618.3080107@sgi.com> <18483.56344.188777.323713@kuku.melbourne.sgi.com> <41817.192.168.3.1.1211363807.squirrel@mail.aconex.com> <48344281.4070206@sgi.com> Content-Type: text/plain Organization: Aconex Date: Thu, 22 May 2008 10:08:10 +1000 Message-Id: <1211414890.25294.476.camel@edge.scott.net.au> Mime-Version: 1.0 X-Mailer: Evolution 2.22.1 Content-Transfer-Encoding: 7bit X-Barracuda-Connect: prod.aconex.com[203.89.192.138] X-Barracuda-Start-Time: 1211414896 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.1, rules version 3.1.51045 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- X-archive-position: 1660 X-ecartis-version: Ecartis v1.0.0 Sender: pcp-bounce@oss.sgi.com Errors-to: pcp-bounce@oss.sgi.com X-original-sender: nscott@aconex.com Precedence: bulk X-list: pcp On Thu, 2008-05-22 at 01:40 +1000, Daniel X Moore wrote: > nscott@aconex.com wrote: > >> >> I came across an oddity in pmnscomp.c (the binary PMNS > >> >> compiler) - the -v option contains conditional code on > >> >> the BUILDTOOL macro, which conditional makes version 2 > >> >> available. This is not enabled anywhere, probably was > >> >> on IRIX. Version 2 looks to be similar to version 1, > >> >> except has added a checksum. > >> >> > >> >> Anyone know what the history is here? Why aren't we > >> >> enabling version 2 everywhere? > >> Wasn't it something Mr. X Moore did as his first project? > > > > CC'd - Daniel? > > Sheesh - talk about stretching my memory! > > IIRC, I wrote a modified version of the archive format... we either > didn't check it in or didn't enable it because despite being more > compact, it took a bit more CPU and Ken didn't want to make the trade-off. > Hmm, did you add a checksum on the binary PMNS at the same time as archives? (this is pmnscomp.c & libpcp/src/pmns.c that I'm banging on about here) ... not sure a PMNS checksum would add much CPU overhead, as its changed relatively infrequently. I hate to ask, after the (ongoing) pain the last such request seems to have invoked, but can someone "over there" do a p_rlog on pmnscomp.c (and/or src/libpcp/src/pmns.c) and see when the v2 PMNS checksum code was added (and maybe fwd on the checkin message?). thanks! -- Nathan From nscott@aconex.com Wed May 21 18:16:30 2008 Received: with ECARTIS (v1.0.0; list pcp); Wed, 21 May 2008 18:16:33 -0700 (PDT) Received: from cuda.sgi.com ([192.48.176.15]) by oss.sgi.com (8.12.11.20060308/8.12.11/SuSE Linux 0.7) with ESMTP id m4M1GTL3024322 for ; Wed, 21 May 2008 18:16:30 -0700 X-ASG-Debug-ID: 1211419038-706001e80000-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 C20B41711041 for ; Wed, 21 May 2008 18:17:19 -0700 (PDT) Received: from postoffice2.aconex.com (prod.aconex.com [203.89.192.138]) by cuda.sgi.com with ESMTP id o08UlVesyg88cwLM for ; Wed, 21 May 2008 18:17:19 -0700 (PDT) Received: from postoffice.aconex.com (localhost [127.0.0.1]) by postoffice2.aconex.com (Spam Firewall) with ESMTP id 52B8FA6FAC for ; Thu, 22 May 2008 11:17:14 +1000 (EST) Received: from postoffice.aconex.com (postoffice.yarra.acx [192.168.3.1]) by postoffice2.aconex.com with ESMTP id pRzHUyEiEZ3zVOfg for ; Thu, 22 May 2008 11:17:14 +1000 (EST) Received: from [192.168.5.76] (unknown [203.89.192.141]) by postoffice.aconex.com (Postfix) with ESMTP id 3F50692C0DF for ; Thu, 22 May 2008 11:17:14 +1000 (EST) X-ASG-Orig-Subj: pcp updates Subject: pcp updates From: Nathan Scott Reply-To: nscott@aconex.com To: pcp@oss.sgi.com Content-Type: text/plain Organization: Aconex Date: Thu, 22 May 2008 11:17:13 +1000 Message-Id: <1211419033.25294.482.camel@edge.scott.net.au> Mime-Version: 1.0 X-Mailer: Evolution 2.22.1 Content-Transfer-Encoding: 7bit X-Barracuda-Connect: prod.aconex.com[203.89.192.138] X-Barracuda-Start-Time: 1211419039 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.1, rules version 3.1.51049 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- X-archive-position: 1661 X-ecartis-version: Ecartis v1.0.0 Sender: pcp-bounce@oss.sgi.com Errors-to: pcp-bounce@oss.sgi.com X-original-sender: nscott@aconex.com Precedence: bulk X-list: pcp Changes committed to git://oss.sgi.com:8090/nathans/pcp.git src/pmlogextract/pmlogextract.c | 14 +------------- src/pmns/pmnsmerge.c | 11 ++--------- src/pmnscomp/pmnscomp.c | 7 ------- 3 files changed, 3 insertions(+), 29 deletions(-) commit 9ec691d30143291791c874ce36282f35b26ea8b8 Author: Nathan Scott Date: Thu May 22 11:00:54 2008 +1000 Remove BUILDTOOL macro, pmnscomp can create checksummed binary PMNS now. commit 9959c1c9ca36d23ee1bd45c8c2c6f87be44d5bf4 Author: Ken McDonell Date: Thu May 22 10:51:10 2008 +1000 Fix up a merge botch - remove duplicated chunk, reinstate dropped line. From makc@melbourne.sgi.com Wed May 21 20:02:37 2008 Received: with ECARTIS (v1.0.0; list pcp); Wed, 21 May 2008 20:02:44 -0700 (PDT) Received: from larry.melbourne.sgi.com (larry.melbourne.sgi.com [134.14.52.130]) by oss.sgi.com (8.12.11.20060308/8.12.11/SuSE Linux 0.7) with SMTP id m4M32YXm032085 for ; Wed, 21 May 2008 20:02:35 -0700 Received: from kuku.melbourne.sgi.com (kuku.melbourne.sgi.com [134.14.55.163]) by larry.melbourne.sgi.com (950413.SGI.8.6.12/950213.SGI.AUTOCF) via ESMTP id NAA27603; Thu, 22 May 2008 13:03:18 +1000 Received: from kuku.melbourne.sgi.com (localhost [127.0.0.1]) by kuku.melbourne.sgi.com (SGI-8.12.11.20060308/8.12.11) with ESMTP id m4M33ISn334509; Thu, 22 May 2008 13:03:18 +1000 (EST) Received: (from makc@localhost) by kuku.melbourne.sgi.com (SGI-8.12.11.20060308/8.12.11/Submit) id m4M33F5f334436; Thu, 22 May 2008 13:03:15 +1000 (EST) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <18484.57971.318562.414158@kuku.melbourne.sgi.com> Date: Thu, 22 May 2008 13:03:15 +1000 From: Max Matveev To: nscott@aconex.com Cc: markgw@sgi.com, pcp@oss.sgi.com Subject: Re: pmnscomp and PMNS checksums In-Reply-To: <1211414890.25294.476.camel@edge.scott.net.au> References: <1211180657.25294.446.camel@edge.scott.net.au> <4833D618.3080107@sgi.com> <18483.56344.188777.323713@kuku.melbourne.sgi.com> <41817.192.168.3.1.1211363807.squirrel@mail.aconex.com> <48344281.4070206@sgi.com> <1211414890.25294.476.camel@edge.scott.net.au> X-Mailer: VM 7.07 under 21.4 (patch 15) "Security Through Obscurity" XEmacs Lucid X-archive-position: 1662 X-ecartis-version: Ecartis v1.0.0 Sender: pcp-bounce@oss.sgi.com Errors-to: pcp-bounce@oss.sgi.com X-original-sender: makc@sgi.com Precedence: bulk X-list: pcp On Thu, 22 May 2008 10:08:10 +1000, Nathan Scott wrote: nscott> I hate to ask, after the (ongoing) pain the last such request nscott> seems to have invoked, but can someone "over there" do a p_rlog nscott> on pmnscomp.c (and/or src/libpcp/src/pmns.c) and see when the nscott> v2 PMNS checksum code was added (and maybe fwd on the checkin nscott> message?). it was there from the very beginning of the history - pmnscomp.c 1.1 in the pre-baobab trees has this code. And that goes back to revision 1.1 date: 1997/03/21 05:03:01; author: markgw; state: Exp; Performance Co-Pilot in IRIX: pcp_eoe max From markgw@sgi.com Wed May 21 21:16:39 2008 Received: with ECARTIS (v1.0.0; list pcp); Wed, 21 May 2008 21:16:53 -0700 (PDT) Received: from larry.melbourne.sgi.com (larry.melbourne.sgi.com [134.14.52.130]) by oss.sgi.com (8.12.11.20060308/8.12.11/SuSE Linux 0.7) with SMTP id m4M4Ga8k008634 for ; Wed, 21 May 2008 21:16:37 -0700 Received: from [134.14.55.13] (dhcp13.melbourne.sgi.com [134.14.55.13]) by larry.melbourne.sgi.com (950413.SGI.8.6.12/950213.SGI.AUTOCF) via ESMTP id OAA29078; Thu, 22 May 2008 14:17:19 +1000 Message-ID: <4834F3C5.3040100@sgi.com> Date: Thu, 22 May 2008 14:17:09 +1000 From: Mark Goodwin Reply-To: markgw@sgi.com Organization: SGI Engineering User-Agent: Thunderbird 1.5.0.14 (Windows/20071210) MIME-Version: 1.0 To: Max Matveev CC: nscott@aconex.com, pcp@oss.sgi.com Subject: Re: pmnscomp and PMNS checksums References: <1211180657.25294.446.camel@edge.scott.net.au> <4833D618.3080107@sgi.com> <18483.56344.188777.323713@kuku.melbourne.sgi.com> <41817.192.168.3.1.1211363807.squirrel@mail.aconex.com> <48344281.4070206@sgi.com> <1211414890.25294.476.camel@edge.scott.net.au> <18484.57971.318562.414158@kuku.melbourne.sgi.com> In-Reply-To: <18484.57971.318562.414158@kuku.melbourne.sgi.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-archive-position: 1663 X-ecartis-version: Ecartis v1.0.0 Sender: pcp-bounce@oss.sgi.com Errors-to: pcp-bounce@oss.sgi.com X-original-sender: markgw@sgi.com Precedence: bulk X-list: pcp Max Matveev wrote: > On Thu, 22 May 2008 10:08:10 +1000, Nathan Scott wrote: > > nscott> I hate to ask, after the (ongoing) pain the last such request > nscott> seems to have invoked, but can someone "over there" do a p_rlog > nscott> on pmnscomp.c (and/or src/libpcp/src/pmns.c) and see when the > nscott> v2 PMNS checksum code was added (and maybe fwd on the checkin > nscott> message?). > it was there from the very beginning of the history - pmnscomp.c 1.1 > in the pre-baobab trees has this code. And that goes back to > > revision 1.1 > date: 1997/03/21 05:03:01; author: markgw; state: Exp; > Performance Co-Pilot in IRIX: pcp_eoe > > max nah, it goes further back than that. We moved lots of stuff (effectively what is now pcp-open) from a separate ism into pcp_eoe in IRIX in 1997, at which point the revision history restarted. I think Ken was probably the original author .. Cheers -- Mark Goodwin markgw@sgi.com Engineering Manager for XFS and PCP Phone: +61-3-99631937 SGI Australian Software Group Cell: +61-4-18969583 ------------------------------------------------------------- From nscott@aconex.com Sun May 25 16:43:20 2008 Received: with ECARTIS (v1.0.0; list pcp); Sun, 25 May 2008 16:43:23 -0700 (PDT) Received: from cuda.sgi.com (cuda2.sgi.com [192.48.168.29]) by oss.sgi.com (8.12.11.20060308/8.12.11/SuSE Linux 0.7) with ESMTP id m4PNhJTj018284 for ; Sun, 25 May 2008 16:43:20 -0700 X-ASG-Debug-ID: 1211759049-7e1002890000-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 0D3EA1B0DEF for ; Sun, 25 May 2008 16:44:10 -0700 (PDT) Received: from postoffice2.aconex.com (prod.aconex.com [203.89.192.138]) by cuda.sgi.com with ESMTP id xVxHduERCdtaU5MS for ; Sun, 25 May 2008 16:44:10 -0700 (PDT) Received: from postoffice.aconex.com (localhost [127.0.0.1]) by postoffice2.aconex.com (Spam Firewall) with ESMTP id 75DBEC6D69 for ; Mon, 26 May 2008 09:44:07 +1000 (EST) Received: from postoffice.aconex.com (postoffice.yarra.acx [192.168.3.1]) by postoffice2.aconex.com with ESMTP id sxRP7NtEoEQHoWBm for ; Mon, 26 May 2008 09:44:07 +1000 (EST) Received: from [192.168.5.76] (unknown [203.89.192.141]) by postoffice.aconex.com (Postfix) with ESMTP id 5801B92C09F for ; Mon, 26 May 2008 09:44:07 +1000 (EST) X-ASG-Orig-Subj: kmchart updates Subject: kmchart updates From: Nathan Scott Reply-To: nscott@aconex.com To: pcp@oss.sgi.com Content-Type: text/plain Organization: Aconex Date: Mon, 26 May 2008 09:44:06 +1000 Message-Id: <1211759047.25294.544.camel@edge.scott.net.au> Mime-Version: 1.0 X-Mailer: Evolution 2.22.1 Content-Transfer-Encoding: 7bit X-Barracuda-Connect: prod.aconex.com[203.89.192.138] X-Barracuda-Start-Time: 1211759051 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.1, rules version 3.1.51419 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- 0.50 BSF_RULE7568M Custom Rule 7568M X-archive-position: 1664 X-ecartis-version: Ecartis v1.0.0 Sender: pcp-bounce@oss.sgi.com Errors-to: pcp-bounce@oss.sgi.com X-original-sender: nscott@aconex.com Precedence: bulk X-list: pcp Changes committed to git://oss.sgi.com:8090/nathans/kmchart.git src/chart/GNUmakefile | 7 src/chart/aboutdialog.ui | 7 src/chart/chart.cpp | 95 ++++- src/chart/chart.h | 33 + src/chart/chartdialog.cpp | 4 src/chart/exportdialog.cpp | 10 src/chart/gadget.cpp | 83 ++++ src/chart/gadget.h | 64 +++ src/chart/groupcontrol.cpp | 592 +++++++++++++++++++++++++++++++++++ src/chart/groupcontrol.h | 102 ++++++ src/chart/kmchart.cpp | 198 +++++------ src/chart/kmchart.h | 18 - src/chart/kmchart.pro.in | 37 +- src/chart/kmchart.ui | 21 + src/chart/main.cpp | 43 +- src/chart/main.h | 6 src/chart/recorddialog.cpp | 86 +---- src/chart/recorddialog.h | 5 src/chart/recorddialog.ui | 6 src/chart/samplesdialog.cpp | 102 ++++++ src/chart/samplesdialog.h | 48 ++ src/chart/samplesdialog.ui | 362 +++++++++++++++++++++ src/chart/saveviewdialog.cpp | 2 src/chart/saveviewdialog.h | 3 src/chart/searchdialog.cpp | 5 src/chart/tab.cpp | 717 ++++--------------------------------------- src/chart/tab.h | 106 +----- src/chart/tabdialog.cpp | 77 ---- src/chart/tabdialog.h | 19 - src/chart/tabdialog.ui | 503 ++++++++---------------------- src/chart/tabwidget.cpp | 1 src/chart/timeaxis.cpp | 13 src/chart/timeaxis.h | 1 src/chart/timecontrol.cpp | 2 src/chart/view.cpp | 72 ++-- src/time/GNUmakefile | 2 36 files changed, 1961 insertions(+), 1491 deletions(-) commit 5fb0ac7ad03c75877a0e12fdf15c4daa707e8d0c Author: Nathan Scott Date: Mon May 26 09:40:08 2008 +1000 Fix text formatting in the About dialog. commit 76f64de0db26b002e611d49860acb30cd55b55ae Author: Nathan Scott Date: Mon May 26 09:38:13 2008 +1000 This change splits the Tab class into two - a subset of the current functionality has been moved into a new GroupControl class which is responsible for all aspects of fetching values and interacting with kmtime. GroupControl inherits from QmcGroup, and there are two of these objects globally (as before) - one live, one archive. This resolves the long-standing issue where each kmtime message was passed to each Tab in term to be handled per-tab. This turned out to deal poorly with fetching values, as we ended up doing one fetch request per-tab instead of one per-step (which introduced very long delays, when multiple tabs were monitoring different faraway hosts). In addition, this change creates an abstract base class for Charts, which specifies an interface through which individual charts handle metric values. There's still more work to do in that area, but the general architectural direction should be clear at this stage. From kmcdonell@aconex.com Sun May 25 18:40:46 2008 Received: with ECARTIS (v1.0.0; list pcp); Sun, 25 May 2008 21:47:38 -0700 (PDT) Received: from cuda.sgi.com (cuda2.sgi.com [192.48.168.29]) by oss.sgi.com (8.12.11.20060308/8.12.11/SuSE Linux 0.7) with ESMTP id m4Q1ejO5025734 for ; Sun, 25 May 2008 18:40:46 -0700 X-ASG-Debug-ID: 1211766096-1b6402010000-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 7AFF01B1114 for ; Sun, 25 May 2008 18:41:36 -0700 (PDT) Received: from postoffice2.aconex.com (prod.aconex.com [203.89.192.138]) by cuda.sgi.com with ESMTP id oXLqS6reKD5KnTWs for ; Sun, 25 May 2008 18:41:36 -0700 (PDT) Received: from postoffice.aconex.com (localhost [127.0.0.1]) by postoffice2.aconex.com (Spam Firewall) with ESMTP id 73DCEC8B8B; Mon, 26 May 2008 11:41:04 +1000 (EST) Received: from postoffice.aconex.com (postoffice.yarra.acx [192.168.3.1]) by postoffice2.aconex.com with ESMTP id aSBlSGHFGmNzG3FP; Mon, 26 May 2008 11:41:04 +1000 (EST) Received: from [192.168.5.86] (unknown [203.89.192.141]) by postoffice.aconex.com (Postfix) with ESMTP id 5942792C316; Mon, 26 May 2008 11:41:04 +1000 (EST) X-ASG-Orig-Subj: Re: pmnscomp and PMNS checksums Subject: Re: pmnscomp and PMNS checksums From: Ken McDonell To: markgw@sgi.com Cc: Max Matveev , nscott@aconex.com, pcp@oss.sgi.com In-Reply-To: <4834F3C5.3040100@sgi.com> References: <1211180657.25294.446.camel@edge.scott.net.au> <4833D618.3080107@sgi.com> <18483.56344.188777.323713@kuku.melbourne.sgi.com> <41817.192.168.3.1.1211363807.squirrel@mail.aconex.com> <48344281.4070206@sgi.com> <1211414890.25294.476.camel@edge.scott.net.au> <18484.57971.318562.414158@kuku.melbourne.sgi.com> <4834F3C5.3040100@sgi.com> Content-Type: text/plain Organization: Aconex Date: Mon, 26 May 2008 11:39:50 +1000 Message-Id: <1211765990.2979.22.camel@localhost.localdomain> Mime-Version: 1.0 X-Mailer: Evolution 2.22.1 (2.22.1-2.fc9) Content-Transfer-Encoding: 7bit X-Barracuda-Connect: prod.aconex.com[203.89.192.138] X-Barracuda-Start-Time: 1211766097 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.1, rules version 3.1.51428 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- X-archive-position: 1665 X-Approved-By: makc@sgi.com X-ecartis-version: Ecartis v1.0.0 Sender: pcp-bounce@oss.sgi.com Errors-to: pcp-bounce@oss.sgi.com X-original-sender: kmcdonell@aconex.com Precedence: bulk X-list: pcp I don't recall ever doing anything with checksums ... although I will not disown most of the rest of the pmnscomp stuff, including the obscene 32-bit and 64-bit binary format relocation on loading ... yuk! On Thu, 2008-05-22 at 14:17 +1000, Mark Goodwin wrote: > > Max Matveev wrote: > > On Thu, 22 May 2008 10:08:10 +1000, Nathan Scott wrote: > > > > nscott> I hate to ask, after the (ongoing) pain the last such request > > nscott> seems to have invoked, but can someone "over there" do a p_rlog > > nscott> on pmnscomp.c (and/or src/libpcp/src/pmns.c) and see when the > > nscott> v2 PMNS checksum code was added (and maybe fwd on the checkin > > nscott> message?). > > it was there from the very beginning of the history - pmnscomp.c 1.1 > > in the pre-baobab trees has this code. And that goes back to > > > > revision 1.1 > > date: 1997/03/21 05:03:01; author: markgw; state: Exp; > > Performance Co-Pilot in IRIX: pcp_eoe > > > > max > > nah, it goes further back than that. We moved lots of stuff > (effectively what is now pcp-open) from a separate ism into > pcp_eoe in IRIX in 1997, at which point the revision history > restarted. I think Ken was probably the original author .. > > Cheers From nscott@aconex.com Mon May 26 21:04:02 2008 Received: with ECARTIS (v1.0.0; list pcp); Mon, 26 May 2008 21:04:07 -0700 (PDT) Received: from cuda.sgi.com (cuda1.sgi.com [192.48.168.28]) by oss.sgi.com (8.12.11.20060308/8.12.11/SuSE Linux 0.7) with ESMTP id m4R441iA030106 for ; Mon, 26 May 2008 21:04:02 -0700 X-ASG-Debug-ID: 1211861092-4c68037d0000-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 019CFBE8FDF for ; Mon, 26 May 2008 21:04:53 -0700 (PDT) Received: from postoffice2.aconex.com (prod.aconex.com [203.89.192.138]) by cuda.sgi.com with ESMTP id OSidv40Hmx72FYsD for ; Mon, 26 May 2008 21:04:53 -0700 (PDT) Received: from postoffice.aconex.com (localhost [127.0.0.1]) by postoffice2.aconex.com (Spam Firewall) with ESMTP id D46ABD60A9 for ; Tue, 27 May 2008 14:04:46 +1000 (EST) Received: from postoffice.aconex.com (postoffice.yarra.acx [192.168.3.1]) by postoffice2.aconex.com with ESMTP id qRahjSuRCnO4VCeL for ; Tue, 27 May 2008 14:04:46 +1000 (EST) Received: from [192.168.5.76] (unknown [203.89.192.141]) by postoffice.aconex.com (Postfix) with ESMTP id C10E592C316 for ; Tue, 27 May 2008 14:04:46 +1000 (EST) X-ASG-Orig-Subj: __pmSetProgname Subject: __pmSetProgname From: Nathan Scott Reply-To: nscott@aconex.com To: pcp@oss.sgi.com Content-Type: text/plain Organization: Aconex Date: Tue, 27 May 2008 14:04:46 +1000 Message-Id: <1211861086.25294.578.camel@edge.scott.net.au> Mime-Version: 1.0 X-Mailer: Evolution 2.22.1 Content-Transfer-Encoding: 7bit X-Barracuda-Connect: prod.aconex.com[203.89.192.138] X-Barracuda-Start-Time: 1211861094 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.1, rules version 3.1.51533 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- X-archive-position: 1666 X-ecartis-version: Ecartis v1.0.0 Sender: pcp-bounce@oss.sgi.com Errors-to: pcp-bounce@oss.sgi.com X-original-sender: nscott@aconex.com Precedence: bulk X-list: pcp Hi, The Win32 networking API requires applications to initialise a version they want to work with before making any calls into the API (including gethostname). We need to call this in just about every PCP application in order for it to be useful. Unfortunately it can't be hidden in pmNewContext (or any other existing PMAPI routine) cos the tools will often make a call to gethostname or similar before calling into libpcp). So, I was thinking of adding a __pmSetProgname which will set pmProgname from argv[0] and on Windows have a side-effect of making this dopey call to setup networking access. Any objections? Alternatives? thanks. -- Nathan From makc@melbourne.sgi.com Mon May 26 23:49:18 2008 Received: with ECARTIS (v1.0.0; list pcp); Mon, 26 May 2008 23:49:24 -0700 (PDT) Received: from larry.melbourne.sgi.com (larry.melbourne.sgi.com [134.14.52.130]) by oss.sgi.com (8.12.11.20060308/8.12.11/SuSE Linux 0.7) with SMTP id m4R6nFGa007881 for ; Mon, 26 May 2008 23:49:17 -0700 Received: from kuku.melbourne.sgi.com (kuku.melbourne.sgi.com [134.14.55.163]) by larry.melbourne.sgi.com (950413.SGI.8.6.12/950213.SGI.AUTOCF) via ESMTP id QAA25598; Tue, 27 May 2008 16:50:02 +1000 Received: from kuku.melbourne.sgi.com (localhost [127.0.0.1]) by kuku.melbourne.sgi.com (SGI-8.12.11.20060308/8.12.11) with ESMTP id m4R6o0Um417034; Tue, 27 May 2008 16:50:00 +1000 (EST) Received: (from makc@localhost) by kuku.melbourne.sgi.com (SGI-8.12.11.20060308/8.12.11/Submit) id m4R6nwKh421078; Tue, 27 May 2008 16:49:58 +1000 (EST) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <18491.44822.542370.28855@kuku.melbourne.sgi.com> Date: Tue, 27 May 2008 16:49:58 +1000 From: Max Matveev To: nscott@aconex.com Cc: pcp@oss.sgi.com Subject: Re: __pmSetProgname In-Reply-To: <1211861086.25294.578.camel@edge.scott.net.au> References: <1211861086.25294.578.camel@edge.scott.net.au> X-Mailer: VM 7.07 under 21.4 (patch 15) "Security Through Obscurity" XEmacs Lucid X-archive-position: 1667 X-ecartis-version: Ecartis v1.0.0 Sender: pcp-bounce@oss.sgi.com Errors-to: pcp-bounce@oss.sgi.com X-original-sender: makc@sgi.com Precedence: bulk X-list: pcp On Tue, 27 May 2008 14:04:46 +1000, Nathan Scott wrote: nscott> So, I was thinking of adding a __pmSetProgname which will set nscott> pmProgname from argv[0] and on Windows have a side-effect of nscott> making this dopey call to setup networking access. nscott> Any objections? Alternatives? Does Win32 have a notion of DSO init function? Something similar to what -Wl,-init,myinit does with gcc/ld? max From nscott@aconex.com Tue May 27 00:18:20 2008 Received: with ECARTIS (v1.0.0; list pcp); Tue, 27 May 2008 00:18:24 -0700 (PDT) Received: from cuda.sgi.com (cuda2.sgi.com [192.48.168.29]) by oss.sgi.com (8.12.11.20060308/8.12.11/SuSE Linux 0.7) with ESMTP id m4R7IK7D012214 for ; Tue, 27 May 2008 00:18:20 -0700 X-ASG-Debug-ID: 1211872751-263e008e0000-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 2FE8A1B6F93 for ; Tue, 27 May 2008 00:19:11 -0700 (PDT) Received: from postoffice2.aconex.com (prod.aconex.com [203.89.192.138]) by cuda.sgi.com with ESMTP id gDGDaGJ9aDRjFRmO for ; Tue, 27 May 2008 00:19:11 -0700 (PDT) Received: from postoffice.aconex.com (localhost [127.0.0.1]) by postoffice2.aconex.com (Spam Firewall) with ESMTP id 69664DC62D; Tue, 27 May 2008 17:19:10 +1000 (EST) Received: from postoffice.aconex.com (postoffice.yarra.acx [192.168.3.1]) by postoffice2.aconex.com with ESMTP id Pkt5l3yKCl3EtmIQ; Tue, 27 May 2008 17:19:10 +1000 (EST) Received: from [192.168.5.76] (unknown [203.89.192.141]) by postoffice.aconex.com (Postfix) with ESMTP id 5776992C09F; Tue, 27 May 2008 17:19:10 +1000 (EST) X-ASG-Orig-Subj: Re: __pmSetProgname Subject: Re: __pmSetProgname From: Nathan Scott Reply-To: nscott@aconex.com To: Max Matveev Cc: pcp@oss.sgi.com In-Reply-To: <18491.44822.542370.28855@kuku.melbourne.sgi.com> References: <1211861086.25294.578.camel@edge.scott.net.au> <18491.44822.542370.28855@kuku.melbourne.sgi.com> Content-Type: text/plain Organization: Aconex Date: Tue, 27 May 2008 17:19:09 +1000 Message-Id: <1211872750.25294.582.camel@edge.scott.net.au> Mime-Version: 1.0 X-Mailer: Evolution 2.22.1 Content-Transfer-Encoding: 7bit X-Barracuda-Connect: prod.aconex.com[203.89.192.138] X-Barracuda-Start-Time: 1211872752 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.1, rules version 3.1.51548 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- X-archive-position: 1668 X-ecartis-version: Ecartis v1.0.0 Sender: pcp-bounce@oss.sgi.com Errors-to: pcp-bounce@oss.sgi.com X-original-sender: nscott@aconex.com Precedence: bulk X-list: pcp On Tue, 2008-05-27 at 16:49 +1000, Max Matveev wrote: > On Tue, 27 May 2008 14:04:46 +1000, Nathan Scott wrote: > > nscott> So, I was thinking of adding a __pmSetProgname which will set > nscott> pmProgname from argv[0] and on Windows have a side-effect of > nscott> making this dopey call to setup networking access. > > nscott> Any objections? Alternatives? > Does Win32 have a notion of DSO init function? Something similar to > what -Wl,-init,myinit does with gcc/ld? I dunno, but quite possibly. Not sure that is an ideal way to go though, since it will mean that we'd force the version of the API being used for all applications that want to use libpcp. And I'm not sure what the results of calling this Win network start interface multiple times would be, so I'm kinda leaning toward making this opt-in (after thinking more after that initial mail). cheers. -- Nathan From mort@bork.org Tue May 27 11:00:10 2008 Received: with ECARTIS (v1.0.0; list pcp); Tue, 27 May 2008 11:00:13 -0700 (PDT) Received: from cuda.sgi.com (cuda1.sgi.com [192.48.168.28]) by oss.sgi.com (8.12.11.20060308/8.12.11/SuSE Linux 0.7) with ESMTP id m4RI09iP028188 for ; Tue, 27 May 2008 11:00:09 -0700 X-ASG-Debug-ID: 1211911258-176603930000-S8gJnT X-Barracuda-URL: http://cuda.sgi.com:80/cgi-bin/mark.cgi Received: from galileo.bork.org (localhost [127.0.0.1]) by cuda.sgi.com (Spam Firewall) with ESMTP id F06ECBF09A6 for ; Tue, 27 May 2008 11:01:01 -0700 (PDT) Received: from galileo.bork.org (galileo.bork.org [76.10.145.1]) by cuda.sgi.com with ESMTP id AsEUyMJATcO6bGtq for ; Tue, 27 May 2008 11:01:01 -0700 (PDT) Received: from localhost (localhost [127.0.0.1]) by galileo.bork.org (Postfix) with ESMTP id 13F2EC019DC for ; Tue, 27 May 2008 14:07:07 -0400 (EDT) Received: from galileo.bork.org ([127.0.0.1]) by localhost (galileo.bork.org [127.0.0.1]) (amavisd-new, port 10024) with LMTP id PTrjj7wTO3AF for ; Tue, 27 May 2008 14:07:07 -0400 (EDT) Received: from laplace.bork.org (laplace.bork.org [192.168.3.9]) by galileo.bork.org (Postfix) with ESMTP id F0BE1C019D3 for ; Tue, 27 May 2008 14:07:06 -0400 (EDT) Received: by laplace.bork.org (Postfix, from userid 1000) id 9B5065355B; Tue, 27 May 2008 14:00:57 -0400 (EDT) Date: Tue, 27 May 2008 14:00:57 -0400 From: Martin Hicks To: pcp@oss.sgi.com X-ASG-Orig-Subj: PMAPI for something other than C? Subject: PMAPI for something other than C? Message-ID: <20080527180057.GC25468@laplace.bork.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.17+20080114 (2008-01-14) X-Barracuda-Connect: galileo.bork.org[76.10.145.1] X-Barracuda-Start-Time: 1211911261 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.1, rules version 3.1.51589 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- X-archive-position: 1669 X-ecartis-version: Ecartis v1.0.0 Sender: pcp-bounce@oss.sgi.com Errors-to: pcp-bounce@oss.sgi.com X-original-sender: mort@bork.org Precedence: bulk X-list: pcp Are there PMAPI bindings for languages other than C? I see the PMDA API for perl in src/cpan, but it doesn't look like the PMAPI is in there. thanks, mh -- Martin Hicks || mort@bork.org || PGP/GnuPG: 0x4C7F2BEE From nscott@aconex.com Tue May 27 15:10:45 2008 Received: with ECARTIS (v1.0.0; list pcp); Tue, 27 May 2008 15:10:50 -0700 (PDT) Received: from cuda.sgi.com (cuda1.sgi.com [192.48.168.28]) by oss.sgi.com (8.12.11.20060308/8.12.11/SuSE Linux 0.7) with ESMTP id m4RMAjZC018059 for ; Tue, 27 May 2008 15:10:45 -0700 X-ASG-Debug-ID: 1211926296-2d1a03340000-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 7A33A1227B7D for ; Tue, 27 May 2008 15:11:36 -0700 (PDT) Received: from postoffice2.aconex.com (prod.aconex.com [203.89.192.138]) by cuda.sgi.com with ESMTP id tyLd9y9T4UQMF1P0 for ; Tue, 27 May 2008 15:11:36 -0700 (PDT) Received: from postoffice.aconex.com (localhost [127.0.0.1]) by postoffice2.aconex.com (Spam Firewall) with ESMTP id BB8435F9ED2; Wed, 28 May 2008 08:11:34 +1000 (EST) Received: from postoffice.aconex.com (postoffice.yarra.acx [192.168.3.1]) by postoffice2.aconex.com with ESMTP id iYz1dd7A1oZWgSSQ; Wed, 28 May 2008 08:11:34 +1000 (EST) Received: from mail.aconex.com (castle.yarra.acx [192.168.3.3]) by postoffice.aconex.com (Postfix) with ESMTP id A2E8592C09F; Wed, 28 May 2008 08:11:34 +1000 (EST) Received: from 192.168.3.1 (proxying for 220.239.214.222) (SquirrelMail authenticated user nscott) by mail.aconex.com with HTTP; Wed, 28 May 2008 08:11:34 +1000 (EST) Message-ID: <51287.192.168.3.1.1211926294.squirrel@mail.aconex.com> In-Reply-To: <20080527180057.GC25468@laplace.bork.org> References: <20080527180057.GC25468@laplace.bork.org> Date: Wed, 28 May 2008 08:11:34 +1000 (EST) X-ASG-Orig-Subj: Re: PMAPI for something other than C? Subject: Re: PMAPI for something other than C? From: nscott@aconex.com To: "Martin Hicks" Cc: pcp@oss.sgi.com User-Agent: SquirrelMail/1.4.8-4.el4.centos MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal X-Barracuda-Connect: prod.aconex.com[203.89.192.138] X-Barracuda-Start-Time: 1211926297 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.47 X-Barracuda-Spam-Status: No, SCORE=-1.47 using per-user scores of TAG_LEVEL=2.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=2.1 tests=NO_REAL_NAME X-Barracuda-Spam-Report: Code version 3.1, rules version 3.1.51607 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- 0.55 NO_REAL_NAME From: does not include a real name X-archive-position: 1670 X-ecartis-version: Ecartis v1.0.0 Sender: pcp-bounce@oss.sgi.com Errors-to: pcp-bounce@oss.sgi.com X-original-sender: nscott@aconex.com Precedence: bulk X-list: pcp Hi Martin, > Are there PMAPI bindings for languages other than C? I see the PMDA API > for perl in src/cpan, but it doesn't look like the PMAPI is in there. There are no other bindings. The pmResult structure is relatively complex (compact) and doesn't lend itself to translation to other languages (at least, it was well beyond my C -> Perl translation abilities). Whenever I think of tackling this, I always reach the point of thinking the PMAPI is the wrong place to add a binding - a higher level API would be better. Maybe PMC based, or maybe a tool like pmie should be refactored to provide an API. But, I always just end up using tools like pmdumptext, pmie, pmprobe, pminfo, etc from within scripts. cheers. -- Nathan From mort@bork.org Wed May 28 06:30:33 2008 Received: with ECARTIS (v1.0.0; list pcp); Wed, 28 May 2008 06:30:38 -0700 (PDT) Received: from cuda.sgi.com (cuda1.sgi.com [192.48.168.28]) by oss.sgi.com (8.12.11.20060308/8.12.11/SuSE Linux 0.7) with ESMTP id m4SDUWXZ002371 for ; Wed, 28 May 2008 06:30:33 -0700 X-ASG-Debug-ID: 1211981483-081903ca0000-S8gJnT X-Barracuda-URL: http://cuda.sgi.com:80/cgi-bin/mark.cgi Received: from galileo.bork.org (localhost [127.0.0.1]) by cuda.sgi.com (Spam Firewall) with ESMTP id 87953BF9AD5 for ; Wed, 28 May 2008 06:31:23 -0700 (PDT) Received: from galileo.bork.org (galileo.bork.org [76.10.145.1]) by cuda.sgi.com with ESMTP id GHPnFyUdKOT4TNja for ; Wed, 28 May 2008 06:31:23 -0700 (PDT) Received: from localhost (localhost [127.0.0.1]) by galileo.bork.org (Postfix) with ESMTP id 2DEB3C019DD; Wed, 28 May 2008 09:37:39 -0400 (EDT) Received: from galileo.bork.org ([127.0.0.1]) by localhost (galileo.bork.org [127.0.0.1]) (amavisd-new, port 10024) with LMTP id QMwuOeSkDwss; Wed, 28 May 2008 09:37:39 -0400 (EDT) Received: from laplace.bork.org (laplace.bork.org [192.168.3.9]) by galileo.bork.org (Postfix) with ESMTP id E37A1C1B61F; Wed, 28 May 2008 09:37:38 -0400 (EDT) Received: by laplace.bork.org (Postfix, from userid 1000) id EE91592C72; Wed, 28 May 2008 09:31:17 -0400 (EDT) Date: Wed, 28 May 2008 09:31:17 -0400 From: Martin Hicks To: nscott@aconex.com Cc: pcp@oss.sgi.com X-ASG-Orig-Subj: Re: PMAPI for something other than C? Subject: Re: PMAPI for something other than C? Message-ID: <20080528133117.GF25468@laplace.bork.org> References: <20080527180057.GC25468@laplace.bork.org> <51287.192.168.3.1.1211926294.squirrel@mail.aconex.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <51287.192.168.3.1.1211926294.squirrel@mail.aconex.com> User-Agent: Mutt/1.5.17+20080114 (2008-01-14) X-Barracuda-Connect: galileo.bork.org[76.10.145.1] X-Barracuda-Start-Time: 1211981484 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.1, rules version 3.1.51667 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- X-archive-position: 1671 X-ecartis-version: Ecartis v1.0.0 Sender: pcp-bounce@oss.sgi.com Errors-to: pcp-bounce@oss.sgi.com X-original-sender: mort@bork.org Precedence: bulk X-list: pcp On Wed, May 28, 2008 at 08:11:34AM +1000, nscott@aconex.com wrote: > Hi Martin, > > > Are there PMAPI bindings for languages other than C? I see the PMDA API > > for perl in src/cpan, but it doesn't look like the PMAPI is in there. > > There are no other bindings. The pmResult structure is relatively complex > (compact) and doesn't lend itself to translation to other languages (at > least, > it was well beyond my C -> Perl translation abilities). Whenever I think of > tackling this, I always reach the point of thinking the PMAPI is the wrong > place to add a binding - a higher level API would be better. Maybe PMC > based, or maybe a tool like pmie should be refactored to provide an API. > > But, I always just end up using tools like pmdumptext, pmie, pmprobe, > pminfo, etc from within scripts. Thanks. That's the approach I will take. What I'm looking to do would be too much work to do in C. mh -- Martin Hicks || mort@bork.org || PGP/GnuPG: 0x4C7F2BEE From nscott@aconex.com Thu May 29 19:38:23 2008 Received: with ECARTIS (v1.0.0; list pcp); Thu, 29 May 2008 19:38:27 -0700 (PDT) Received: from cuda.sgi.com (cuda1.sgi.com [192.48.168.28]) by oss.sgi.com (8.12.11.20060308/8.12.11/SuSE Linux 0.7) with ESMTP id m4U2cMcL007147 for ; Thu, 29 May 2008 19:38:22 -0700 X-ASG-Debug-ID: 1212115153-18a701860000-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 8FAA4C1992A for ; Thu, 29 May 2008 19:39:13 -0700 (PDT) Received: from postoffice2.aconex.com (prod.aconex.com [203.89.192.138]) by cuda.sgi.com with ESMTP id FJrT4PDldP1PF994 for ; Thu, 29 May 2008 19:39:13 -0700 (PDT) Received: from postoffice.aconex.com (localhost [127.0.0.1]) by postoffice2.aconex.com (Spam Firewall) with ESMTP id 9FE6F102450 for ; Fri, 30 May 2008 12:39:08 +1000 (EST) Received: from postoffice.aconex.com (postoffice.yarra.acx [192.168.3.1]) by postoffice2.aconex.com with ESMTP id xUFhI3L7NP4r8WwH for ; Fri, 30 May 2008 12:39:08 +1000 (EST) Received: from [192.168.5.76] (unknown [203.89.192.141]) by postoffice.aconex.com (Postfix) with ESMTP id 855D392C316 for ; Fri, 30 May 2008 12:39:08 +1000 (EST) X-ASG-Orig-Subj: pcp updates Subject: pcp updates From: Nathan Scott Reply-To: nscott@aconex.com To: pcp@oss.sgi.com Content-Type: text/plain Organization: Aconex Date: Fri, 30 May 2008 12:39:08 +1000 Message-Id: <1212115148.25294.604.camel@edge.scott.net.au> Mime-Version: 1.0 X-Mailer: Evolution 2.22.1 Content-Transfer-Encoding: 7bit X-Barracuda-Connect: prod.aconex.com[203.89.192.138] X-Barracuda-Start-Time: 1212115154 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: -0.47 X-Barracuda-Spam-Status: No, SCORE=-0.47 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.1, rules version 3.1.51817 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- 1.05 BSF_RULE_7582B BODY: Custom Rule 7582B 0.50 BSF_RULE7568M Custom Rule 7568M X-archive-position: 1672 X-ecartis-version: Ecartis v1.0.0 Sender: pcp-bounce@oss.sgi.com Errors-to: pcp-bounce@oss.sgi.com X-original-sender: nscott@aconex.com Precedence: bulk X-list: pcp Changes committed to git://oss.sgi.com:8090/nathans/pcp.git configure.in | 29 - man/man1/GNUmakefile | 2 man/man1/pmcd.1 | 8 man/man1/pmkstat.1 | 262 ----------- src/GNUmakefile | 2 src/autofsd-probe/autofsd-probe.c | 4 src/cpan/PMDA.xs | 2 src/dbpmda/src/dbpmda.c | 8 src/dbpmda/src/pmda.c | 1 src/genpmda/genpmda | 8 src/include/buildrules | 2 src/include/impl.h | 14 src/include/platform_defs.h.in | 21 src/libpcp/src/GNUmakefile | 3 src/libpcp/src/connect.c | 4 src/libpcp/src/logportmap.c | 40 - src/libpcp/src/loop.c | 5 src/libpcp/src/pdu.c | 67 +- src/libpcp/src/util.c | 31 + src/libpcp_pmc/examples/fixed.c++ | 2 src/libpcp_pmc/examples/hotproc.c++ | 2 src/libpcp_pmda/src/GNUmakefile | 17 src/libpcp_pmda/src/cache.c | 6 src/newhelp/chkhelp.c | 12 src/newhelp/newhelp.c | 11 src/pmafm/pmafm.pcp | 2 src/pmcd/src/pmcd.c | 7 src/pmcdctl/pmcd_wait.c | 8 src/pmclient/pmclient.c | 8 src/pmdas/aix/aix.c | 8 src/pmdas/apache/apache.c | 2 src/pmdas/cisco/pmda.c | 3 src/pmdas/cisco/probe.c | 8 src/pmdas/darwin/pmda.c | 7 src/pmdas/hotproc/src/hotproc.c | 7 src/pmdas/jstat/jstat.c | 2 src/pmdas/linux/pmda.c | 9 src/pmdas/lmsensors/lmsensors.c | 15 src/pmdas/mailq/mailq.c | 8 src/pmdas/mounts/mounts.c | 9 src/pmdas/pmcd/src/pmcd.c | 43 - src/pmdas/process/process.c | 9 src/pmdas/roomtemp/roomtemp.c | 19 src/pmdas/sample/src/pmda.c | 21 src/pmdas/sendmail/sendmail.c | 5 src/pmdas/shping/pmda.c | 7 src/pmdas/simple/simple.c | 9 src/pmdas/solaris/solaris.c | 12 src/pmdas/summary/pmda.c | 12 src/pmdas/trace/src/pmda.c | 8 src/pmdas/trivial/trivial.c | 9 src/pmdas/txmon/txmon.c | 12 src/pmdas/weblog/pmda.c | 8 src/pmdas/windows/pmda.c | 8 src/pmdbg/pmdbg.c | 8 src/pmdumplog/pmdumplog.c | 7 src/pmdumptext/pmdumptext.c++ | 2 src/pmhostname/GNUmakefile | 1 src/pmhostname/pmhostname.c | 2 src/pmie/src/pmie.c | 8 src/pminfo/GNUmakefile | 10 src/pminfo/pminfo.c | 42 - src/pmkstat/GNUmakefile | 44 - src/pmkstat/pmlogger.config | 25 - src/pmkstat/src/GNUmakefile | 53 -- src/pmkstat/src/pmkstat.c | 808 ------------------------------------ src/pmkstat/src/pmnsmap.spec | 25 - src/pmlc/pmlc.c | 16 src/pmlogconf/pmlogconf.sh | 12 src/pmlogctl/config.base | 2 src/pmlogctl/config.sar | 4 src/pmlogextract/pmlogextract.c | 9 src/pmlogger/pmlogger.c | 7 src/pmloglabel/pmloglabel.c | 2 src/pmlogreduce/pmlogreduce.c | 9 src/pmlogsummary/pmlogcheck.c | 6 src/pmlogsummary/pmlogsummary.c | 5 src/pmns/GNUmakefile | 20 src/pmns/Rebuild | 358 +++++++++++++++ src/pmns/Rebuild4linux | 358 --------------- src/pmns/pmnsdel.c | 17 src/pmns/pmnsmerge.c | 19 src/pmnscomp/pmnscomp.c | 24 - src/pmpost/pmpost.c | 2 src/pmprobe/GNUmakefile | 3 src/pmprobe/pmprobe.c | 13 src/pmproxy/CHECKOUT | 32 - src/pmproxy/GNUmakefile | 2 src/pmproxy/pmproxy.c | 12 src/pmstat/pmlogger.config | 2 src/pmstat/pmstat.c | 2 src/pmstore/pmstore.c | 11 src/pmtop/pmtop.c | 2 src/pmval/pmval.c | 9 src/procmemstat/procmemstat.c | 7 95 files changed, 666 insertions(+), 2182 deletions(-) commit 9629f731fee40f051088e3c7c5e53d606456efff Author: Nathan Scott Date: Fri May 30 12:33:01 2008 +1000 The Win32 mkdir system call doesn't take a mode argument like the rest of the world. This patch ensures we call the right form of mkdir for all platforms. commit 3a7085b8691929299209ddb1d925ac0c716f51c2 Author: Nathan Scott Date: Fri May 30 12:23:11 2008 +1000 Win32 has no chown, make its use conditional in pmnsdel. commit 37369b53364138c6f025cb16c6a51bfcf8e9d530 Author: Nathan Scott Date: Fri May 30 11:55:11 2008 +1000 libpcp and pmcd both need to know if a given pid_t matches a running process. Currently the both have the same code duplicated (exists_process). Its platform-specific stuff too - the MacOSX implementation differs to *nix, which is different again to Win32 of course. This patch creates a libpcp __pmProcessExists() interface from exists_process, and implements the Win32 variant. pmcd is updated to call this too, instead of its own copy. commit b16d9f33586c65a6a7b6cfabe581667d2bb4251a Author: Nathan Scott Date: Fri May 30 11:38:47 2008 +1000 Data symbols exported from a library come under different linker logic in the Windows GCC port, as they are not auto-exported from DLLs like code symbols are. This gives build warnings for all of the tools using pmDebug/pmProgname (i.e. all of the tools). This can be avoided by decorating these symbols with the __declspec() directive. Unfortunately a different header directive is needed when linking than when compiling the DLL. This patch removes these warnings by decorating these symbols in the appropriate way depending on which part of the build is in progress (using INTERN/EXTERN macros for just the handful of data symbols exported by libpcp). A good reference covering the behaviour of GNU ld on Windows: http://sourceware.org/binutils/docs-2.17/ld/WIN32.html commit 7ea46b6e2aa7437e37fbd501bcb36ef9772bb948 Author: Nathan Scott Date: Fri May 30 11:12:27 2008 +1000 Ditch HAVE_WAIT_DEFINES_RUSAGE, its no longer needed. commit d7ebaf5d3756dff18878442e26ee4b879a5ba3aa Author: Nathan Scott Date: Fri May 30 11:02:49 2008 +1000 Add the __pmSetProgname helper routine, which sets up pmProgname for the client tools which ship with PCP. For the MinGW port, this has two side-effects - it sets up networking capabilities for the program, and now also sets "binary" I/O processing mode rather than the default (text mode) which otherwise breaks PMNS and/or archive processing. commit 1c49d5bdbd9a7f34dbb17501f2909891b207a859 Author: Nathan Scott Date: Fri May 30 10:41:15 2008 +1000 Remove redundant/unused macros from pmprobe makefile. commit 616946da5096a25982be8c8ba1cf8c4af439b419 Author: Nathan Scott Date: Fri May 30 10:14:38 2008 +1000 Use CMDTARGET instead of TARGET in pminfo makefile to fix MinGW build. commit 5fcf77b238feef592e16cdda0316d879274a14f3 Author: Nathan Scott Date: Fri May 30 08:42:09 2008 +1000 Makefile tweaks for installing libpcp_pmda libraries. commit 78454e3fdac4db8f81c624b87b07d6fd8a9f16ec Author: Nathan Scott Date: Fri May 30 08:40:23 2008 +1000 Makefile tweaks in libpcp_pmda to support MinGW builds. commit f42838672e443a7c75566548df762d69b93c7819 Author: Nathan Scott Date: Fri May 30 08:32:02 2008 +1000 The Win32 API does not allow read/write on socket file descriptors. Nope, I'm not joking. So, switch to using recv/send, which exist on all platforms and are equivalent. Basic tools (pmprobe, pminfo, and several others) live mode is now functional. commit 5008c5a2f9a7d48d862f088a93e3867f35cf1ae6 Author: Nathan Scott Date: Thu May 29 18:04:02 2008 +1000 Make use of SIGPIPE/SIGHUP conditional, they dont exist under Win32. commit b99b194203147b9b114c2f8dbd5c847412bed09d Author: Nathan Scott Date: Thu May 29 17:40:00 2008 +1000 Fix couple of typos in the configure.in scripting. commit 501a51581b217ff4284470a19903a0711cbf9cc7 Author: Nathan Scott Date: Thu May 29 17:34:57 2008 +1000 Cleanup pmns makefile - dont need the .NeedRebuild touch for MacOSX either. commit 57b71169c4e21ea3a1081d861ac3e90eb24b1c5f Author: Nathan Scott Date: Thu May 29 17:24:56 2008 +1000 Expunge pmkstat from the sources, use pmstat instead.