Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 5 Sep 2000 12:37:50 +0200 (CEST)
From:      Paul Herman <pherman@frenchfries.net>
To:        Odhiambo Washington <vedette@iconnect.co.ke>
Cc:        FreeBSD-Questions <freebsd-questions@FreeBSD.ORG>
Subject:   Re: /var/account
Message-ID:  <Pine.BSF.4.21.0009051233120.1183-100000@bagabeedaboo.security.at12.de>
In-Reply-To: <20000905123015.C84333@siafu.iconnect.co.ke>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.21.0009051233120.1183-100000>