| To: | chandana@xxxxxxxxxxxxx |
|---|---|
| Subject: | Re: [pcp] proc.psinfo.stime |
| From: | Mark Goodwin <mgoodwin@xxxxxxxxxx> |
| Date: | Mon, 31 Dec 2012 08:56:22 +1100 |
| Cc: | pcp@xxxxxxxxxxx |
| In-reply-to: | <50E0B40A.60002@xxxxxxxxxxxxx> |
| References: | <50DFE221.7050100@xxxxxxxxxxxxx> <50E0B220.2080304@xxxxxxxxxx> <50E0B40A.60002@xxxxxxxxxxxxx> |
| User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:13.0) Gecko/20120605 Thunderbird/13.0 |
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, Chandana De Silva |
|---|---|
| Next by Date: | Re: [pcp] proc.psinfo.stime, Chandana De Silva |
| Previous by Thread: | Re: [pcp] proc.psinfo.stime, Chandana De Silva |
| Next by Thread: | Re: [pcp] proc.psinfo.stime, Chandana De Silva |
| Indexes: | [Date] [Thread] [Top] [All Lists] |