home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!ogicse!mimbres.cs.unm.edu!unmvax!uservx.plk.af.mil!rokosz
- From: rokosz@uservx.plk.af.mil
- Newsgroups: comp.unix.aix
- Subject: want to trace CPU usage by group
- Message-ID: <1992Nov12.124101.36444@uservx.plk.af.mil>
- Date: 12 Nov 92 12:41:01 GMT
- Article-I.D.: uservx.1992Nov12.124101.36444
- Organization: Phillips Laboratory - Kirtland AFB
- Lines: 35
-
-
- We have just installed an RS/6000 and want to charge its users for CPU
- usage. AIX accounting can (apparently) make monthly usage charts per username.
- However, we have users that may want to charge their work to multiple accounts,
- defined by four-digit charge codes. We thought that we could store this
- charge code in the Group ID field for each user as their primary group, as
- well as define additional charge codes for each user in /etc/group. We assumed
- that users could change their group on the fly, thus changing their charge
- code. The problem is that AIX accounting (apparently) doesn't trace usage by
- group. So I have three options:
-
- 1. (preferably) find some way to get AIX accounting to trace usage by
- group - does anyone know how to get this to come about?
-
- 2. keep track of charge codes for each user in some (as yet unknown
- to me) field that AIX accounting CAN trace usage by - does anyone
- know of an additional field to use?
-
- 3. if a user has multiple charge codes, give that user multiple
- accounts to log into, each with a group ID related to each code
-
- Would like to create a monthly report similar to the following:
-
- Username Charge Code CPU usage
- -------- ----------- ---------
- rokosz 3777 xxx secs
- rokosz 2223 xxxx secs
- jonesl 4207 xx secs
- jonesl 3777 xxx secs
- smithb 2223 xxx secs
-
- Randy Rokosz
- rokosz@plk.af.mil
- Phillips Lab - Kirtland
- (505) 846-6108
-