*BSD News Article 32886


Return to BSD News archive

Path: sserve!newshost.anu.edu.au!munnari.oz.au!quagga.ru.ac.za!Braae!g89r4222
From: csgr@cs.ru.ac.za (Geoff Rehmet)
Newsgroups: comp.os.386bsd.misc
Subject: Re: Accounting
Date: 17 Jul 1994 09:37:40 GMT
Organization: Rhodes University Computing Services
Lines: 27
Message-ID: <30au54$es4@quagga.ru.ac.za>
References: <307cph$en9@nic.cerf.net>
Reply-To: csgr@cs.ru.ac.za
NNTP-Posting-Host: braae.ru.ac.za
X-Newsreader: NN version 6.5.0 #4 (NOV)

In <307cph$en9@nic.cerf.net> markb@nic.cerf.net (Mark S. Burgess) writes:

>Can't seem to find the sa utility and the instructions for 
>creating the acct device. Does anyone know where these might
>be found? 

sa and ac are both now in FreeBSD and NetBSD (I'm not sure of their
exact status in NetBSD, but you will find them in FreeBSD 1.1.5 and
1.1.5.1.  (You can get them out of the unpacked FreeBSD-current tree
which is on freebsd.cdrom.com - they are in usr.sbin.)

In FreeBSD there is no manual for accton(8), but the command to turn on
accounting in in /etc/rc (commented out):

# echo 'turning on accounting'; accton /var/account/acct

You will need to touch /var/account/acct before doing this.

(The sa and ac utilities in FreeBSD and NetBSD were written by 
Chris Demetriou.)

Geoff.
--
 Geoff Rehmet, Computer Science Department,   | ____   _ o         /\
  Rhodes University,  South Africa            |___  _-\_<,        / /\/\
 FreeBSD core team                            |    (*)/'(*)    /\/ /  \ \
     csgr@cs.ru.ac.za, csgr@freefall.cdrom.com, geoff@neptune.ru.ac.za