pcp
[Top] [All Lists]

[performancecopilot/pcp] pmlogger_daily: 'compress archive data files af

To: performancecopilot/pcp <pcp@xxxxxxxxxxxxxxxxxx>
Subject: [performancecopilot/pcp] pmlogger_daily: 'compress archive data files after N days' seems to be off by one day. (#99)
From: sikadiamond <notifications@xxxxxxxxxx>
Date: Mon, 25 Jul 2016 02:22:58 -0700
Delivered-to: pcp@xxxxxxxxxxx
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=github.com; s=pf2014; t=1469438578; bh=4NZiYxG6XgZPK9/TcOtGrfETGLn6WgBuhqLA5KkC9GM=; h=From:Reply-To:To:Subject:List-ID:List-Archive:List-Post: List-Unsubscribe:From; b=JnQEh4bLDcHdam2HlmE88sAvIhVgDbIt+Re6kBn0I8I339Gr/3k9UUdXIMcFIlAt1 mqeVOKnZTD+cDFiqVRtTiHwO7IJgxUyAL2k4z/t0cefN0VTOd3LXSK2YvRDX5+IusP yoA2IpuaKS5L0DUeLmeXjcCXzFSBjCTDPIQ2mUYE=
List-archive: https://github.com/performancecopilot/pcp
List-id: performancecopilot/pcp <pcp.performancecopilot.github.com>
List-post: <mailto:reply+00bd08b647288a882f0bc97cf4da9dbaa9870f7d1f5d3b3992cf0000000113ad9c7292a169ce09f923be@reply.github.com>
List-unsubscribe: <mailto:unsub+00bd08b647288a882f0bc97cf4da9dbaa9870f7d1f5d3b3992cf0000000113ad9c7292a169ce09f923be@reply.github.com>, <https://github.com/notifications/unsubscribe/AL0Itu_7dNkGGQEUMzx8E-NFjAVuSiWaks5qZIBygaJpZM4JT72N>
Reply-to: performancecopilot/pcp <reply+00bd08b647288a882f0bc97cf4da9dbaa9870f7d1f5d3b3992cf0000000113ad9c7292a169ce09f923be@xxxxxxxxxxxxxxxx>

As executed on todays date:

/usr/lib/pcp/bin/pmlogger_daily -X xz -x 1
ls /var/log/pcp/pmlogger/hostname/
20160710.0.xz   20160711.meta   20160713.0.xz   20160714.index  20160715.meta   20160717.0.xz   20160718.index  20160719.meta   20160721.0.xz   20160722.index  20160723.meta   20160725.00.10.0      20160725.09.05.index  20160725.09.12.meta
20160710.index  20160712.0.xz   20160713.index  20160714.meta   20160716.0.xz   20160717.index  20160718.meta   20160720.0.xz   20160721.index  20160722.meta   20160724.0      20160725.00.10.index  20160725.09.05.meta   Latest
20160711.0.xz   20160712.index  20160713.meta   20160715.0.xz   20160716.index  20160717.meta   20160719.0.xz   20160720.index  20160721.meta   20160723.0      20160724.index  20160725.00.10.meta   20160725.09.12.0      pmlogger.log
20160711.index  20160712.meta   20160714.0.xz   20160715.index  20160716.meta   20160718.0.xz   20160719.index  20160720.meta   20160722.0.xz   20160723.index  20160724.meta   20160725.09.05.0      20160725.09.12.index  pmlogger.log.prior

20160722.0.xz is het last compressed archive...

/usr/lib/pcp/bin/pmlogger_daily -X xz -x 0
ls /var/log/pcp/pmlogger/hostname/
20160710.0.xz   20160711.meta   20160713.0.xz   20160714.index  20160715.meta   20160717.0.xz   20160718.index  20160719.meta   20160721.0.xz   20160722.index  20160723.meta   20160725.00.10.0      20160725.09.05.index  20160725.09.12.meta   Latest
20160710.index  20160712.0.xz   20160713.index  20160714.meta   20160716.0.xz   20160717.index  20160718.meta   20160720.0.xz   20160721.index  20160722.meta   20160724.0      20160725.00.10.index  20160725.09.05.meta   20160725.09.13.0      pmlogger.log
20160711.0.xz   20160712.index  20160713.meta   20160715.0.xz   20160716.index  20160717.meta   20160719.0.xz   20160720.index  20160721.meta   20160723.0.xz   20160724.index  20160725.00.10.meta   20160725.09.12.0      20160725.09.13.index  pmlogger.log.prior
20160711.index  20160712.meta   20160714.0.xz   20160715.index  20160716.meta   20160718.0.xz   20160719.index  20160720.meta   20160722.0.xz   20160723.index  20160724.meta   20160725.09.05.0      20160725.09.12.index  20160725.09.13.meta

Now 20160723.0.xz is het last compressed archive, but one would expect with 0 days to have 20160724.0 compressed as well, unless I am missing something.


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.

<Prev in Thread] Current Thread [Next in Thread>
  • [performancecopilot/pcp] pmlogger_daily: 'compress archive data files after N days' seems to be off by one day. (#99), sikadiamond <=