| To: | Mark Goodwin <mgoodwin@xxxxxxxxxx> |
|---|---|
| Subject: | Re: [pcp] proc.psinfo.stime |
| From: | Chandana De Silva <chandana@xxxxxxxxxxxxx> |
| Date: | Mon, 31 Dec 2012 11:03:04 +1100 |
| Cc: | pcp@xxxxxxxxxxx |
| In-reply-to: | <50E0B886.8090009@xxxxxxxxxx> |
| References: | <50DFE221.7050100@xxxxxxxxxxxxx> <50E0B220.2080304@xxxxxxxxxx> <50E0B40A.60002@xxxxxxxxxxxxx> <50E0B886.8090009@xxxxxxxxxx> |
| Reply-to: | chandana@xxxxxxxxxxxxx |
| User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/17.0 Thunderbird/17.0 |
Mark, Thanks for that very quick turn around. I will try that out soon. Chandana On 31/12/12 08:56, Mark Goodwin wrote: On 12/31/2012 08:37 AM, Chandana De Silva wrote:On 31/12/12 08:29, Mark Goodwin wrote:On 12/30/2012 05:41 PM, Chandana De Silva wrote:>>...I'll check the code - the metric item number is supposed to correspond to the field number (counting from 0) in /proc/PID/stat. Maybe that has come to grief or something or there is an error or overflow in the conversion from jiffies to milliseconds.hz was not initialized, so we are multiplying by -1. This is a bug introduced when we split the proc PMDA off from the linux PMDA. Here's the patch to fix it (same fix also applies for proc.psinfo.utime and friends). Cheers -- Mark |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: [pcp] proc.psinfo.stime, Mark Goodwin |
|---|---|
| Next by Date: | Re: [pcp] Error starting pmlogger, Nathan Scott |
| Previous by Thread: | Re: [pcp] proc.psinfo.stime, Mark Goodwin |
| Next by Thread: | pcp updates: fixes from kenj, chandana & mgoodwin, Nathan Scott |
| Indexes: | [Date] [Thread] [Top] [All Lists] |