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