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

  1. Path: sparky!uunet!dtix!darwin.sura.net!convex!convex!tchrist
  2. From: tchrist@convex.COM (Tom Christiansen)
  3. Newsgroups: comp.unix.wizards
  4. Subject: Re: sa -e ????
  5. Message-ID: <1992Jul27.155418.9036@news.eng.convex.com>
  6. Date: 27 Jul 92 15:54:18 GMT
  7. References: <31482@adm.brl.mil> <1992Jul23.143726.12180@news.eng.convex.com> <hvanbyv2@csv.warwick.ac.uk>
  8. Sender: usenet@news.eng.convex.com (news access account)
  9. Reply-To: tchrist@convex.COM (Tom Christiansen)
  10. Organization: CONVEX Realtime Development, Colorado Springs, CO
  11. Lines: 25
  12. Originator: tchrist@pixel.convex.com
  13. Nntp-Posting-Host: pixel.convex.com
  14. X-Disclaimer: This message was written by a user at CONVEX Computer
  15.               Corp. The opinions expressed are those of the user and
  16.               not necessarily those of CONVEX.
  17.  
  18. From the keyboard of cudcv@warwick.ac.uk (Rob McMahon):
  19. :In article <1992Jul23.143726.12180@news.eng.convex.com> tchrist@convex.COM
  20. :(Tom Christiansen) writes:
  21. :>     e    Echo records exactly as they appear in the accounting file; this
  22. :>          option may be used to convert the accounting file to ASCII text.
  23. :
  24. :Sounds useful, sounds like it only exists on the Convex.  SunOS 4.1.2 says
  25. :
  26. :cudcv (3495) > sa -e
  27. :Invalid option e
  28. :5.750u 12.030s 0:59.99 29.6% 0+139k 2+0io 2pf+0w
  29. :Exit 1
  30. :cudcv (3496) > 
  31. :
  32. :Note that it takes nearly 16 seconds process time to say that!
  33.  
  34. Given sys/acct.h, you could very easily write either a Perl or a C
  35. program to emulate what my "sa -e" does.
  36.  
  37. --tom
  38. -- 
  39.     Tom Christiansen      tchrist@convex.com      convex!tchrist
  40.     If you have ever seen the grim word "login:" on a screen, your mind
  41.     is now a wholly-owned subsidiary of The Death Star.
  42.                 John Woods in <14105@ksr.com> of comp.unix.bsd
  43.