pcp
[Top] [All Lists]

Re: [pcp] New pmlognow utility

To: pcp@xxxxxxxxxxx
Subject: Re: [pcp] New pmlognow utility
From: Marko Myllynen <myllynen@xxxxxxxxxx>
Date: Fri, 14 Aug 2015 09:33:12 +0300
Delivered-to: pcp@xxxxxxxxxxx
In-reply-to: <55CCF097.7070902@xxxxxxxxxxx>
Organization: Red Hat
References: <55CCF097.7070902@xxxxxxxxxxx>
Reply-to: myllynen@xxxxxxxxxx
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.8.0
Hi,

On 2015-08-13 22:31, Martins Innus wrote:
> Hi,
>     We have been using for a while now a utility that lets us do
> instantaneous logging.
> 
> Basically we have the need to at various specified moments log the state
> of the machine while still having the primary logger keep running.
> 
> Let me know if there would be any objections

this looks like a nice addition to me.

> pmlognow -s -p job-1000-begin- -d /var/log/pcp/pmlogger/HOSTNAME -c
> /etc/pcp/pmlogger/pmlogger-config.ubccr
> 
> Would produce an archive file with the following prefix:
> 
> job-1000-begin-20150813.11.41.35
> 
> "-s" adds seconds to the filename
> "-p" allows a prefix
> "-d" directory to log to
> "-c" existing pmlogger config file to use

Thanks,

-- 
Marko Myllynen

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