home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / unix / admin / 4330 < prev    next >
Encoding:
Internet Message Format  |  1992-07-26  |  1.7 KB

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