pcp
[Top] [All Lists]

Re: PCP - pmlogger command

To: Nathan Scott <nscott@xxxxxxxxxx>
Subject: Re: PCP - pmlogger command
From: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date: Wed, 03 Sep 2008 09:55:51 +1000
Cc: Sai p Seshasayee <sseshas@xxxxxxxxxx>, pcp@xxxxxxxxxxx
In-reply-to: <1220397079.4714.29.camel@xxxxxxxxxxxxxxxxxx>
References: <OFF5EED115.6BCCDD26-ON852574B8.00471CA1-852574B8.0048D5B0@xxxxxxxxxx> <1220397079.4714.29.camel@xxxxxxxxxxxxxxxxxx>
Reply-to: kenj@xxxxxxxxxxxxxxxx
Sender: pcp-bounce@xxxxxxxxxxx
Nathan beat me to it.

But the other "odd" thing is the sai_logger at the end of the pmlogger
control line.

My guess is this was an attempt at naming the archive, but
pmlogger_check generates the archive name automagically (it is a date
and time stamp) ... so I think that explains the usage message, the lack
of a pmlogger.log file, no archive, etc.

If I use the same control line, I get the same error!

So
1. change the -T1min to -t1min (or drop it entirely and move the logging
intervals into the pmlogger config file where you can choose appropriate
and possibly different intervals per group of metrics)

2. drop the sai_logger at the end of the control line

On Wed, 2008-09-03 at 09:11 +1000, Nathan Scott wrote:
> On Tue, 2008-09-02 at 09:15 -0400, Sai p Seshasayee wrote:
> > 
> > Hi Ken, 
> > 
> > Thanks for your inputs. My host is "xcat20mn". I have only 1 entry in
> > the "/var/lib/pcp/config/pmlogger/control" file but an interesting
> > thing is that I have 2 pmlogger process running (I don't know how).
> 
> You have 2 pmlogger_check processes running (this is a shell script,
> which tries to start pmlogger and can be used to check its running at
> any interval).  You have no pmlogger processes running.
> 
> >From your control file, this line:
> 
> xcat20mn y n PCP_LOG_DIR/pmlogger/xcat20mn -cconfig.base -T1min
> sai_logger
> 
> Looks like "-T1min" may be the problem - that means "terminate after
> 1 minute".  What you want, I suspect, is "-t1min" which means "sample
> every 1 minute by default".
> 
> cheers.
> 
> --
> Nathan
> 
> 


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