Re: kernel/acct.c and testing for accounting still running?

From: Robin H. Johnson
Date: Thu Oct 09 2008 - 17:21:38 EST


On Wed, Oct 08, 2008 at 07:40:28PM +0400, Alexey Dobriyan wrote:
> On Tue, Oct 07, 2008 at 04:53:31PM -0700, Robin H. Johnson wrote:
> > Could we expose acct_list in sysfs or procfs, as uid:0, gid:0, perms
> > 0600?
> What other OS do in this respect?
Searching indicates that FreeBSD exports two sysctls, acct_configured
and acct_suspended.

I'm not sure from reading their source if they support multiple
concurrent accounting targets , as I'm not familar with their VFS code.
(Linux does, and you can see it used if you start use bootchart in an
init that also brings up a normal accounting instance)

--
Robin Hugh Johnson
Gentoo Linux Developer & Infra Guy
E-Mail : robbat2@xxxxxxxxxx
GnuPG FP : 11AC BA4F 4778 E3F6 E4ED F38E B27B 944E 3488 4E85

Attachment: pgp00000.pgp
Description: PGP signature