home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #26 / NN_1992_26.iso / spool / comp / unix / aix / 11543 < prev    next >
Encoding:
Internet Message Format  |  1992-11-12  |  2.0 KB

  1. Path: sparky!uunet!ogicse!mimbres.cs.unm.edu!unmvax!uservx.plk.af.mil!rokosz
  2. From: rokosz@uservx.plk.af.mil
  3. Newsgroups: comp.unix.aix
  4. Subject: want to trace CPU usage by group
  5. Message-ID: <1992Nov12.124101.36444@uservx.plk.af.mil>
  6. Date: 12 Nov 92 12:41:01 GMT
  7. Article-I.D.: uservx.1992Nov12.124101.36444
  8. Organization: Phillips Laboratory - Kirtland AFB
  9. Lines: 35
  10.  
  11.  
  12.      We have just installed an RS/6000 and want to charge its users for CPU
  13. usage.  AIX accounting can (apparently) make monthly usage charts per username.
  14. However, we have users that may want to charge their work to multiple accounts,
  15. defined by four-digit charge codes.  We thought that we could store this
  16. charge code in the Group ID field for each user as their primary group, as
  17. well as define additional charge codes for each user in /etc/group.  We assumed
  18. that users could change their group on the fly, thus changing their charge
  19. code.  The problem is that AIX accounting (apparently) doesn't trace usage by
  20. group.  So I have three options:
  21.  
  22.     1.  (preferably) find some way to get AIX accounting to trace usage by
  23.             group - does anyone know how to get this to come about?
  24.  
  25.     2.  keep track of charge codes for each user in some (as yet unknown
  26.             to me) field that AIX accounting CAN trace usage by - does anyone
  27.             know of an additional field to use?
  28.  
  29.     3.  if a user has multiple charge codes, give that user multiple
  30.             accounts to log into, each with a group ID related to each code
  31.  
  32.      Would like to create a monthly report similar to the following:
  33.  
  34.      Username            Charge Code            CPU usage
  35.      --------            -----------            ---------
  36.      rokosz                3777                    xxx secs
  37.      rokosz                2223                   xxxx secs
  38.      jonesl                4207                     xx secs
  39.      jonesl                3777                    xxx secs
  40.      smithb                2223                    xxx secs
  41.  
  42.                         Randy Rokosz
  43.                         rokosz@plk.af.mil
  44.                         Phillips Lab - Kirtland
  45.                         (505) 846-6108
  46.