home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / unix / wizards / 3285 < prev    next >
Encoding:
Text File  |  1992-07-22  |  2.5 KB  |  55 lines

  1. Newsgroups: comp.unix.wizards
  2. Path: sparky!uunet!cs.utexas.edu!convex!convex!tchrist
  3. From: Tom Christiansen <tchrist@convex.COM>
  4. Subject: Re: sa -e ????
  5. Message-ID: <1992Jul23.143726.12180@news.eng.convex.com>
  6. Originator: tchrist@pixel.convex.com
  7. Sender: usenet@news.eng.convex.com (news access account)
  8. Nntp-Posting-Host: pixel.convex.com
  9. Reply-To: tchrist@convex.COM (Tom Christiansen)
  10. Organization: CONVEX Realtime Development, Colorado Springs, CO
  11. References: <31482@adm.brl.mil>
  12. Date: Thu, 23 Jul 1992 14:37:26 GMT
  13. X-Disclaimer: This message was written by a user at CONVEX Computer
  14.               Corp. The opinions expressed are those of the user and
  15.               not necessarily those of CONVEX.
  16. Lines: 37
  17.  
  18. From the keyboard of bill@toby.transportation.state.mn.us (Hari Seldon psycohistorian):
  19. :then Tom Christiansen <tchrist@convex.com> replied:
  20. :>Use 'sa -e' and postprocess to your heart's content, probably using
  21. :>awk or perl. (Translating group ids to names in awk is not a lot of
  22. :>fun though.)
  23. :
  24. :so tom to reiterate rob, whats the e switch do? inquiring minds want to know.
  25. :not that aix will do it but it's nice to know whats out there :-)
  26.  
  27.      e    Echo records exactly as they appear in the accounting
  28.           file; this option may be used to convert the accounting
  29.           file to ASCII text.  The fields are, in order:  command
  30.           name, timestamp when execution started, total CPU time
  31.           in seconds, TTY name, user ID, group ID, activity ID,
  32.           elapsed time in seconds, CPU storage integral (kilo-
  33.           core seconds), disk I/O blocks, system CPU time in
  34.           seconds, the average level of concurrency (a floating
  35.           point value between one and the number of processors in
  36.           the system, indicating the average number of processors
  37.           dedicated to the process at each clock interval; if
  38.           this value is zero, then that particular accounting
  39.           record was collected prior to CONVEX UNIX Release 7.0),
  40.           and a character flag indicating in which scheduling
  41.           mode the command was executed (f signifies that it ran
  42.           as a fixed-schedule job at least part of the time; d
  43.           represents a dynamic-schedule job (dynamic is the
  44.           default scheduling mode)).  User CPU time may be com-
  45.           puted by subtracting system CPU time from total CPU
  46.           time.  See acct(5) for more information on the account-
  47.           ing file.
  48.  
  49. --tom
  50. -- 
  51.     Tom Christiansen      tchrist@convex.com      convex!tchrist
  52.  
  53.  
  54.     And on the seventh day, He exited from append mode.
  55.