pcp
[Top] [All Lists]

pmval quietness &c

To: pcp@xxxxxxxxxxx
Subject: pmval quietness &c
From: tfb@xxxxxxxx
Date: Mon, 22 Dec 2003 10:37:40 +0000
Sender: pcp-bounce@xxxxxxxxxxx
User-agent: Demon-WebMail/2.0
I want to use pcp to generate some statistics which I'm going to draw pictures 
of, on linux boxes.  What I'm doing is using pmval to generate numbers, and 
then feeding this to gnuplot to make gifs &c.  Obviously this is a bit 
primitive compared to the tools available on SGIs, but it works OK.

Before I reinvent too many wheels, are there better tools (or even the same 
tools written by someone else!) to do this under Linux? I can't see any 
referenced, but I may well be missing something.

I have some (slightly ad-hoc) patches to pmval to make it a good deal less 
verbose, so you don't need to do lots of work to strip off all the headers &c 
when feeding it to a script.  Controlled by a switch (-q).  Would patches like 
this be interesting? I can clean them up & send them if so. May be there's a 
better tools than pmval for extracting data though.

Finally, the installation scripts for various of the pmdas really won't work 
unless run interactively & make various assumptions about things which I'd 
rather they didn't.  For instance the weblog pmda is very hard to install 
noninteractively, and almost impossible to install unless it can find an 
existing server to log.  It ought to be possible to have a script which says 
`just install yourself with a config file which does nothing, I will edit it to 
tell you where the servers are later'.  I have a really hacky fix for this, but 
it's too hacky to use for real (it just replaces one of the scripts with one 
that just lies).

Thanks

--tim 


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