Re: Accounting disabled/enabled messages

2011-09-05 Thread Dan Nelson
In the last episode (Sep 05), David J. Weller-Fahy said:
 I noticed today the following entries in my dmesg.
 
 #v+
 Accounting enabled
 Accounting disabled
 Accounting enabled
 Accounting disabled
 Accounting enabled
 Accounting disabled
 Accounting enabled
 #v-
 
 The uname -a follows.
 
 FreeBSD NAStie 9.0-BETA1 FreeBSD 9.0-BETA1 #0: Thu Jul 28 16:34:16 UTC 2011   
   r...@obrian.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  i386
 
 I tracked the actual messages down to /usr/src/sys/kern/kern_acct.c, but
 am not familiar enough with kernel internals to figure out why its
 happening.  It *looks* like its happening every time I reboot the system
 (been playing around with the power).  However, I want to be sure, and
 figured I'd check with the list.
 
 So - are these messages something to be concerned about?  Or something
 to ignore?  Or something to ignore in a BETA environment, and not in a
 production environment?

Assuming you have accounting enabled in /etc/rc.conf, that's to be expected. 
Accounting is enabled on boot, disabled on shutdown, and cycled twice during
/var/account/acct rotation at 3am.  See /etc/rc.d/accounting and
/etc/periodic/daily/310.accounting .

-- 
Dan Nelson
dnel...@allantgroup.com
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Accounting disabled/enabled messages

2011-09-05 Thread David J. Weller-Fahy
* Dan Nelson dnel...@allantgroup.com [2011-09-05 03:26 -0400]:
 Assuming you have accounting enabled in /etc/rc.conf, that's to be
 expected.  Accounting is enabled on boot, disabled on shutdown, and
 cycled twice during /var/account/acct rotation at 3am.  See
 /etc/rc.d/accounting and /etc/periodic/daily/310.accounting .

smacks forehead Thanks!  Apparently my digging in the source precluded
me from looking in the normal places one would look to find these things
out. ;)

Appreciate the nudge.

Regards,
-- 
dave [ please don't CC me ]


pgpVvZfgSxWfk.pgp
Description: PGP signature


Accounting disabled/enabled messages

2011-09-04 Thread David J. Weller-Fahy
I noticed today the following entries in my dmesg.

#v+
Accounting enabled
Accounting disabled
Accounting enabled
Accounting disabled
Accounting enabled
Accounting disabled
Accounting enabled
#v-

The uname -a follows.

FreeBSD NAStie 9.0-BETA1 FreeBSD 9.0-BETA1 #0: Thu Jul 28 16:34:16 UTC 2011 
r...@obrian.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  i386

I tracked the actual messages down to /usr/src/sys/kern/kern_acct.c, but
am not familiar enough with kernel internals to figure out why its
happening.  It *looks* like its happening every time I reboot the system
(been playing around with the power).  However, I want to be sure, and
figured I'd check with the list.

So - are these messages something to be concerned about?  Or something
to ignore?  Or something to ignore in a BETA environment, and not in a
production environment?

Regards,
-- 
dave [ please don't CC me ]


pgpi0jn1szJzD.pgp
Description: PGP signature