patch-1.3.73 linux/include/linux/acct.h
Next file: linux/include/linux/ax25.h
Previous file: linux/include/asm-sparc/termios.h
Back to the patch index
Back to the overall index
-  Lines: 30
 -  Date:
Mon Mar 11 09:39:34 1996
 -  Orig file: 
v1.3.72/linux/include/linux/acct.h
 -  Orig date: 
Thu Jan  1 02:00:00 1970
 
diff -u --recursive --new-file v1.3.72/linux/include/linux/acct.h linux/include/linux/acct.h
@@ -0,0 +1,29 @@
+#ifndef __LINUX_ACCT_H
+#define __LINUX_ACCT_H
+
+#define ACCT_COMM 16
+
+struct acct
+{
+	char	ac_comm[ACCT_COMM];	/* Accounting command name */
+	time_t	ac_utime;		/* Accounting user time */
+	time_t	ac_stime;		/* Accounting system time */
+	time_t	ac_etime;		/* Accounting elapsed time */
+	time_t	ac_btime;		/* Beginning time */
+	uid_t	ac_uid;			/* Accounting user ID */
+	gid_t	ac_gid;			/* Accounting group ID */
+	dev_t	ac_tty;			/* controlling tty */
+	char	ac_flag;		/* Accounting flag */
+	long	ac_minflt;		/* Accounting minor pagefaults */
+	long	ac_majflt;		/* Accounting major pagefaults */
+	long	ac_exitcode;		/* Accounting process exitcode */
+};
+
+#define AFORK	0001	/* has executed fork, but no exec */
+#define ASU	0002	/* used super-user privileges */
+#define ACORE	0004	/* dumped core */
+#define AXSIG	0010	/* killed by a signal */
+
+#define AHZ     100
+
+#endif
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov
with Sam's (original) version of this