home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / unix / wizards / 3333 < prev    next >
Encoding:
Internet Message Format  |  1992-07-27  |  1020 b 

  1. Path: sparky!uunet!usc!cs.utexas.edu!rutgers!princeton!silence!jay
  2. From: jay@silence.princeton.nj.us (Jay Plett)
  3. Newsgroups: comp.unix.wizards
  4. Subject: Re: sa -e ????
  5. Message-ID: <840@silence.princeton.nj.us>
  6. Date: 28 Jul 92 01:18:57 GMT
  7. References: <31482@adm.brl.mil> <1992Jul23.143726.12180@news.eng.convex.com> <1992Jul27.155418.9036@news.eng.convex.com>
  8. Organization: Access, Inc.
  9. Lines: 15
  10.  
  11. In article <1992Jul27.155418.9036@news.eng.convex.com>, tchrist@convex.COM (Tom Christiansen) writes:
  12. > Given sys/acct.h, you could very easily write either a Perl or a C
  13. > program to emulate what my "sa -e" does.
  14.  
  15. Well, it's pretty easy once you've figured out how to interpret
  16. all of the fields in the accounting file (sys/acct.h isn't always
  17. awfully helpful with this).
  18.  
  19. A C program which formats the accounting file according to
  20. printf-like arguments is available by anonymous ftp in
  21. pub/facct.tar.Z on ee-ftp.princeton.edu.  It works on SunOS
  22. and Convex-OS and should be fairly easy to port to other
  23. systems.
  24.  
  25.     ...jay
  26.