pcp
[Top] [All Lists]

Re: [pcp] pmlogger_daily question/patch

To: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Subject: Re: [pcp] pmlogger_daily question/patch
From: Martins Innus <minnus@xxxxxxxxxxx>
Date: Wed, 09 Apr 2014 08:53:57 -0400
Cc: PCP Mailing List <pcp@xxxxxxxxxxx>
Delivered-to: pcp@xxxxxxxxxxx
In-reply-to: <5344E3BF.5060605@xxxxxxxxxxxxxxxx>
References: <530D0B02.6080208@xxxxxxxxxxx> <5344E3BF.5060605@xxxxxxxxxxxxxxxx>
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:24.0) Gecko/20100101 Thunderbird/24.3.0

On 4/9/14 2:07 AM, Ken McDonell wrote:
On 26/02/14 08:28, Martins Innus wrote:
Hi,

      We use the attached patch on pmlogger_daily to prevent daily log
merging.  We do this so we can use rsync throughout the day to backup
the logs and not take a big hit syncing the daily log once a day.  Is
this something that would be acceptable or is there a better way to do it?

Martins,

I want to expand the -M option to mean, ...
- do not rewrite with pmlogrewrite, and
- do not merge with pmextract via pmlogger_merge, and
- do not rename with pmlogmv [I just committed a change for this optimization]

Does that match your intent/hope?

It is easier to outlaw all 3 when -M is specififed, rather than just the merge case alone. And any of the above will mess with your rsync.

Lemme know.
Ken,

    That is perfect, thanks.

Martins

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