File:  [CSRG BSD Unix] / 43BSDTahoe / man / man5 / acct.5
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs
Tue Apr 24 16:12:58 2018 UTC (8 years, 1 month ago) by root
Branches: MAIN, BSD
CVS tags: HEAD, BSD43tahoe
BSD 4.3tahoe

.\"	@(#)acct.5	6.2 (Berkeley) 5/19/86
.\"
.TH ACCT 5 "May 19, 1986"
.AT 3
.SH NAME
acct \- execution accounting file
.SH SYNOPSIS
.B #include <sys/acct.h>
.SH DESCRIPTION
The
.IR acct (2)
system call arranges for entries to be made 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 was created by 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)

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.