* kernel/acct.c and testing for accounting still running?
@ 2008-10-07 23:53 Robin H. Johnson
2008-10-08 15:40 ` Alexey Dobriyan
0 siblings, 1 reply; 3+ messages in thread
From: Robin H. Johnson @ 2008-10-07 23:53 UTC (permalink / raw)
To: linux-kernel
[-- Attachment #1: Type: text/plain, Size: 437 bytes --]
I ran into a bit of flapping with my init.d acct lately, and in tracing
why, I noticed that there seems to be absolutely no way that the kernel
exposes to show that it's running any accounting.
Could we expose acct_list in sysfs or procfs, as uid:0, gid:0, perms
0600?
--
Robin Hugh Johnson
Gentoo Linux Developer & Infra Guy
E-Mail : robbat2@gentoo.org
GnuPG FP : 11AC BA4F 4778 E3F6 E4ED F38E B27B 944E 3488 4E85
[-- Attachment #2: Type: application/pgp-signature, Size: 329 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: kernel/acct.c and testing for accounting still running?
2008-10-07 23:53 kernel/acct.c and testing for accounting still running? Robin H. Johnson
@ 2008-10-08 15:40 ` Alexey Dobriyan
2008-10-09 21:03 ` Robin H. Johnson
0 siblings, 1 reply; 3+ messages in thread
From: Alexey Dobriyan @ 2008-10-08 15:40 UTC (permalink / raw)
To: Robin H. Johnson; +Cc: linux-kernel
On Tue, Oct 07, 2008 at 04:53:31PM -0700, Robin H. Johnson wrote:
> I ran into a bit of flapping with my init.d acct lately, and in tracing
> why, I noticed that there seems to be absolutely no way that the kernel
> exposes to show that it's running any accounting.
>
> Could we expose acct_list in sysfs or procfs, as uid:0, gid:0, perms
> 0600?
What other OS do in this respect?
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: kernel/acct.c and testing for accounting still running?
2008-10-08 15:40 ` Alexey Dobriyan
@ 2008-10-09 21:03 ` Robin H. Johnson
0 siblings, 0 replies; 3+ messages in thread
From: Robin H. Johnson @ 2008-10-09 21:03 UTC (permalink / raw)
To: Alexey Dobriyan; +Cc: Robin H. Johnson, linux-kernel
[-- Attachment #1: Type: text/plain, Size: 778 bytes --]
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@gentoo.org
GnuPG FP : 11AC BA4F 4778 E3F6 E4ED F38E B27B 944E 3488 4E85
[-- Attachment #2: Type: application/pgp-signature, Size: 329 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2008-10-09 21:21 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-10-07 23:53 kernel/acct.c and testing for accounting still running? Robin H. Johnson
2008-10-08 15:40 ` Alexey Dobriyan
2008-10-09 21:03 ` Robin H. Johnson
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®