mirror of
https://github.com/freebsd/freebsd-src
synced 2024-11-05 18:22:52 +00:00
Update to reflect current acct.h.
This commit is contained in:
parent
ad2c737e4f
commit
9136a887b6
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=22055
1 changed files with 3 additions and 6 deletions
|
@ -56,15 +56,16 @@ to the accounting file.
|
|||
*/
|
||||
typedef u_short comp_t;
|
||||
|
||||
#define AC_COMM_LEN 16
|
||||
struct acct {
|
||||
char ac_comm[10]; /* name of command */
|
||||
char ac_comm[AC_COMM_LEN]; /* command name */
|
||||
comp_t ac_utime; /* user time */
|
||||
comp_t ac_stime; /* system time */
|
||||
comp_t ac_etime; /* elapsed time */
|
||||
time_t ac_btime; /* starting time */
|
||||
uid_t ac_uid; /* user id */
|
||||
gid_t ac_gid; /* group id */
|
||||
short ac_mem; /* memory usage average */
|
||||
short ac_mem; /* average memory usage */
|
||||
comp_t ac_io; /* count of IO blocks */
|
||||
dev_t ac_tty; /* controlling tty */
|
||||
#define AFORK 0x01 /* forked but not execed */
|
||||
|
@ -80,10 +81,6 @@ struct acct {
|
|||
* This is not necessarily equal to hz.
|
||||
*/
|
||||
#define AHZ 64
|
||||
|
||||
#ifdef KERNEL
|
||||
struct vnode *acctp;
|
||||
#endif
|
||||
.Ed
|
||||
.Pp
|
||||
If a terminated process was created by an
|
||||
|
|
Loading…
Reference in a new issue