From 430352cbbc8f00d30e1feae21073f45dbf0de0e5 Mon Sep 17 00:00:00 2001 From: mpp Date: Tue, 28 Jan 1997 06:53:19 +0000 Subject: [PATCH] Update to reflect current acct.h. --- share/man/man5/acct.5 | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/share/man/man5/acct.5 b/share/man/man5/acct.5 index 7cb4c3dbebc9..d6eccf40641e 100644 --- a/share/man/man5/acct.5 +++ b/share/man/man5/acct.5 @@ -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