From owner-freebsd-questions Tue Sep 5 3:38: 4 2000 Delivered-To: freebsd-questions@freebsd.org Received: from mail2.netcologne.de (mail2.netcologne.de [194.8.194.103]) by hub.freebsd.org (Postfix) with ESMTP id 5A5A837B43F for ; Tue, 5 Sep 2000 03:38:02 -0700 (PDT) Received: from bagabeedaboo.security.at12.de (dial-195-14-235-125.netcologne.de [195.14.235.125]) by mail2.netcologne.de (8.9.3/8.9.3) with ESMTP id MAA16263; Tue, 5 Sep 2000 12:38:00 +0200 (MET DST) Received: from localhost (localhost.security.at12.de [127.0.0.1]) by bagabeedaboo.security.at12.de (8.11.0/8.11.0) with ESMTP id e85Abo602369; Tue, 5 Sep 2000 12:37:50 +0200 (CEST) (envelope-from pherman@frenchfries.net) Date: Tue, 5 Sep 2000 12:37:50 +0200 (CEST) From: Paul Herman To: Odhiambo Washington Cc: FreeBSD-Questions Subject: Re: /var/account In-Reply-To: <20000905123015.C84333@siafu.iconnect.co.ke> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Tue, 5 Sep 2000, Odhiambo Washington wrote: > Does anyone know which process writes to this directory??? I have > a file there that grows wildly and I need to manage this process. The file /var/account/acct is written to directly by the kernel. This allows you to use the commands lastcomm(1) and sa(8) for process accounting. It usualy isn't a problem, because the file size is kept at bay by /etc/periodic/daily/310.accounting If you choose, you can turn of process accounting all together with either accton(8) or accounting_enable="NO" in /etc/rc.conf -Paul. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message