| To: | performancecopilot/pcp <pcp@xxxxxxxxxxxxxxxxxx> |
|---|---|
| Subject: | Re: [pcp] pmie and pminfo (#40) |
| From: | Ken McDonell <notifications@xxxxxxxxxx> |
| Date: | Fri, 14 Aug 2015 13:31:18 -0700 |
| Delivered-to: | pcp@xxxxxxxxxxx |
| Dkim-signature: | v=1; a=rsa-sha1; c=relaxed; d=github.com; h=from:reply-to:to:in-reply-to:references:subject:mime-version:content-type:content-transfer-encoding:list-id:list-archive:list-post:list-unsubscribe; s=s20150108; bh=T+bJXNlIb5O/md67UV1JVFNDpos=; b=qWwHFpG9jSYwmw6f be6qe0mA6J2Zbttd4IcI2LJKlrDGPVXqIAHl7rShrQwedOdtgm2NGQ0CTDp6O3sA PA6A33K+xNxtHvTE+AlN6LbtdtoatT1Q+KHVCLdfwJ3LbVWcyWk3J/E6qBCrVcwe 8gQGPgZQVrb6TxG9GJB4s2IaNsc= |
| In-reply-to: | <performancecopilot/pcp/issues/40@xxxxxxxxxx> |
| List-archive: | https://github.com/performancecopilot/pcp |
| List-id: | performancecopilot/pcp <pcp.performancecopilot.github.com> |
| List-post: | <mailto:reply+00bd08b6972b78df0a9e6e19e01261078d4222874c82342592cf0000000111e6121692a169ce0604d651@reply.github.com> |
| List-unsubscribe: | <mailto:unsub+00bd08b6972b78df0a9e6e19e01261078d4222874c82342592cf0000000111e6121692a169ce0604d651@reply.github.com>, <https://github.com/notifications/unsubscribe/AL0Iti986fMD1AecQXAraPt2-oHh4zW1ks5onkeWgaJpZM4FrkYD> |
| References: | <performancecopilot/pcp/issues/40@xxxxxxxxxx> |
| Reply-to: | performancecopilot/pcp <reply+00bd08b6972b78df0a9e6e19e01261078d4222874c82342592cf0000000111e6121692a169ce0604d651@xxxxxxxxxxxxxxxx> |
|
I suspect there are a number of conceptual problems here. If a metric (x) is a counter, then the value of the metric is monotonic increasing from some arbitrary point in the past (usually boot time or pmda start time). Now if I represent the value of x at time t as x(t), then typically what one is interested in is the rate at which x increases over a time period, so this is (x(t2)-x(t1))/(t2-t1). This is exactly what pmie will report for a counter. The is exactly what sar, iostat, vmstat, top, et al report for things like cpu use, disk i/os, network packets, network bytes in and out, ... If you really want the value of the counter right now then use pminfo or the instant operator for pmie. Secondly, disk.dev.total is a metric defined over an instance domain (one value per disk) so to pmie this has a set value, and the pmie rules you're using are syntactically incorrect. This is what you probably need: and as you can see from the output below ... there is no value for the rate converted metric at the first sample and the after the rate = the difference in the raw numbers / 2 (the update interval, via -t) — |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: New pmlognow utility, Frank Ch. Eigler |
|---|---|
| Next by Date: | Re: [pcp] Files missing from /usr/share/pcp/lib after installing the .deb packages (#39), Ken McDonell |
| Previous by Thread: | Re: [pcp] pmie and pminfo (#40), pcpuser001 |
| Next by Thread: | Re: [pcp] pmie and pminfo (#40), Nathan Scott |
| Indexes: | [Date] [Thread] [Top] [All Lists] |