| To: | "pcp@xxxxxxxxxxx" <pcp@xxxxxxxxxxx> |
|---|---|
| Subject: | Confusion about metricConvert() value for kernel.all.cpu.user |
| From: | Rohan Arora <rarora2012@xxxxxxxxx> |
| Date: | Thu, 06 Aug 2015 13:21:51 +0000 |
| Delivered-to: | pcp@xxxxxxxxxxx |
| Dkim-signature: | v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:from:date:message-id:subject:to:content-type; bh=iMd9gJ7iV3ILHKQ8CYgZb106q4DZm4LkSnLgpIT5n+U=; b=CtgSwVkV53wtO4lC4glrlg7vCG+FqEeeeBWbtDgpTmKKkoHNQmDaV1U441TMel9jjX vJgv3uefWd+i/6hYcqFXtsH7rGFTH6Bfc2C2WVoTkpdn0rp7yZ4Ya0C66LKQrB+lD+G6 KvR8ci74hU5GMohHq5HVynz3ScbGQjBmVDoIC6Dbpxp/IRNCF1+DLA1OIibNJAePCBto mz6kfu67MLxZNeQdMU7/xxqOQzcfLlVIx98wF3lAeUEGBuynyIA05f3oZsMga2lFxdb6 J441zZfjCCCJBr06SFk92AFc3N107XrNfeSsIEdiS1+so2U2cN+gkRuRbyWoNediZqx8 YrgA== |
|
I am using the Python API, and if I run a couple of mgFetch() calls using the MetricGroup class, and then use the metricConvert() function, I end up getting a value likeÂ308.4132647893692. I had thought that to convert this rate converted value to a percentage, all I had to do was multiply by 100, but that would result in 30,800% of the CPU being used, and that is just by the user.Â
Also, these numbers that I am getting don't seem to correspond with the user CPU usage being reported by "top" in terms of a straight multiplication or division at least. It matches "top" when the user CPU usage is 0.0%, but other than that I am not really seeing the correlation. Could anyone point me in the right direction? Thanks, Rohan |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | [Bug 1250894] pcp fails on ppc64 with installed unpackaged files, bugzilla |
|---|---|
| Next by Date: | Re: [pcp] Confusion about metricConvert() value for kernel.all.cpu.user, Lukas Berk |
| Previous by Thread: | Bug#789376: marked as done (missing licenses in debian/copyright), Debian Bug Tracking System |
| Next by Thread: | Re: [pcp] Confusion about metricConvert() value for kernel.all.cpu.user, Lukas Berk |
| Indexes: | [Date] [Thread] [Top] [All Lists] |