On Mon, Jan 21, 2019 at 03:10:28PM +0100, Sven Hartge wrote:
> On 21.01.19 13:27, Marc Haber wrote:
> > On Mon, Jan 21, 2019 at 01:15:09PM +0100, Sven Hartge wrote:
> 
> >> I think you can just delete all old statistics files, since they are
> >> useless with the new atop. sysstat does this all the time (after a
> >> debconf prompt).
> > 
> > I'd rather go without debconf and gazillions of translations.
> 
> Easiest solution would be to run the rotate script on upgrades from
> <2.4.0 before starting the newly installed version. That way the old
> files are still there, if one needs them but the new daemon starts with
> a clean slate.

This is no direct rotate script, atop gets restarted at midnight with -w
"$LOGPATH"/atop_"$CURDAY", so just restarting the script won't work.

Take a look at /usr/share/atop/atop.daily.

Greetings
Marc

-- 
-----------------------------------------------------------------------------
Marc Haber         | "I don't trust Computers. They | Mailadresse im Header
Leimen, Germany    |  lose things."    Winona Ryder | Fon: *49 6224 1600402
Nordisch by Nature |  How to make an American Quilt | Fax: *49 6224 1600421

Reply via email to