pcp
[Top] [All Lists]

Re: How to do data reduction on a machine different from the data col le

To: "Rapacki, George R" <george.r.rapacki@xxxxxxxx>
Subject: Re: How to do data reduction on a machine different from the data col lection machine?
From: Mark Goodwin <markgw@xxxxxxx>
Date: Mon, 3 Jun 2002 10:09:21 +1000 (EST)
Cc: Linux Perf CoPilot Majordomo <pcp@xxxxxxxxxxx>
In-reply-to: <74A47D1AB3E9D511B24800508BF903AE02B619AD@emss02m11.ems.lmco.com>
Sender: owner-pcp@xxxxxxxxxxx
On Fri, 31 May 2002, Rapacki, George R wrote:

> I have used pmlogger to collect performance data on our ds1 server.   I can
> use pmval on the ds1 server to see the metric values.    When I copy the
> archive files and the pmns to another machine with PCP (Apollo) and try to
> run pmval or pminfo or pmdumplog I get an error, specifically:
> 
> pmval -z -a test2.ds1 -n ./pmns/root kernel.all.cpu.idle
> pmval: Cannot open archive "test2.ds1": Illegal label record at start of a
> PCP archive log file
> 
> Any suggestions on what I'm missing?

Firstly, you usually don't need to explicitly specify the pmns file
when replaying an archive because the pmns is included in the archive
itself. Does the folowing work:  pmval -z -a test2.ds1 kernel.all.cpu.idle

Otherwise, this error occurs when an archive has been corrupted,
specifically when the archive label is corrupted. Check the three copied
archive files on Apollo are byte-for-byte identical to the originals
on ds1 (use sum or md5sum).  If that's OK, then please post the
archives to me or if you can't do that, send the pmdumplog -L output.

thanks
-- Mark


<Prev in Thread] Current Thread [Next in Thread>
  • Re: How to do data reduction on a machine different from the data col lection machine?, Mark Goodwin <=