|
|
1.1 root 1: /*
2: * /usr/include/sys/acct.h
3: *
4: * Accounting structure.
5: *
6: * Revised: Tue Apr 27 08:43:34 1993 CDT
7: */
8: #ifndef __SYS_ACCT_H__
9: #define __SYS_ACCT_H__
10:
11: #include <sys/types.h>
12: #include <sys/_time.h>
13:
14: typedef unsigned short comp_t;
15:
16:
17: struct acct {
18: char ac_comm[10]; /* Command name */
19: comp_t ac_utime; /* User time */
20: comp_t ac_stime; /* System time */
21: comp_t ac_etime; /* Elapsed time */
22: time_t ac_btime; /* Beginning time of process */
23: short ac_uid; /* User id */
24: short ac_gid; /* Group id */
25: short ac_mem; /* Average memory usage */
26: comp_t ac_io; /* Number of disk I/O blocks */
27: dev_t ac_tty; /* Control typewriter */
28: char ac_flag; /* Accounting flag */
29: };
30:
31: /*
32: * Flags (ac_flag).
33: */
34: #define AFORK 01 /* Execute fork, but not exec */
35: #define ASU 02 /* Used super user privileges */
36:
37: #endif
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.