home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!cs.utexas.edu!chinacat!rpp386!jfh
- From: jfh@rpp386.lonestar.org (John F. Haugh II)
- Newsgroups: comp.unix.admin
- Subject: Re: Accounting on inittab jobs
- Message-ID: <21203@rpp386.lonestar.org>
- Date: 26 Jul 92 19:12:04 GMT
- References: <1992Jul24.183129.12740@druid.uucp>
- Reply-To: jfh@rpp386.cactus.org (John F. Haugh II)
- Organization: River Parishes Programming, Austin, Republic of Texas
- Lines: 24
-
- In article <1992Jul24.183129.12740@druid.uucp> darcy@druid.uucp (D'Arcy J.M. Cain) writes:
- >I am running a SVR4 (Esix) system. The jobs generated in inittab don't
- >seem to show up in system accounting. I even tried acct(2) from the
- >program. Programs started from the rc scripts don't seem to show up
- >either. How do I get stats on these programs? Post or email - I will
- >summarize to the net.
-
- You need to make certain that accounting was enabled at the time the
- command exited. The code for exit() checks to see if accounting is
- turned on and will write out the accounting record if and only if
- accounting is enabled at that time.
-
- It may be that accounting hasn't been turned on just yet (I run
- accton almost dead last in my /etc/rc) and so you aren't seeing it.
-
- It may also be that your accounting file is being removed/replaced
- at some later time in the /etc/rc file. At the top of /etc/rc you
- might try starting accounting on some file other than /usr/adm/pacct
- or its SVR4 equivalent.
- --
- John F. Haugh II | Vida en La Republica de Tejas:
- Ma Bell: (512) 251-2151 | A Tejana woman, after spending the rent
- UUCP: ...!cs.utexas.edu!rpp386!jfh | money on the Tejas Lottery - "I can't go
- Domain: jfh@rpp386.cactus.org | home, my husband will beat me up."
-