From nscott@aconex.com Mon Apr 2 22:16:33 2007 Received: with ECARTIS (v1.0.0; list pcp); Mon, 02 Apr 2007 22:16:38 -0700 (PDT) X-Spam-oss-Status: No, score=0.1 required=5.0 tests=BAYES_50,J_CHICKENPOX_74 autolearn=no version=3.2.0-pre1-r499012 Received: from postoffice.aconex.com (mail.app.aconex.com [203.89.192.138]) by oss.sgi.com (8.12.10/8.12.10/SuSE Linux 0.7) with ESMTP id l335GVfB006135 for ; Mon, 2 Apr 2007 22:16:33 -0700 Received: from edge (unknown [203.89.192.141]) by postoffice.aconex.com (Postfix) with ESMTP id 35C9BAAC2B9; Tue, 3 Apr 2007 15:16:27 +1000 (EST) Subject: [PATCH] fix Windows filesys.used space calculation From: Nathan Scott Reply-To: nscott@aconex.com To: Michael Newton Cc: pcp@oss.sgi.com Content-Type: multipart/mixed; boundary="=-9ojSoMU2bndCTgQduXjH" Organization: Aconex Date: Tue, 03 Apr 2007 15:17:24 +1000 Message-Id: <1175577444.4645.98.camel@edge> Mime-Version: 1.0 X-Mailer: Evolution 2.6.3 X-archive-position: 1239 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 Content-Length: 1201 Lines: 37 --=-9ojSoMU2bndCTgQduXjH Content-Type: text/plain Content-Transfer-Encoding: 7bit Hi, This fixes an error in the calculation of filesystem used space in the Windows PMDA. I've verified the results now against the values reported by the Cygwin df(1) program. Please apply. cheers. -- Nathan --=-9ojSoMU2bndCTgQduXjH Content-Disposition: attachment; filename=fix-windows-filesys-used-metric Content-Type: text/x-patch; name=fix-windows-filesys-used-metric; charset=UTF-8 Content-Transfer-Encoding: 7bit Index: devpcp/src/pmdas/windows/pmda.c =================================================================== --- devpcp.orig/src/pmdas/windows/pmda.c 2007-04-03 14:43:18.982438000 +1000 +++ devpcp/src/pmdas/windows/pmda.c 2007-04-03 14:46:12.881306000 +1000 @@ -743,7 +743,7 @@ fetch_callback(pmdaMetric *mdesc, unsign if (count != 2) /* we need both "dummy" metric values below */ return 0; - used_space = free_space * (1.0 - free_percent); + used_space = (free_space / free_percent) - free_space; used = 1024 * (unsigned long long)used_space; /* MB to KB */ avail = 1024 * (unsigned long long)free_space; /* MB to KB */ capacity = used + avail; --=-9ojSoMU2bndCTgQduXjH-- From nscott@aconex.com Tue Apr 10 23:25:13 2007 Received: with ECARTIS (v1.0.0; list pcp); Tue, 10 Apr 2007 23:25:18 -0700 (PDT) Received: from postoffice.aconex.com (mail.app.aconex.com [203.89.192.138]) by oss.sgi.com (8.12.10/8.12.10/SuSE Linux 0.7) with ESMTP id l3B6PAfB003112 for ; Tue, 10 Apr 2007 23:25:13 -0700 Received: from edge (unknown [203.89.192.141]) by postoffice.aconex.com (Postfix) with ESMTP id 6623DAAC240; Wed, 11 Apr 2007 16:25:08 +1000 (EST) Subject: Wierd pmie bug of the day? From: Nathan Scott Reply-To: nscott@aconex.com To: kmcdonell@aconex.com Cc: pcp@oss.sgi.com Content-Type: text/plain Organization: Aconex Date: Wed, 11 Apr 2007 16:25:18 +1000 Message-Id: <1176272718.6273.64.camel@edge> Mime-Version: 1.0 X-Mailer: Evolution 2.6.3 Content-Transfer-Encoding: 7bit X-archive-position: 1244 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 Ken, I'm struggling to make pmie honour some of its time-based macros; in particular the following rule pointed at an archive seems to be constantly getting a value of zero for $hour, constantly... // Host CPU usage during office hours on work days (((kernel.all.cpu.user + kernel.all.cpu.intr + kernel.all.cpu.nice + kernel.all.cpu.sys) / hinv.ncpu) > 0) && ($day_of_week > 0 && $day_of_week < 6) && ($hour == 0) // && ($hour >= 09 && $hour <= 17) -> print "%v\n"; The expression I want is the commented out one, but the only value of $hour that seems to give truth is 0 ... same for $minute. Am I using these keywords incorrectly or is this a pmie buglet? >From poking around in gdb a bit, reflectTime does seem to be called, and does seem to update the global minute/hour doubles correctly, but somewhere in the expression tree evaluation below eval(), the wheels seem to be falling off, maybe. thanks! -- Nathan From postmaster@cp78.mysite4now.com Thu Apr 26 05:05:53 2007 Received: with ECARTIS (v1.0.0; list pcp); Thu, 26 Apr 2007 05:05:58 -0700 (PDT) Received: from cp69.mysite4now.com (cp69.mysite4now.com [209.132.240.25]) by oss.sgi.com (8.12.10/8.12.10/SuSE Linux 0.7) with ESMTP id l3QC5qfB032215 for ; Thu, 26 Apr 2007 05:05:53 -0700 Received: from dedi260 ([209.132.240.71]) by cp69.mysite4now.com with Microsoft SMTPSVC(6.0.3790.1830); Thu, 26 Apr 2007 04:48:54 -0700 Date: Thu, 26 Apr 2007 04:48:54 -0800 Subject: CONTACT ME(Elizabeth Newton.)!! To: pcp@oss.sgi.com From: ELIZABETH NEWTON Reply-To: lizanewton@gmail.com MIME-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: 8bit Message-ID: X-OriginalArrivalTime: 26 Apr 2007 11:48:54.0390 (UTC) FILETIME=[DDAA1960:01C787F8] X-archive-position: 1245 X-ecartis-version: Ecartis v1.0.0 Sender: pcp-bounce@oss.sgi.com Errors-to: pcp-bounce@oss.sgi.com X-original-sender: info@business-banking.org.uk Precedence: bulk X-list: pcp Good day, My name is Elizabeth Newton, I am the credit manager in a Bank here in the United Kingdom. I am contacting you on a business transfer, of a huge sum of money from a Deceased account. Though I know that a transaction of this magnitude will make any one apprehensive and worried, but I am assuring you that everything has been taken care off, and all will be well at the end of the day. I decided to contact you due to the urgency of this transaction. THE PROPOSITION: I am the account officer of a foreigner named Patrick Gerald Welsh who died in an air crash along with his wife in 31st October 1999 aboard an Egyptian airline 990 with other passengers on board. You can confirm this from the website below as PUBLISHED ON http://news.bbc.co.uk/2/hi/500795.stm, Since his death, none of his next-of-kin have called to make claims for this money as his heir,because it is assumed they are not alive. The only known relative of his, i.e his father, died a few months ago.(May his soul rest in peace). We cannot release the fund from his account unless someone applies for claim as the next-of-kin to the deceased as indicated in our banking guidelines. Upon this discovery, I now seek your permission to have you stand as a next of kin to the deceased, as all documentations will be carefully worked out by me for the funds (£9,000,000.00) Nine Millions Pounds to be released in your favour as the beneficiary's next of kin. It may interest you to know that we have secured from the probate an order of mandamus to locate any of the deceased beneficiaries. Please acknowledge receipt of this message in acceptance of our mutual business endeavour by furnishing me with the following information if you are interested. 1. A Beneficiary name; In order for me to prepare the document for transfer of the funds in your name. 2. Direct Telephone and fax number; For our personal contact and mutual trust in each other. Upon your acceptance I shall send you a copy of my international passport and drivers license for more confidentiality and trust. I shall be compensating you with 40% on final conclusion of this project for your assistance, while the 5% shall be set aside for expenses, and the balance of 55% shall be for me and my partner, and for investment purposes. If this proposal is acceptable by you, please endeavour to contact me immediately. Do not take undue advantage of the trust I have bestowed in you. Best Regards, MRS. ELIZABETH NEWTON From wwwrun@sql.networkamericainc.com Thu Apr 26 07:00:55 2007 Received: with ECARTIS (v1.0.0; list pcp); Thu, 26 Apr 2007 07:00:59 -0700 (PDT) Received: from sql.networkamericainc.com (networkamericainc.com [67.62.92.74]) by oss.sgi.com (8.12.10/8.12.10/SuSE Linux 0.7) with ESMTP id l3QE0sfB024009 for ; Thu, 26 Apr 2007 07:00:55 -0700 Received: from localhost (localhost [127.0.0.1]) by sql.networkamericainc.com (Postfix) with ESMTP id 69B3D6F620 for ; Thu, 26 Apr 2007 07:51:24 -0400 (EDT) Received: from unknown by localhost (amavisd-new, unix socket) id client-XXZ9mzSW for ; Thu, 26 Apr 2007 07:51:24 -0400 (EDT) Received: by sql.networkamericainc.com (Postfix, from userid 30) id 4BDF662376; Thu, 26 Apr 2007 07:51:10 -0400 (EDT) To: pcp@oss.sgi.com Subject: CONTACT ME(Elizabeth Newton.). From: ELIZABETH NEWTON Reply-To: lizanewton@gmail.com MIME-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: 8bit Message-Id: <20070426115110.4BDF662376@sql.networkamericainc.com> Date: Thu, 26 Apr 2007 07:51:10 -0400 (EDT) X-Amavis-Alert: BAD HEADER Improper use of control character (char 0D hex) in message header 'From': From: ELIZABETH NEWTON \r\n X-archive-position: 1246 X-ecartis-version: Ecartis v1.0.0 Sender: pcp-bounce@oss.sgi.com Errors-to: pcp-bounce@oss.sgi.com X-original-sender: info@business-banking.org.uk Precedence: bulk X-list: pcp Good day, My name is Elizabeth Newton, I am the credit manager in a Bank here in the United Kingdom. I am contacting you on a business transfer, of a huge sum of money from a Deceased account. Though I know that a transaction of this magnitude will make any one apprehensive and worried, but I am assuring you that everything has been taken care off, and all will be well at the end of the day. I decided to contact you due to the urgency of this transaction. THE PROPOSITION: I am the account officer of a foreigner named Patrick Gerald Welsh who died in an air crash along with his wife in 31st October 1999 aboard an Egyptian airline 990 with other passengers on board. You can confirm this from the website below as PUBLISHED ON http://news.bbc.co.uk/2/hi/500795.stm, Since his death, none of his next-of-kin have called to make claims for this money as his heir,because it is assumed they are not alive. The only known relative of his, i.e his father, died a few months ago.(May his soul rest in peace). We cannot release the fund from his account unless someone applies for claim as the next-of-kin to the deceased as indicated in our banking guidelines. Upon this discovery, I now seek your permission to have you stand as a next of kin to the deceased, as all documentations will be carefully worked out by me for the funds (£9,000,000.00) Nine Millions Pounds to be released in your favour as the beneficiary's next of kin. It may interest you to know that we have secured from the probate an order of mandamus to locate any of the deceased beneficiaries. Please acknowledge receipt of this message in acceptance of our mutual business endeavour by furnishing me with the following information if you are interested. 1. A Beneficiary name; In order for me to prepare the document for transfer of the funds in your name. 2. Direct Telephone and fax number; For our personal contact and mutual trust in each other. Upon your acceptance I shall send you a copy of my international passport and drivers license for more confidentiality and trust. I shall be compensating you with 40% on final conclusion of this project for your assistance, while the 5% shall be set aside for expenses, and the balance of 55% shall be for me and my partner, and for investment purposes. If this proposal is acceptable by you, please endeavour to contact me immediately. Do not take undue advantage of the trust I have bestowed in you. Best Regards, MRS. ELIZABETH NEWTON