pcp
[Top] [All Lists]

Re: [pcp] pmrep: improve vmstat example

To: pcp@xxxxxxxxxxx
Subject: Re: [pcp] pmrep: improve vmstat example
From: Mark Goodwin <mgoodwin@xxxxxxxxxx>
Date: Mon, 14 Dec 2015 15:38:39 +1000
Delivered-to: pcp@xxxxxxxxxxx
In-reply-to: <343229362.40303291.1450069294536.JavaMail.zimbra@xxxxxxxxxx>
References: <566D91D9.20900@xxxxxxxxxx> <343229362.40303291.1450069294536.JavaMail.zimbra@xxxxxxxxxx>
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.4.0
On 12/14/2015 03:01 PM, Nathan Scott wrote:
Hi Marko,

----- Original Message -----
Hi,

Mark showed how to get real percentages for different CPU usage
categories, let's update the pmrep's vmstat example accordingly.

---
  src/pmrep/TODO       |  3 ++-
  src/pmrep/pmrep.conf | 30 +++++++++++++++++++++---------
  2 files changed, 23 insertions(+), 10 deletions(-)


I just noticed we are not installing this pmrep.conf anywhere ...
(so its hard to QA test ;) - should we be?

Perhaps to /var/lib/pcp/config/pmrep/pmrep.conf or would a file
name more like "sample.conf" be more suitable?

It'd be good if pmrep.conf was installed somewhere and loaded automatically,
as a library of pmrep defs. We could then extend it over time and build
up a really useful library. It'd be handy ... roll your own perf tool on
the cmdline from existing library defs and a few more to suit the occasion :)



<Prev in Thread] Current Thread [Next in Thread>