pcp
[Top] [All Lists]

Re: How to read event data

To: pcp@xxxxxxxxxxx
Subject: Re: How to read event data
From: David Smith <dsmith@xxxxxxxxxx>
Date: Thu, 24 Feb 2011 10:32:57 -0600
In-reply-to: <4D658FE4.2080402@xxxxxxxxxx>
References: <4D658FE4.2080402@xxxxxxxxxx>
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.13) Gecko/20101209 Fedora/3.1.7-0.35.b3pre.fc14 Lightning/1.0b3pre Thunderbird/3.1.7
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]

-- 
David Smith
dsmith@xxxxxxxxxx
Red Hat
http://www.redhat.com
256.217.0141 (direct)
256.837.0057 (fax)

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