From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-1.0 required=5.0 tests=MAILING_LIST_MULTI, RCVD_IN_DNSWL_NONE autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 26669 invoked from network); 5 Jul 2021 19:26:37 -0000 Received: from minnie.tuhs.org (45.79.103.53) by inbox.vuxu.org with ESMTPUTF8; 5 Jul 2021 19:26:37 -0000 Received: by minnie.tuhs.org (Postfix, from userid 112) id AB66C9CA5C; Tue, 6 Jul 2021 05:26:34 +1000 (AEST) Received: from minnie.tuhs.org (localhost [127.0.0.1]) by minnie.tuhs.org (Postfix) with ESMTP id 76C509C9F1; Tue, 6 Jul 2021 05:25:46 +1000 (AEST) Received: by minnie.tuhs.org (Postfix, from userid 112) id 2DC6F9C9F1; Tue, 6 Jul 2021 05:25:43 +1000 (AEST) Received: from sdaoden.eu (sdaoden.eu [217.144.132.164]) by minnie.tuhs.org (Postfix) with ESMTPS id 41C029C9F0 for ; Tue, 6 Jul 2021 05:25:42 +1000 (AEST) Received: from kent.sdaoden.eu (kent.sdaoden.eu [10.5.0.2]) by sdaoden.eu (Postfix) with ESMTPS id 67D0116056; Mon, 5 Jul 2021 21:25:39 +0200 (CEST) Received: by kent.sdaoden.eu (Postfix, from userid 1000) id 36FEB11C2A; Mon, 5 Jul 2021 21:25:37 +0200 (CEST) Date: Mon, 05 Jul 2021 21:25:37 +0200 Author: Steffen Nurpmeso From: Steffen Nurpmeso To: John Cowan Message-ID: <20210705192537.oT7gj%steffen@sdaoden.eu> In-Reply-To: References: <20210705134159.jR0uH%steffen@sdaoden.eu> Mail-Followup-To: John Cowan , The Eunuchs Hysterical Society User-Agent: s-nail v14.9.22-170-g4fc3932ea4 OpenPGP: id=EE19E1C1F2F7054F8D3954D8308964B51883A0DD; url=https://ftp.sdaoden.eu/steffen.asc; preference=signencrypt BlahBlahBlah: Any stupid boy can crush a beetle. But all the professors in the world can make no bugs. Subject: Re: [TUHS] Binary log files X-BeenThere: tuhs@minnie.tuhs.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: The Unix Heritage Society mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: The Eunuchs Hysterical Society Errors-To: tuhs-bounces@minnie.tuhs.org Sender: "TUHS" John Cowan wrote in : |On Mon, Jul 5, 2021 at 9:42 AM Steffen Nurpmeso wrote: | |And how did you handle it? | |The simplest way to truncate the file is with truncate or just ">file", |since writes are small enough to be atomic. The sa utility, which also Hm, ok, sure. I thought maybe, you know. Availability of some weeks or the quarter of a year is a good thing (tm). |goes back to v7, will summarize process accounting data and write it to a |different file; it can then report on either unsummarized data or |summarized data before unsummarized data). Unfortunately Linux has broken |the wtmp/utmp convention of "no logfile, no logging", so a cron job to |truncate wtmp is your only man. Too bad weather to make something out of that. The fruits of South Africa were so sweet that we hoped for a good summer. Well 2000 KM more southern it is, but that Island low pressure area now lies in front of Ireland i think, what a mess. Yes the script is not atomic, but good enough for very occasional usage by a logged in administrator. --steffen | |Der Kragenbaer, The moon bear, |der holt sich munter he cheerfully and one by one |einen nach dem anderen runter wa.ks himself off |(By Robert Gernhardt)