| To: | pcp@xxxxxxxxxxx |
|---|---|
| Subject: | Re: [pcp] Confusion about metricConvert() value for kernel.all.cpu.user |
| From: | Rohan Arora <rarora2012@xxxxxxxxx> |
| Date: | Thu, 6 Aug 2015 16:34:06 -0400 |
| Delivered-to: | pcp@xxxxxxxxxxx |
| Dkim-signature: | v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=TAApDiPSEU1brdPMmw9KJjml3FxjwBLBLtjtlfBZYAc=; b=n4MRxoM/8t8Jsm+uPNAovjscuuN2Utse6GTMT+TMF8qYrsFkJTHzC6hzCVEKEwlVTN 8fbLyI5E2rpH3iP2dLkgQBspQU5w2FJc5uYNy9nuadNK9cD13ZYMnKIKvXvuyCJ8W/x5 FE3fD4UNjTEDH3fUu/5aA9PFFwOSqZEPGS9RpdTsGMSmfmlWthp6awAAPxEqvgLrQ1KC IOaRZzFX4qYlWwgb6v9rqJoRbb/DLduubHyAEQmOYL47sbnOZmQXuFMwJybDZc+21pz1 Ec0+UGzMAidu1v6LP7Voez58fXl6ONsFJri2bGnnE9sE2mXZ51NlLyt8iVQAZcQ9fxJN MRnA== |
| In-reply-to: | <87si7wxjpv.fsf@xxxxxxxxxx> |
| References: | <CANbxzdVdC91nn8WG8MXNu=LjP32ehO4VAa7tKNVuUONOyJh8uA@xxxxxxxxxxxxxx> <87si7wxjpv.fsf@xxxxxxxxxx> |
It depends what you want to do with the final value, but usually interpreting So would the correct way to go about calculating the percentage of user cpu usage be to get the values for ALL cpu metrics, and then do the following? (metricConvert for user) / (sum of metricConvert for all cpu metrics) * 100 Thanks, Rohan On Thu, Aug 6, 2015 at 4:09 PM, Lukas Berk <lberk@xxxxxxxxxx> wrote: Hi, |
| <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: | PMCD Access control question, Chandana De Silva |
| Previous by Thread: | Re: [pcp] Confusion about metricConvert() value for kernel.all.cpu.user, Lukas Berk |
| Next by Thread: | Re: Confusion about metricConvert() value for kernel.all.cpu.user, Frank Ch. Eigler |
| Indexes: | [Date] [Thread] [Top] [All Lists] |