pcp
[Top] [All Lists]

Re: [pcp] How to read event data

To: David Smith <dsmith@xxxxxxxxxx>
Subject: Re: [pcp] How to read event data
From: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date: Fri, 25 Feb 2011 06:51:05 +1100
Cc: pcp@xxxxxxxxxxx
In-reply-to: <4D668839.8070402@xxxxxxxxxx>
References: <4D658FE4.2080402@xxxxxxxxxx> <4D668839.8070402@xxxxxxxxxx>
Reply-to: kenj@xxxxxxxxxxxxxxxx
David,

pminfo -x

should be your new best friend.

On Thu, 2011-02-24 at 10:32 -0600, David Smith wrote:
> On 02/23/2011 04:53 PM, David Smith wrote:
> > The latest (3.5.0) version of pcp includes the new event support.  Is
> > there a way to see event data from the command line?  For instance, how
> > would I see the sample.event data?
> > 
> > I've tried using pmval, but that just fails:
> > 
> > # pmval sample.event.records
> > pmval: Cannot display values for PM_TYPE_EVENT metrics
> > 
> > Thanks for the help.
> 
> Here's an attempt using pminfo, which knows there are 5 event records in
> this instance.  I'd like to see inside those event records.
> 
> # pminfo -F sample.event
> sample.event.records
>     value [5 event records (7 missed) timestamps
> 22:34:33.12884901...22:34:37.12884901]
> 


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