From owner-freebsd-stable Tue Apr 25 11:36:24 2000 Delivered-To: freebsd-stable@freebsd.org Received: from freeway.dcfinc.com (cx74889-a.phnx3.az.home.com [24.1.193.157]) by hub.freebsd.org (Postfix) with ESMTP id C923D37B607 for ; Tue, 25 Apr 2000 11:36:21 -0700 (PDT) (envelope-from chad@freeway.dcfinc.com) Received: (from chad@localhost) by freeway.dcfinc.com (8.8.8/8.8.8) id LAA26960; Tue, 25 Apr 2000 11:35:47 -0700 (MST) (envelope-from chad) From: "Chad R. Larson" Message-Id: <200004251835.LAA26960@freeway.dcfinc.com> Subject: Re: Process accounting and logging: What turns the files over? In-Reply-To: <200004251821.LAA26855@freeway.dcfinc.com> from "Chad R. Larson" at "Apr 25, 0 11:19:37 am" To: kris@hiway.net Date: Tue, 25 Apr 2000 11:35:46 -0700 (MST) Cc: stable@FreeBSD.org Reply-To: chad@DCFinc.com X-Mailer: ELM [version 2.4ME+ PL40 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG As I recall, Chad R. Larson wrote: > > Check "man 8 sa". > Sorry, I should have added that my /etc/daily contains: if [ -f /var/account/acct ] ; then echo "" echo "Gathering accounting statistics:" cd /var/account if [ -f acct.2 ] ; then mv -f acct.2 acct.3 ; fi if [ -f acct.1 ] ; then mv -f acct.1 acct.2 ; fi if [ -f acct.0 ] ; then mv -f acct.0 acct.1 ; fi cp -pf acct acct.0 sa -s > /dev/null fi -crl -- Chad R. Larson (CRL15) 602-953-1392 Brother, can you paradigm? chad@dcfinc.com chad@larsons.org larson1@home.net DCF, Inc. - 14623 North 49th Place, Scottsdale, Arizona 85254-2207 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message