BSD 4_2 development
authorCSRG <csrg@ucbvax.Berkeley.EDU>
Fri, 4 Mar 1983 08:19:44 +0000 (00:19 -0800)
committerCSRG <csrg@ucbvax.Berkeley.EDU>
Fri, 4 Mar 1983 08:19:44 +0000 (00:19 -0800)
Work on file usr/man/man5/acct.5

Synthesized-from: CSRG/cd1/4.2

usr/man/man5/acct.5 [new file with mode: 0644]

diff --git a/usr/man/man5/acct.5 b/usr/man/man5/acct.5
new file mode 100644 (file)
index 0000000..d4db09d
--- /dev/null
@@ -0,0 +1,27 @@
+.TH ACCT 5 "15 January 1983"
+.SH NAME
+acct \- execution accounting file
+.SH SYNOPSIS
+.B #include <sys/acct.h>
+.SH DESCRIPTION
+The
+.IR acct (2)
+system call makes entries in an accounting file
+for each process that terminates.
+The accounting file is a sequence of entries whose layout,
+as defined by the include file is:
+.PP
+.nf
+.ta \w'typedef 'u +\w'ACOMPAT  'u +\w'ac_comm[10];   'u
+.so /usr/include/sys/acct.h
+.fi
+.PP
+If the process does an
+.IR execve (2),
+the first 10 characters of the filename appear in
+.I ac_comm.
+The accounting flag contains bits indicating whether
+.IR execve (2)
+was ever accomplished, and whether the process ever had super-user privileges.
+.SH SEE ALSO
+acct(2), execve(2), sa(8)