1 /* acct.h 4.3 81/03/09 */ 2 3 /* 4 * Accounting structures; 5 * these use a comp_t type which is a 3 bits base 8 6 * exponent, 13 bit fraction ``floating point'' number. 7 */ 8 typedef u_short comp_t; 9 10 struct acct 11 { 12 char ac_comm[10]; /* Accounting command name */ 13 comp_t ac_utime; /* Accounting user time */ 14 comp_t ac_stime; /* Accounting system time */ 15 comp_t ac_etime; /* Accounting elapsed time */ 16 time_t ac_btime; /* Beginning time */ 17 short ac_uid; /* Accounting user ID */ 18 short ac_gid; /* Accounting group ID */ 19 short ac_mem; /* average memory usage */ 20 comp_t ac_io; /* number of disk IO blocks */ 21 dev_t ac_tty; /* control typewriter */ 22 char ac_flag; /* Accounting flag */ 23 }; 24 25 #define AFORK 01 /* has executed fork, but no exec */ 26 #define ASU 02 /* used super-user privileges */ 27